MCPcopy Create free account
hub / github.com/Kitware/VTK / get

Method get

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:3513–3516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3511}
3512
3513Value Value::get(ArrayIndex index, const Value& defaultValue) const {
3514 const Value* value = &((*this)[index]);
3515 return value == &nullSingleton() ? defaultValue : *value;
3516}
3517
3518bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3519

Callers 15

XdmfReaderNewFunction · 0.45
XdmfRegularGridNew2DFunction · 0.45
XdmfRegularGridNew3DFunction · 0.45
XdmfRegularGridNewFunction · 0.45
XdmfRegularGridGetOriginFunction · 0.45
XdmfAggregateNewFunction · 0.45
XdmfAggregateGetArrayFunction · 0.45
XdmfGridCollectionNewFunction · 0.45
DuplicatePointerMethod · 0.45

Calls 4

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

Tested by

no test coverage detected