MCPcopy Create free account
hub / github.com/SOUI2/soui / get

Method get

third-part/jsoncpp/src/lib_json/json_value.cpp:1093–1096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091}
1092
1093Value Value::get(ArrayIndex index, const Value& defaultValue) const {
1094 const Value* value = &((*this)[index]);
1095 return value == &nullSingleton() ? defaultValue : *value;
1096}
1097
1098bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
1099

Callers 5

check_no_pending_commitFunction · 0.45
find_programFunction · 0.45
JSONTEST_FIXTUREFunction · 0.45
generate_html_reportFunction · 0.45

Calls 5

findFunction · 0.50
getFunction · 0.50
dataMethod · 0.45
lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected