| 314 | } |
| 315 | |
| 316 | string AggregateValue::getValueString() const |
| 317 | { |
| 318 | if (_data.empty()) |
| 319 | return EMPTY_STRING; |
| 320 | |
| 321 | std::string result = "{"; |
| 322 | std::string separator = ""; |
| 323 | for (const auto& val : _data) |
| 324 | { |
| 325 | result += separator + val->getValueString(); |
| 326 | separator = ";"; |
| 327 | } |
| 328 | result += "}"; |
| 329 | |
| 330 | return result; |
| 331 | } |
| 332 | |
| 333 | bool AggregateValue::isEqual(ConstValuePtr other) const |
| 334 | { |