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

Method begin

framework/src/util/AnyMap.cpp:717–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715 any_map::~any_map() { destroy(); }
716
717 any_map::iterator
718 any_map::begin()
719 {
720 switch (type)
721 {
722 case map_type::ORDERED_MAP:
723 return { o_m().begin() };
724 case map_type::UNORDERED_MAP:
725 return { uo_m().begin(), iter::UNORDERED };
726 case map_type::UNORDERED_MAP_CASEINSENSITIVE_KEYS:
727 return { uoci_m().begin(), iter::UNORDERED_CI };
728 default:
729 throw std::logic_error("invalid map type");
730 }
731 }
732
733 any_map::const_iter
734 any_map::begin() const

Callers 15

mainFunction · 0.45
operator()Method · 0.45
runMethod · 0.45
StopMethod · 0.45
StartMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
testExistsFunction · 0.45
removeLineEndingsFunction · 0.45
testConcurrentAddRemoveFunction · 0.45

Calls

no outgoing calls

Tested by 15

StopMethod · 0.36
StartMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
testExistsFunction · 0.36
removeLineEndingsFunction · 0.36
testConcurrentAddRemoveFunction · 0.36
TEST_FFunction · 0.36
FindMethod · 0.36
TEST_FFunction · 0.36