cesium-native 0.45.0
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CesiumGltfReader::ExtensionKhrImplicitShapesReader Class Reference

Reads ExtensionKhrImplicitShapes instances from JSON. More...

#include <CesiumGltfReader/ExtensionKhrImplicitShapesReader.h>

Public Member Functions

 ExtensionKhrImplicitShapesReader ()
 Constructs a new instance.
 
CesiumJsonReader::JsonReaderOptionsgetOptions ()
 Gets the options controlling how the JSON is read.
 
const CesiumJsonReader::JsonReaderOptionsgetOptions () const
 Gets the options controlling how the JSON is read.
 
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionKhrImplicitShapesreadFromJson (const std::span< const std::byte > &data) const
 Reads an instance of ExtensionKhrImplicitShapes from a byte buffer.
 
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionKhrImplicitShapesreadFromJson (const rapidjson::Value &value) const
 Reads an instance of ExtensionKhrImplicitShapes from a rapidJson::Value.
 
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionKhrImplicitShapes > > readArrayFromJson (const rapidjson::Value &value) const
 Reads an array of instances of ExtensionKhrImplicitShapes from a rapidJson::Value.
 

Detailed Description

Reads ExtensionKhrImplicitShapes instances from JSON.

Definition at line 25 of file ExtensionKhrImplicitShapesReader.h.

Member Function Documentation

◆ readArrayFromJson()

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

Reads an array of instances of ExtensionKhrImplicitShapes 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::ExtensionKhrImplicitShapes > CesiumGltfReader::ExtensionKhrImplicitShapesReader::readFromJson ( const rapidjson::Value & value) const

Reads an instance of ExtensionKhrImplicitShapes 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::ExtensionKhrImplicitShapes > CesiumGltfReader::ExtensionKhrImplicitShapesReader::readFromJson ( const std::span< const std::byte > & data) const

Reads an instance of ExtensionKhrImplicitShapes 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: