|
void | reset (IJsonHandler *pParent, CesiumUtility::ExtensibleObject *pObject) |
| Resets the current parent of this handler, and the current object being handled.
|
|
IJsonHandler * | readObjectKeySharedAsset (const std::string &objectType, const std::string_view &str, CesiumUtility::ExtensibleObject &o) |
| Reads a property of an ExtensibleObject from the JSON.
|
|
Protected Member Functions inherited from CesiumJsonReader::ExtensibleObjectJsonHandler |
void | reset (IJsonHandler *pParent, CesiumUtility::ExtensibleObject *pObject) |
| Resets the current parent of this handler, and the current object being handled.
|
|
IJsonHandler * | readObjectKeyExtensibleObject (const std::string &objectType, const std::string_view &str, CesiumUtility::ExtensibleObject &o) |
| Reads a property of an ExtensibleObject from the JSON.
|
|
Protected Member Functions inherited from CesiumJsonReader::ObjectJsonHandler |
virtual IJsonHandler * | StartSubObject () noexcept |
| Called when readObjectStart is called when the depth of the ObjectJsonHandler is greater than 0.
|
|
virtual IJsonHandler * | EndSubObject () noexcept |
| Called when readObjectEnd is called when the depth of the ObjectJsonHandler is greater than 0.
|
|
template<typename TAccessor , typename TProperty > |
IJsonHandler * | property (const char *currentKey, TAccessor &accessor, TProperty &value) |
| Called from IJsonHandler::readObjectKey to read a property into an object.
|
|
const char * | getCurrentKey () const noexcept |
| Obtains the most recent key handled by this JsonHandler.
|
|
virtual void | reportWarning (const std::string &warning, std::vector< std::string > &&context=std::vector< std::string >()) override |
| Report a warning while reading JSON.
|
|
void | setCurrentKey (const char *key) noexcept |
| Sets the most recent key handled by this JsonHandler.
|
|
Protected Member Functions inherited from CesiumJsonReader::JsonHandler |
void | reset (IJsonHandler *pParent) |
| Resets the parent IJsonHandler of this handler.
|
|
IJsonHandler * | parent () |
| Obtains the parent IJsonHandler of this handler.
|
|
IJsonHandler * | ignoreAndReturnToParent () |
| Ignore a single value and then return to the parent handler.
|
|
IJsonHandler * | ignoreAndContinue () |
| Ignore a single value and the continue processing more tokens with this handler.
|
|
IJsonHandler for SharedAsset values.
This is more or less the same as directly using ExtensibleObjectJsonHandler, and exists for compatibility with generated code.
Definition at line 19 of file SharedAssetJsonHandler.h.