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
10
namespace
CesiumJsonReader
{
11
23
class
IExtensionJsonHandler
{
24
public
:
25
virtual
~IExtensionJsonHandler
()
noexcept
=
default
;
30
virtual
void
reset
(
31
IJsonHandler
* pParentHandler,
32
CesiumUtility::ExtensibleObject
& o,
33
const
std::string_view& extensionName) = 0;
37
virtual
IJsonHandler
&
getHandler
() = 0;
38
};
39
40
}
// namespace CesiumJsonReader
CesiumJsonReader::IExtensionJsonHandler
An interface for JSON handlers that handle extensions on ExtensibleObject types.
Definition
IExtensionJsonHandler.h:23
CesiumJsonReader::IExtensionJsonHandler::getHandler
virtual IJsonHandler & getHandler()=0
Obtains an IJsonHandler from this IExtensionJsonHandler.
CesiumJsonReader::IExtensionJsonHandler::reset
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.
CesiumJsonReader::IJsonHandler
Base interface for all JSON handlers. Types that need to be deserialized from JSON should implement I...
Definition
IJsonHandler.h:18
CesiumJsonReader
Classes for reading JSON.
Definition
ArrayJsonHandler.h:14
CesiumUtility::ExtensibleObject
The base class for objects that have extensions and extras.
Definition
ExtensibleObject.h:15
CesiumJsonReader
include
CesiumJsonReader
IExtensionJsonHandler.h
Generated by
1.12.0