cesium-native 0.43.0
Loading...
Searching...
No Matches
IExtensionJsonHandler.h
1#pragma once
2
3#include "IJsonHandler.h"
4
5#include <CesiumUtility/ExtensibleObject.h>
6
7#include <any>
8#include <string_view>
9
10namespace CesiumJsonReader {
11
24public:
25 virtual ~IExtensionJsonHandler() noexcept = default;
30 virtual void reset(
31 IJsonHandler* pParentHandler,
33 const std::string_view& extensionName) = 0;
37 virtual IJsonHandler& getHandler() = 0;
38};
39
40} // namespace CesiumJsonReader
An interface for JSON handlers that handle extensions on ExtensibleObject types.
virtual IJsonHandler & getHandler()=0
Obtains an IJsonHandler from this IExtensionJsonHandler.
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.
Base interface for all JSON handlers. Types that need to be deserialized from JSON should implement I...
Classes for reading JSON.
The base class for objects that have extensions and extras.