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

Method get

Source/Utils/ini.hpp:223–230  ·  view source on GitHub ↗

Get

Source from the content-addressed store, hash-verified

221
222 ///Get
223 value_t get(const key_t key, value_t def = value_t())
224 {
225 keysit_t it = current->find(key);
226 if (current == NULL || it == current->end())
227 return def;
228
229 return it->second;
230 }
231
232 value_t get(const section_t section, const key_t key, value_t def)
233 {

Callers 10

mainFunction · 0.45
DataNotFoundMethod · 0.45
tool_RandomGetMethod · 0.45
Mission_LoopMethod · 0.45
ProcessINIMethod · 0.45
startFunction · 0.45
abstract_valueMethod · 0.45
OptionValueClass · 0.45
add_optionMethod · 0.45
pushMethod · 0.45

Calls 4

value_tEnum · 0.85
getFunction · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected