cesium-native
0.41.0
ExtensibleObjectJsonHandler.h
1
#pragma once
2
3
#include "DictionaryJsonHandler.h"
4
#include "ExtensionsJsonHandler.h"
5
#include "JsonObjectJsonHandler.h"
6
#include "JsonReaderOptions.h"
7
#include "ObjectJsonHandler.h"
8
9
#include <CesiumUtility/ExtensibleObject.h>
10
#include <CesiumUtility/JsonValue.h>
11
12
namespace
CesiumJsonReader
{
13
14
class
ExtensibleObjectJsonHandler
:
public
CesiumJsonReader::ObjectJsonHandler
{
15
public
:
16
explicit
ExtensibleObjectJsonHandler
(
17
const
JsonReaderOptions
& context) noexcept;
18
19
protected
:
20
void
reset(
IJsonHandler
* pParent,
CesiumUtility::ExtensibleObject
* pObject);
21
IJsonHandler
* readObjectKeyExtensibleObject(
22
const
std::string& objectType,
23
const
std::string_view& str,
24
CesiumUtility::ExtensibleObject
& o);
25
26
private
:
27
CesiumJsonReader::DictionaryJsonHandler
<
28
CesiumUtility::JsonValue
,
29
CesiumJsonReader::JsonObjectJsonHandler
>
30
_extras;
31
ExtensionsJsonHandler
_extensions;
32
JsonObjectJsonHandler
_unknownProperties;
33
bool
_captureUnknownProperties;
34
};
35
}
// namespace CesiumJsonReader
CesiumJsonReader::DictionaryJsonHandler
Definition:
DictionaryJsonHandler.h:13
CesiumJsonReader::ExtensibleObjectJsonHandler
Definition:
ExtensibleObjectJsonHandler.h:14
CesiumJsonReader::ExtensionsJsonHandler
Definition:
ExtensionsJsonHandler.h:13
CesiumJsonReader::IJsonHandler
Definition:
IJsonHandler.h:11
CesiumJsonReader::JsonObjectJsonHandler
Definition:
JsonObjectJsonHandler.h:10
CesiumJsonReader::JsonReaderOptions
Holds options for reading statically-typed data structures from JSON.
Definition:
JsonReaderOptions.h:48
CesiumJsonReader::ObjectJsonHandler
Definition:
ObjectJsonHandler.h:9
CesiumUtility::JsonValue
A generic implementation of a value in a JSON structure.
Definition:
JsonValue.h:67
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
ExtensibleObjectJsonHandler.h
Generated by
1.9.1