| 328 | } |
| 329 | |
| 330 | std::vector<std::string> GetModelDescription(const TimelineModel& model) |
| 331 | { |
| 332 | std::vector<std::string> desc; |
| 333 | for (auto& entry : model.GetEntities()) |
| 334 | { |
| 335 | auto& entity = entry.second; |
| 336 | desc.push_back(GetEntityDescription(entity)); |
| 337 | for (auto& connection : entity.GetConnections()) |
| 338 | { |
| 339 | desc.push_back(GetConnectionDescription(connection)); |
| 340 | } |
| 341 | for (auto child : entity.GetChildren()) |
| 342 | { |
| 343 | desc.push_back(GetChildDescription(child)); |
| 344 | } |
| 345 | for (auto execution : entity.GetExecutions()) |
| 346 | { |
| 347 | desc.push_back(GetExecutionDescription(execution)); |
| 348 | } |
| 349 | for (auto event : entity.GetEvents()) |
| 350 | { |
| 351 | desc.push_back(GetEventDescription(event)); |
| 352 | } |
| 353 | } |
| 354 | return desc; |
| 355 | } |
| 356 | |
| 357 | std::string GetEntityDescription(const Entity& entity) |
| 358 | { |
no test coverage detected