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

Method empty

framework/src/util/AnyMap.cpp:793–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791 }
792
793 bool
794 any_map::empty() const
795 {
796 switch (type)
797 {
798 case map_type::ORDERED_MAP:
799 return o_m().empty();
800 case map_type::UNORDERED_MAP:
801 return uo_m().empty();
802 case map_type::UNORDERED_MAP_CASEINSENSITIVE_KEYS:
803 return uoci_m().empty();
804 default:
805 throw std::logic_error("invalid map type");
806 }
807 }
808
809 any_map::size_type
810 any_map::size() const

Callers 15

AddManifestFileMethod · 0.45
mainFunction · 0.45
runMethod · 0.45
mainFunction · 0.45
UnRegisterMethod · 0.45
serviceChangedMethod · 0.45
TEST_FFunction · 0.45
frame025aMethod · 0.45
frame037aMethod · 0.45
TEST_FFunction · 0.45
frame020aFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 15

UnRegisterMethod · 0.36
serviceChangedMethod · 0.36
TEST_FFunction · 0.36
frame025aMethod · 0.36
frame037aMethod · 0.36
TEST_FFunction · 0.36
frame020aFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
checkResourceInfoFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36