cesium-native 0.43.0
|
Reads AvailabilityRectangle instances from JSON. More...
#include <CesiumQuantizedMeshTerrain/AvailabilityRectangleReader.h>
Public Member Functions | |
AvailabilityRectangleReader () | |
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< CesiumQuantizedMeshTerrain::AvailabilityRectangle > | readFromJson (const std::span< const std::byte > &data) const |
Reads an instance of AvailabilityRectangle from a byte buffer. | |
CesiumJsonReader::ReadJsonResult< CesiumQuantizedMeshTerrain::AvailabilityRectangle > | readFromJson (const rapidjson::Value &value) const |
Reads an instance of AvailabilityRectangle from a rapidJson::Value. | |
CesiumJsonReader::ReadJsonResult< std::vector< CesiumQuantizedMeshTerrain::AvailabilityRectangle > > | readArrayFromJson (const rapidjson::Value &value) const |
Reads an array of instances of AvailabilityRectangle from a rapidJson::Value. | |
Reads AvailabilityRectangle instances from JSON.
Definition at line 25 of file AvailabilityRectangleReader.h.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumQuantizedMeshTerrain::AvailabilityRectangle > > CesiumQuantizedMeshTerrain::AvailabilityRectangleReader::readArrayFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an array of instances of AvailabilityRectangle from a rapidJson::Value.
value | The value from which to read the array of instances. |
CesiumJsonReader::ReadJsonResult< CesiumQuantizedMeshTerrain::AvailabilityRectangle > CesiumQuantizedMeshTerrain::AvailabilityRectangleReader::readFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an instance of AvailabilityRectangle from a rapidJson::Value.
value | The value from which to read the instance. |
CesiumJsonReader::ReadJsonResult< CesiumQuantizedMeshTerrain::AvailabilityRectangle > CesiumQuantizedMeshTerrain::AvailabilityRectangleReader::readFromJson | ( | const std::span< const std::byte > & | data | ) | const |
Reads an instance of AvailabilityRectangle from a byte buffer.
data | The buffer from which to read the instance. |