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