cesium-native 0.43.0
Loading...
Searching...
No Matches
PropertyTablePropertyReader.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/PropertyTableProperty.h>
6#include <CesiumGltfReader/Library.h>
7#include <CesiumJsonReader/JsonReader.h>
8#include <CesiumJsonReader/JsonReaderOptions.h>
9
10#include <rapidjson/fwd.h>
11
12#include <span>
13#include <vector>
14
15namespace CesiumGltf {
16struct PropertyTableProperty;
17} // namespace CesiumGltf
18
19namespace CesiumGltfReader {
20
25class CESIUMGLTFREADER_API PropertyTablePropertyReader {
26public:
31
36
41
49 readFromJson(const std::span<const std::byte>& data) const;
50
58 readFromJson(const rapidjson::Value& value) const;
59
68 std::vector<CesiumGltf::PropertyTableProperty>>
69 readArrayFromJson(const rapidjson::Value& value) const;
70
71private:
73};
74
75} // namespace CesiumGltfReader
Reads PropertyTableProperty instances from JSON.
CesiumJsonReader::ReadJsonResult< CesiumGltf::PropertyTableProperty > readFromJson(const rapidjson::Value &value) const
Reads an instance of PropertyTableProperty from a rapidJson::Value.
CesiumJsonReader::JsonReaderOptions & getOptions()
Gets the options controlling how the JSON is read.
PropertyTablePropertyReader()
Constructs a new instance.
CesiumJsonReader::ReadJsonResult< CesiumGltf::PropertyTableProperty > readFromJson(const std::span< const std::byte > &data) const
Reads an instance of PropertyTableProperty from a byte buffer.
const CesiumJsonReader::JsonReaderOptions & getOptions() const
Gets the options controlling how the JSON is read.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::PropertyTableProperty > > readArrayFromJson(const rapidjson::Value &value) const
Reads an array of instances of PropertyTableProperty from a rapidJson::Value.
Holds options for reading statically-typed data structures from JSON.
Classes for reading glTF models.
Definition GltfReader.h:24
Classes for working with glTF models.
The result of JsonReader::readJson.
Definition JsonReader.h:23