SOFA API  cd4ffb93
Open source framework for multi-physics simuation
sofa::core::objectmodel::TClassInfo< T > Class Template Reference

#include <ClassInfo.h>

Inheritance diagram for sofa::core::objectmodel::TClassInfo< T >:

Public Member Functions

virtual void * dynamicCast (Base *obj) const
 
- Public Member Functions inherited from sofa::core::objectmodel::ClassInfo
std::string name () const
 
 operator const std::type_info & () const
 
helper::TypeInfo type () const
 
bool operator== (const ClassInfo &t) const
 
bool operator!= (const ClassInfo &t) const
 
bool operator< (const ClassInfo &t) const
 
virtual bool isInstance (Base *obj) const
 

Static Public Member Functions

static TClassInfo< T > & get ()
 

Protected Member Functions

 TClassInfo ()
 
- Protected Member Functions inherited from sofa::core::objectmodel::ClassInfo
 ClassInfo (const std::type_info *ti)
 
virtual ~ClassInfo ()
 

Additional Inherited Members

- Protected Attributes inherited from sofa::core::objectmodel::ClassInfo
const std::type_info * pt
 
- Static Protected Attributes inherited from sofa::core::objectmodel::ClassInfo
static std::map< sofa::helper::TypeInfo, ClassInfo * > classes
 

Constructor details

◆ TClassInfo()

template<class T >
sofa::core::objectmodel::TClassInfo< T >::TClassInfo ( )
inlineprotected

Function details

◆ dynamicCast()

template<class T >
virtual void* sofa::core::objectmodel::TClassInfo< T >::dynamicCast ( Base obj) const
inlinevirtual

◆ get()

template<class T >
static TClassInfo<T>& sofa::core::objectmodel::TClassInfo< T >::get ( )
inlinestatic