MCPcopy Index your code
hub / github.com/Kitware/CMake / get

Method get

Utilities/cmjsoncpp/src/lib_json/json_value.cpp:1075–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073}
1074
1075Value Value::get(ArrayIndex index, const Value& defaultValue) const {
1076 const Value* value = &((*this)[index]);
1077 return value == &nullSingleton() ? defaultValue : *value;
1078}
1079
1080bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
1081

Callers 1

getCommentMethod · 0.45

Calls 5

lengthMethod · 0.80
findFunction · 0.50
getFunction · 0.50
strlenFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected