cesium-native 0.66.0
Loading...
Searching...
No Matches
CesiumGltfReader::ExtensionKhrImplicitShapesSphereReader Class Reference

Reads ExtensionKhrImplicitShapesSphere instances from JSON. More...

#include <CesiumGltfReader/ExtensionKhrImplicitShapesSphereReader.h>

Public Member Functions

 ExtensionKhrImplicitShapesSphereReader ()
 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::ExtensionKhrImplicitShapesSphere > readFromJson (const std::span< const std::byte > &data) const
 Reads an instance of ExtensionKhrImplicitShapesSphere from a byte buffer.
 
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionKhrImplicitShapesSphere > readFromJson (const rapidjson::Value &value) const
 Reads an instance of ExtensionKhrImplicitShapesSphere from a rapidJson::Value.
 
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionKhrImplicitShapesSphere > > readArrayFromJson (const rapidjson::Value &value) const
 Reads an array of instances of ExtensionKhrImplicitShapesSphere from a rapidJson::Value.
 

Detailed Description

Reads ExtensionKhrImplicitShapesSphere instances from JSON.

Definition at line 25 of file ExtensionKhrImplicitShapesSphereReader.h.

Member Function Documentation

◆ readArrayFromJson()

CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionKhrImplicitShapesSphere > > CesiumGltfReader::ExtensionKhrImplicitShapesSphereReader::readArrayFromJson ( const rapidjson::Value & value) const

Reads an array of instances of ExtensionKhrImplicitShapesSphere from a rapidJson::Value.

Parameters
valueThe value from which to read the array of instances.
Returns
The result of reading the array of instances.

◆ readFromJson() [1/2]

CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionKhrImplicitShapesSphere > CesiumGltfReader::ExtensionKhrImplicitShapesSphereReader::readFromJson ( const rapidjson::Value & value) const

Reads an instance of ExtensionKhrImplicitShapesSphere from a rapidJson::Value.

Parameters
valueThe value from which to read the instance.
Returns
The result of reading the instance.

◆ readFromJson() [2/2]

CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionKhrImplicitShapesSphere > CesiumGltfReader::ExtensionKhrImplicitShapesSphereReader::readFromJson ( const std::span< const std::byte > & data) const

Reads an instance of ExtensionKhrImplicitShapesSphere from a byte buffer.

Parameters
dataThe buffer from which to read the instance.
Returns
The result of reading the instance.

The documentation for this class was generated from the following file: