cesium-native 0.43.0
Loading...
Searching...
No Matches
AvailabilityRectangleReader.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumJsonReader/JsonReader.h>
6#include <CesiumJsonReader/JsonReaderOptions.h>
7#include <CesiumQuantizedMeshTerrain/AvailabilityRectangle.h>
8#include <CesiumQuantizedMeshTerrain/Library.h>
9
10#include <rapidjson/fwd.h>
11
12#include <span>
13#include <vector>
14
16struct AvailabilityRectangle;
17} // namespace CesiumQuantizedMeshTerrain
18
20
25class CESIUMQUANTIZEDMESHTERRAIN_API AvailabilityRectangleReader {
26public:
31
36
41
50 readFromJson(const std::span<const std::byte>& data) const;
51
60 readFromJson(const rapidjson::Value& value) const;
61
70 std::vector<CesiumQuantizedMeshTerrain::AvailabilityRectangle>>
71 readArrayFromJson(const rapidjson::Value& value) const;
72
73private:
75};
76
77} // namespace CesiumQuantizedMeshTerrain
Holds options for reading statically-typed data structures from JSON.
Reads AvailabilityRectangle instances from JSON.
CesiumJsonReader::ReadJsonResult< CesiumQuantizedMeshTerrain::AvailabilityRectangle > readFromJson(const std::span< const std::byte > &data) const
Reads an instance of AvailabilityRectangle from a byte buffer.
const CesiumJsonReader::JsonReaderOptions & getOptions() const
Gets the options controlling how the JSON is read.
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.
CesiumJsonReader::JsonReaderOptions & getOptions()
Gets the options controlling how the JSON is read.
Classes for accessing terrain based on layer.json and quantized-mesh-1.0.
Definition Layer.h:12
The result of JsonReader::readJson.
Definition JsonReader.h:23