Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | 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.

Definition at line 46 of file CObject.h.

#include <mrpt/utils/CObject.h>

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. More...
const TRuntimeClassId *(* getBaseClass )()
 Gets the base class runtime id. More...

Member Function Documentation

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

Member Data Documentation

const char* mrpt::utils::TRuntimeClassId::className
const TRuntimeClassId*(* mrpt::utils::TRuntimeClassId::getBaseClass) ()

Gets the base class runtime id.

Definition at line 52 of file CObject.h.

Referenced by derivedFrom().

mrpt::utils::CObject*(* mrpt::utils::TRuntimeClassId::ptrCreateObject) ()

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

Definition at line 50 of file CObject.h.

Page generated by Doxygen 1.8.11 for MRPT 1.5.7 Git: 2190203 Tue May 15 02:01:15 2018 +0200 at miƩ may 16 12:40:16 CEST 2018