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

Method find

framework/src/util/AnyMap.cpp:946–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944 }
945
946 any_map::const_iterator
947 any_map::find(key_type const& key) const
948 {
949 switch (type)
950 {
951 case map_type::ORDERED_MAP:
952 return { o_m().find(key) };
953 case map_type::UNORDERED_MAP:
954 return { uo_m().find(key), const_iterator::UNORDERED };
955 case map_type::UNORDERED_MAP_CASEINSENSITIVE_KEYS:
956 return { uoci_m().find(key), const_iterator::UNORDERED_CI };
957 default:
958 throw std::logic_error("invalid map type");
959 }
960 }
961
962 any_map::ordered_any_map::const_iterator
963 any_map::beginOM_TypeChecked() const

Callers 15

modifyXMLFunction · 0.45
AddResourceFileMethod · 0.45
add_fileMethod · 0.45
streamOperatorTestFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
serviceEventOperatorTestFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 15

streamOperatorTestFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
serviceEventOperatorTestFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
manifest_from_cacheFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
EventMethod · 0.36