#include <ClassInfo.h>


Public Member Functions | |
| 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 void * | dynamicCast (Base *obj) const =0 |
| virtual bool | isInstance (Base *obj) const |
Protected Member Functions | |
| ClassInfo (const std::type_info *ti) | |
| virtual | ~ClassInfo () |
Protected Attributes | |
| const std::type_info * | pt |
Static Protected Attributes | |
| static std::map < sofa::helper::TypeInfo, ClassInfo * > | classes |
This class contains reflection-like features to analyse a class deriving from Base
Definition at line 57 of file ClassInfo.h.
| sofa::core::objectmodel::ClassInfo::ClassInfo | ( | const std::type_info * | ti | ) | [inline, protected] |
| virtual sofa::core::objectmodel::ClassInfo::~ClassInfo | ( | ) | [inline, protected, virtual] |
Definition at line 67 of file ClassInfo.h.
| virtual void* sofa::core::objectmodel::ClassInfo::dynamicCast | ( | Base * | obj | ) | const [pure virtual] |
Implemented in sofa::core::objectmodel::TClassInfo< T >.
Referenced by sofa::simulation::tree::GNode::getObject(), and sofa::simulation::tree::GNode::getObjects().
Definition at line 85 of file ClassInfo.h.
| std::string sofa::core::objectmodel::ClassInfo::name | ( | ) | const [inline] |
Definition at line 72 of file ClassInfo.h.
References pt.
Referenced by sofa::simulation::tree::GNode::getObject().
| sofa::core::objectmodel::ClassInfo::operator const std::type_info & | ( | ) | const [inline] |
| helper::TypeInfo sofa::core::objectmodel::ClassInfo::type | ( | ) | const [inline] |
Definition at line 74 of file ClassInfo.h.
Referenced by sofa::core::componentmodel::collision::IntersectorMap::add(), and sofa::core::componentmodel::collision::IntersectorMap::ignore().
std::map< sofa::helper::TypeInfo, ClassInfo * > sofa::core::objectmodel::ClassInfo::classes [static, protected] |
const std::type_info* sofa::core::objectmodel::ClassInfo::pt [protected] |
Definition at line 60 of file ClassInfo.h.
Referenced by name(), operator const std::type_info &(), operator!=(), operator<(), and operator==().
1.5.7.1