| 90 | } |
| 91 | |
| 92 | [[nodiscard]] std::vector<std::string> |
| 93 | Event::GetPropertyNames() const |
| 94 | { |
| 95 | std::vector<std::string> props(properties.size()); |
| 96 | |
| 97 | size_t index = 0; |
| 98 | for (auto const& [key, value] : properties) |
| 99 | { |
| 100 | US_UNUSED(value); |
| 101 | props[index++] = key; |
| 102 | } |
| 103 | |
| 104 | return props; |
| 105 | } |
| 106 | |
| 107 | [[nodiscard]] std::string |
| 108 | Event::GetTopic() const |