| 355 | } |
| 356 | |
| 357 | std::string GetEntityDescription(const Entity& entity) |
| 358 | { |
| 359 | std::stringstream ss; |
| 360 | ss << "Entity [" << entity.GetGuid() << "]"; |
| 361 | for (auto& attributeEntry : entity.GetAttributes()) |
| 362 | { |
| 363 | if (LabelsAndEventClasses::PROCESS_ID_LABEL == attributeEntry.second.first) |
| 364 | { |
| 365 | ss << " " << attributeEntry.second.first << " = [processId]"; |
| 366 | } |
| 367 | else { |
| 368 | ss << " " << attributeEntry.second.first << " = " << attributeEntry.second.second; |
| 369 | } |
| 370 | } |
| 371 | return ss.str(); |
| 372 | } |
| 373 | |
| 374 | std::string GetChildDescription(Entity* entity) |
| 375 | { |
no test coverage detected