cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltf::StatusFromAccessor Struct Reference

Visitor that retrieves the status from the given accessor. Returns an invalid status for a std::monostate (interpreted as a nonexistent accessor). More...

#include <CesiumGltf/AccessorUtility.h>

Public Member Functions

AccessorViewStatus operator() (std::monostate)
 Attempts to obtain an AccessorViewStatus from an empty accessor variant, resulting in AccessorViewStatus::InvalidAccessorIndex.
 
template<typename T >
AccessorViewStatus operator() (const AccessorView< T > &value)
 Attempts to obtain an AccessorViewStatus from an AccessorView.
 

Detailed Description

Visitor that retrieves the status from the given accessor. Returns an invalid status for a std::monostate (interpreted as a nonexistent accessor).

Definition at line 32 of file AccessorUtility.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
AccessorViewStatus CesiumGltf::StatusFromAccessor::operator() ( const AccessorView< T > & value)
inline

Attempts to obtain an AccessorViewStatus from an AccessorView.

Definition at line 43 of file AccessorUtility.h.

◆ operator()() [2/2]

AccessorViewStatus CesiumGltf::StatusFromAccessor::operator() ( std::monostate )
inline

Attempts to obtain an AccessorViewStatus from an empty accessor variant, resulting in AccessorViewStatus::InvalidAccessorIndex.

Definition at line 36 of file AccessorUtility.h.


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