Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes
mrpt::utils::TRuntimeClassId Struct Reference

Detailed Description

A structure that holds runtime class type information.

Use CLASS_ID(<class_name>) to get a reference to the class_name's TRuntimeClassId descriptor.

#include <mrpt/utils/CObject.h>

List of all members.

Public Member Functions

mrpt::utils::CObjectcreateObject () const
bool derivedFrom (const TRuntimeClassId *pBaseClass) const
bool derivedFrom (const char *pBaseClass_name) const

Public Attributes

const char * className
mrpt::utils::CObject *(* ptrCreateObject )()
 Create an object of the related class, or NULL if it is virtual.
const TRuntimeClassId *(* getBaseClass )()
 Gets the base class runtime id.

Member Function Documentation

mrpt::utils::CObject* mrpt::utils::TRuntimeClassId::createObject ( ) const
bool mrpt::utils::TRuntimeClassId::derivedFrom ( const TRuntimeClassId pBaseClass) const
bool mrpt::utils::TRuntimeClassId::derivedFrom ( const char *  pBaseClass_name) const

Member Data Documentation

Definition at line 63 of file CObject.h.

Gets the base class runtime id.

Definition at line 67 of file CObject.h.

Create an object of the related class, or NULL if it is virtual.

Definition at line 65 of file CObject.h.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011