MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / find

Function find

include/behaviortree_cpp/contrib/json.hpp:19290–19300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19288 }
19289
19290 iterator find(const key_type& key)
19291 {
19292 for (auto it = this->begin(); it != this->end(); ++it)
19293 {
19294 if (m_compare(it->first, key))
19295 {
19296 return it;
19297 }
19298 }
19299 return Container::end();
19300 }
19301
19302 template<class KeyType, detail::enable_if_t<
19303 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0>

Callers 5

write_ubjsonMethod · 0.70
dump_floatFunction · 0.70
json.hppFile · 0.70
valueFunction · 0.70
findForbiddenCharFunction · 0.50

Calls 5

is_objectFunction · 0.85
cendFunction · 0.85
endFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected