MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / getInt64OrDefault

Method getInt64OrDefault

CesiumUtility/src/JsonHelpers.cpp:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194int64_t JsonHelpers::getInt64OrDefault(
195 const rapidjson::Value& json,
196 const std::string& key,
197 int64_t defaultValue) {
198 const auto it = json.FindMember(key.c_str());
199 return it == json.MemberEnd()
200 ? defaultValue
201 : JsonHelpers::getInt64OrDefault(it->value, defaultValue);
202}
203
204int64_t JsonHelpers::getInt64OrDefault(
205 const rapidjson::Value& json,

Callers 3

loadTileContentMethod · 0.80
scaleWaterMaskFunction · 0.80

Calls 1

getInt64OrDefaultFunction · 0.85

Tested by

no test coverage detected