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

Method size

framework/src/util/AnyMap.cpp:809–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807 }
808
809 any_map::size_type
810 any_map::size() const
811 {
812 switch (type)
813 {
814 case map_type::ORDERED_MAP:
815 return o_m().size();
816 case map_type::UNORDERED_MAP:
817 return uo_m().size();
818 case map_type::UNORDERED_MAP_CASEINSENSITIVE_KEYS:
819 return uoci_m().size();
820 default:
821 throw std::logic_error("invalid map type");
822 }
823 }
824
825 any_map::size_type
826 any_map::count(any_map::key_type const& key) const

Callers 15

AddManifestFileMethod · 0.45
mainFunction · 0.45
add_directoryMethod · 0.45
CheckSimple_unlockedMethod · 0.45
GetMethod · 0.45
BundleVersionMethod · 0.45
InitFilePathMethod · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36
UpdatedMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36