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

Represents a boolean array 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< PropertyArrayView< bool > > offset () const noexcept
 
std::optional< PropertyArrayView< bool > > scale () const noexcept
 
std::optional< PropertyArrayView< bool > > max () const noexcept
 
std::optional< PropertyArrayView< bool > > min () const noexcept
 
bool required () const noexcept
 
std::optional< PropertyArrayView< bool > > noData () const noexcept
 
std::optional< PropertyArrayView< 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 array metadata property in EXT_structural_metadata.

Definition at line 2077 of file PropertyView.h.

Constructor & Destructor Documentation

◆ PropertyView()

CesiumGltf::PropertyView< PropertyArrayView< 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 2128 of file PropertyView.h.

Member Function Documentation

◆ arrayCount()

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

Definition at line 2175 of file PropertyView.h.

◆ defaultValue()

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

Definition at line 2225 of file PropertyView.h.

◆ description()

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

Definition at line 2168 of file PropertyView.h.

◆ max()

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

Definition at line 2199 of file PropertyView.h.

◆ min()

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

Definition at line 2206 of file PropertyView.h.

◆ name()

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

Definition at line 2156 of file PropertyView.h.

◆ noData()

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

Definition at line 2218 of file PropertyView.h.

◆ normalized()

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

Definition at line 2180 of file PropertyView.h.

◆ offset()

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

Definition at line 2185 of file PropertyView.h.

◆ required()

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

Definition at line 2213 of file PropertyView.h.

◆ scale()

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

Definition at line 2192 of file PropertyView.h.

◆ semantic()

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

Definition at line 2161 of file PropertyView.h.

◆ status()

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

Definition at line 2151 of file PropertyView.h.


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