Assimp  v4.1. (December 2018)
glTF2::Ref< T > Class Template Reference

A reference to one top-level object, which is valid until the Asset instance is destroyed. More...

Public Member Functions

unsigned int GetIndex () const
 
 operator bool () const
 
T & operator* ()
 
T * operator-> ()
 
 Ref ()
 
 Ref (std::vector< T * > &vec, unsigned int idx)
 

Detailed Description

template<class T>
class glTF2::Ref< T >

A reference to one top-level object, which is valid until the Asset instance is destroyed.

Constructor & Destructor Documentation

◆ Ref() [1/2]

template<class T>
glTF2::Ref< T >::Ref ( )
inline

◆ Ref() [2/2]

template<class T>
glTF2::Ref< T >::Ref ( std::vector< T * > &  vec,
unsigned int  idx 
)
inline

Member Function Documentation

◆ GetIndex()

template<class T>
unsigned int glTF2::Ref< T >::GetIndex ( ) const
inline

◆ operator bool()

template<class T>
glTF2::Ref< T >::operator bool ( ) const
inline

◆ operator*()

template<class T>
T& glTF2::Ref< T >::operator* ( )
inline

◆ operator->()

template<class T>
T* glTF2::Ref< T >::operator-> ( )
inline

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