MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / get

Method get

Source/JSON/jsoncpp.cpp:3149–3152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3147}
3148
3149Value Value::get(ArrayIndex index, const Value& defaultValue) const {
3150 const Value* value = &((*this)[index]);
3151 return value == &nullRef ? defaultValue : *value;
3152}
3153
3154bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3155

Callers 15

LipSyncSystemMethod · 0.45
PhysicsDisposeMethod · 0.45
setAirWhooshMethod · 0.45
DrawMethod · 0.45
PlaceLightProbesFunction · 0.45
RunUnitTestsFunction · 0.45
ASGetConvexHullPointsFunction · 0.45
UpdatePausedMethod · 0.45
AboutToBeHitByItemMethod · 0.45
SetRotationFromFacingMethod · 0.45
CreateRiggedObjectMethod · 0.45
CDrawArmsFunction · 0.45

Calls 5

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

Tested by 1

RunUnitTestsFunction · 0.36