|
cesium-native 0.52.0
|
Reads EnumValue instances from JSON. More...
#include <CesiumGltfReader/EnumValueReader.h>
Public Member Functions | |
| EnumValueReader () | |
| Constructs a new instance. | |
| CesiumJsonReader::JsonReaderOptions & | getOptions () |
| Gets the options controlling how the JSON is read. | |
| const CesiumJsonReader::JsonReaderOptions & | getOptions () const |
| Gets the options controlling how the JSON is read. | |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::EnumValue > | readFromJson (const std::span< const std::byte > &data) const |
| Reads an instance of EnumValue from a byte buffer. | |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::EnumValue > | readFromJson (const rapidjson::Value &value) const |
| Reads an instance of EnumValue from a rapidJson::Value. | |
| CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::EnumValue > > | readArrayFromJson (const rapidjson::Value &value) const |
| Reads an array of instances of EnumValue from a rapidJson::Value. | |
Reads EnumValue instances from JSON.
Definition at line 24 of file EnumValueReader.h.
| CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::EnumValue > > CesiumGltfReader::EnumValueReader::readArrayFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an array of instances of EnumValue from a rapidJson::Value.
| value | The value from which to read the array of instances. |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::EnumValue > CesiumGltfReader::EnumValueReader::readFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an instance of EnumValue from a rapidJson::Value.
| value | The value from which to read the instance. |
| CesiumJsonReader::ReadJsonResult< CesiumGltf::EnumValue > CesiumGltfReader::EnumValueReader::readFromJson | ( | const std::span< const std::byte > & | data | ) | const |
Reads an instance of EnumValue from a byte buffer.
| data | The buffer from which to read the instance. |