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

Method clear

framework/src/util/AnyMap.cpp:841–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839 }
840
841 void
842 any_map::clear()
843 {
844 switch (type)
845 {
846 case map_type::ORDERED_MAP:
847 return o_m().clear();
848 case map_type::UNORDERED_MAP:
849 return uo_m().clear();
850 case map_type::UNORDERED_MAP_CASEINSENSITIVE_KEYS:
851 return uoci_m().clear();
852 default:
853 throw std::logic_error("invalid map type");
854 }
855 }
856
857 any_map::mapped_type&
858 any_map::at(key_type const& key)

Callers 15

mainFunction · 0.45
clearEventsMethod · 0.45
TEST_FFunction · 0.45
frame040cFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
EventMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
FindMethod · 0.45

Calls

no outgoing calls

Tested by 15

clearEventsMethod · 0.36
TEST_FFunction · 0.36
frame040cFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
EventMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
FindMethod · 0.36
TEST_FFunction · 0.36