cesium-native  0.41.0
CesiumGltf::PropertyView< bool > Class Reference

Represents a boolean metadata property in EXT_structural_metadata. More...

#include <CesiumGltf/PropertyView.h>

Public Member Functions

 PropertyView ()
 Constructs an empty property instance.
 
 PropertyView (const ClassProperty &classProperty)
 Constructs a property instance from a class definition only.
 
PropertyViewStatusType status () const noexcept
 
const std::optional< std::string > & name () const noexcept
 
const std::optional< std::string > & semantic () const noexcept
 
const std::optional< std::string > & description () const noexcept
 
int64_t arrayCount () const noexcept
 
bool normalized () const noexcept
 
std::optional< bool > offset () const noexcept
 
std::optional< bool > scale () const noexcept
 
std::optional< bool > max () const noexcept
 
std::optional< bool > min () const noexcept
 
bool required () const noexcept
 
std::optional< bool > noData () const noexcept
 
std::optional< bool > defaultValue () const noexcept
 

Protected Member Functions

 PropertyView (PropertyViewStatusType status)
 Constructs an invalid instance for an erroneous property. More...
 
 PropertyView (const ClassProperty &classProperty, const PropertyTableProperty &)
 Constructs a property instance from a property table property and its class definition.
 

Protected Attributes

PropertyViewStatusType _status
 

Detailed Description

Represents a boolean metadata property in EXT_structural_metadata.

Definition at line 959 of file PropertyView.h.

Constructor & Destructor Documentation

◆ PropertyView()

CesiumGltf::PropertyView< bool >::PropertyView ( PropertyViewStatusType  status)
inlineprotected

Constructs an invalid instance for an erroneous property.

Parameters
statusThe value of PropertyViewStatus indicating the error with the property.

Definition at line 1005 of file PropertyView.h.

Member Function Documentation

◆ arrayCount()

int64_t CesiumGltf::PropertyView< bool >::arrayCount ( ) const
inlinenoexcept

Definition at line 1050 of file PropertyView.h.

◆ defaultValue()

std::optional<bool> CesiumGltf::PropertyView< bool >::defaultValue ( ) const
inlinenoexcept

Definition at line 1090 of file PropertyView.h.

◆ description()

const std::optional<std::string>& CesiumGltf::PropertyView< bool >::description ( ) const
inlinenoexcept

Definition at line 1043 of file PropertyView.h.

◆ max()

std::optional<bool> CesiumGltf::PropertyView< bool >::max ( ) const
inlinenoexcept

Definition at line 1070 of file PropertyView.h.

◆ min()

std::optional<bool> CesiumGltf::PropertyView< bool >::min ( ) const
inlinenoexcept

Definition at line 1075 of file PropertyView.h.

◆ name()

const std::optional<std::string>& CesiumGltf::PropertyView< bool >::name ( ) const
inlinenoexcept

Definition at line 1031 of file PropertyView.h.

◆ noData()

std::optional<bool> CesiumGltf::PropertyView< bool >::noData ( ) const
inlinenoexcept

Definition at line 1085 of file PropertyView.h.

◆ normalized()

bool CesiumGltf::PropertyView< bool >::normalized ( ) const
inlinenoexcept

Definition at line 1055 of file PropertyView.h.

◆ offset()

std::optional<bool> CesiumGltf::PropertyView< bool >::offset ( ) const
inlinenoexcept

Definition at line 1060 of file PropertyView.h.

◆ required()

bool CesiumGltf::PropertyView< bool >::required ( ) const
inlinenoexcept

Definition at line 1080 of file PropertyView.h.

◆ scale()

std::optional<bool> CesiumGltf::PropertyView< bool >::scale ( ) const
inlinenoexcept

Definition at line 1065 of file PropertyView.h.

◆ semantic()

const std::optional<std::string>& CesiumGltf::PropertyView< bool >::semantic ( ) const
inlinenoexcept

Definition at line 1036 of file PropertyView.h.

◆ status()

PropertyViewStatusType CesiumGltf::PropertyView< bool >::status ( ) const
inlinenoexcept

Definition at line 1026 of file PropertyView.h.


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