MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / find

Function find

Source/Utils/json.hpp:20811–20821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20809 */
20810 template<typename KeyT>
20811 iterator find(KeyT&& key)
20812 {
20813 auto result = end();
20814
20815 if (is_object())
20816 {
20817 result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
20818 }
20819
20820 return result;
20821 }
20822
20823 /*!
20824 @brief find an element in a JSON object

Callers 9

hasGfxMethod · 0.85
hasTilesetMethod · 0.85
GetCampaignNamesMethod · 0.85
AddGoalMethod · 0.85
RemoveGoalMethod · 0.85
dump_floatMethod · 0.85
valueFunction · 0.85
CheckRadiusTileIDMethod · 0.85
CheckRadiusFeaturesMethod · 0.85

Calls 4

is_objectFunction · 0.85
cendFunction · 0.85
findMethod · 0.80
endFunction · 0.70

Tested by

no test coverage detected