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

Method readObjectKey

CesiumJsonReader/src/ExtensionsJsonHandler.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23IJsonHandler*
24ExtensionsJsonHandler::readObjectKey(const std::string_view& str) {
25 this->_currentExtensionHandler =
26 this->_context.createExtensionHandler(str, this->_objectType);
27 if (this->_currentExtensionHandler) {
28 this->_currentExtensionHandler->reset(this, *this->_pObject, str);
29 return &this->_currentExtensionHandler->getHandler();
30 } else {
31 return this->ignoreAndContinue();
32 }
33}
34} // namespace CesiumJsonReader

Callers

nothing calls this directly

Calls 3

ignoreAndContinueMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected