Assimp  v3.1.1 (June 2014)
Assimp::STEP::LazyObject Class Reference

A LazyObject is created when needed. More...

Public Member Functions

uint64_t GetID () const
 
 LazyObject (DB &db, uint64_t id, uint64_t line, const char *type, const char *args)
 
Objectoperator * ()
 
const Objectoperator * () const
 
Objectoperator -> ()
 
const Objectoperator -> () const
 
bool operator!= (const std::string &atype) const
 
bool operator== (const std::string &atype) const
 
template<typename T >
const T & To () const
 
template<typename T >
T & To ()
 
template<typename T >
const T * ToPtr () const
 
template<typename T >
T * ToPtr ()
 
 ~LazyObject ()
 

Friends

class DB
 

Detailed Description

A LazyObject is created when needed.

Before this happens, we just keep the text line that contains the object definition.

Constructor & Destructor Documentation

◆ LazyObject()

STEP::LazyObject::LazyObject ( DB db,
uint64_t  id,
uint64_t  line,
const char *  type,
const char *  args 
)

◆ ~LazyObject()

STEP::LazyObject::~LazyObject ( )

Member Function Documentation

◆ GetID()

uint64_t Assimp::STEP::LazyObject::GetID ( ) const
inline

◆ operator *() [1/2]

Object& Assimp::STEP::LazyObject::operator * ( )
inline

◆ operator *() [2/2]

const Object& Assimp::STEP::LazyObject::operator * ( ) const
inline

◆ operator ->() [1/2]

Object* Assimp::STEP::LazyObject::operator -> ( )
inline

◆ operator ->() [2/2]

const Object* Assimp::STEP::LazyObject::operator -> ( ) const
inline

◆ operator!=()

bool Assimp::STEP::LazyObject::operator!= ( const std::string &  atype) const
inline

◆ operator==()

bool Assimp::STEP::LazyObject::operator== ( const std::string &  atype) const
inline

◆ To() [1/2]

template<typename T >
const T& Assimp::STEP::LazyObject::To ( ) const
inline

◆ To() [2/2]

template<typename T >
T& Assimp::STEP::LazyObject::To ( )
inline

◆ ToPtr() [1/2]

template<typename T >
const T* Assimp::STEP::LazyObject::ToPtr ( ) const
inline

◆ ToPtr() [2/2]

template<typename T >
T* Assimp::STEP::LazyObject::ToPtr ( )
inline

Friends And Related Function Documentation

◆ DB

friend class DB
friend

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