cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumJsonReader::IExtensionJsonHandler Class Referenceabstract

An interface for JSON handlers that handle extensions on ExtensibleObject types. More...

#include <CesiumJsonReader/IExtensionJsonHandler.h>

Public Member Functions

virtual void reset (IJsonHandler *pParentHandler, CesiumUtility::ExtensibleObject &o, const std::string_view &extensionName)=0
 Resets this IExtensionJsonHandler's parent handler, destination object, and extension name.
 
virtual IJsonHandlergetHandler ()=0
 Obtains an IJsonHandler from this IExtensionJsonHandler.
 

Detailed Description

An interface for JSON handlers that handle extensions on ExtensibleObject types.

Usually, this will be a handler deriving from ExtensionsJsonHandler that handles the specific extension found in the JSON. However, unknown extensions are read by a special IExtensionJsonHandler returned by JsonReaderOptions::createExtensionHandler, which reads the extension into the ExtensibleObject's extensions map as a JsonValue.

Definition at line 23 of file IExtensionJsonHandler.h.


The documentation for this class was generated from the following file: