MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / GetPropertyNames

Method GetPropertyNames

compendium/EM/src/Event.cpp:92–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64