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

Method doneElement

CesiumJsonReader/src/JsonObjectJsonHandler.cpp:134–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134IJsonHandler* JsonObjectJsonHandler::doneElement() {
135 CesiumUtility::JsonValue& current = *this->_stack.back();
136 CesiumUtility::JsonValue::Array* pArray =
137 std::get_if<CesiumUtility::JsonValue::Array>(&current.value);
138 if (!pArray) {
139 this->_stack.pop_back();
140 return this->_stack.empty() ? this->parent() : this;
141 }
142 return this;
143}
144} // namespace CesiumJsonReader

Callers 9

readNullMethod · 0.95
readBoolMethod · 0.95
readInt32Method · 0.95
readUint32Method · 0.95
readInt64Method · 0.95
readUint64Method · 0.95
readDoubleMethod · 0.95
readStringMethod · 0.95
readObjectEndMethod · 0.95

Calls 2

backMethod · 0.80
parentMethod · 0.45

Tested by

no test coverage detected