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>
Public Member Functions | |
mrpt::utils::CObject * | createObject () 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. | |
mrpt::utils::CObject * mrpt::utils::TRuntimeClassId::createObject | ( | ) | const |
bool mrpt::utils::TRuntimeClassId::derivedFrom | ( | const char * | pBaseClass_name | ) | const |
bool mrpt::utils::TRuntimeClassId::derivedFrom | ( | const TRuntimeClassId * | pBaseClass | ) | const |
const TRuntimeClassId *(* mrpt::utils::TRuntimeClassId::getBaseClass) () |
mrpt::utils::CObject *(* mrpt::utils::TRuntimeClassId::ptrCreateObject) () |
Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Thu Dec 14 17:13:25 UTC 2023 |