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

Method GetProperty

compendium/EM/src/Event.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 [[nodiscard]] Any const
75 Event::GetProperty(std::string const& propName) const
76 {
77 auto itr = properties.find(propName);
78 if (itr == properties.end())
79 {
80 return Any();
81 }
82
83 return itr->second;
84 }
85
86 [[nodiscard]] AnyMap const
87 Event::GetProperties() const

Callers 11

TESTFunction · 0.45
GetServiceIdFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
ToDTOFunction · 0.45
operator()Method · 0.45
AddingServiceMethod · 0.45
GetServiceIdMethod · 0.45
ServiceChangedMethod · 0.45

Calls 3

AnyClass · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by 5

TESTFunction · 0.36
GetServiceIdFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36