Main MRPT website > C++ reference
MRPT logo

mrpt::utils::TRuntimeClassId Struct Reference

A structure that holds runtime class type information. More...

#include <mrpt/utils/CObject.h>

Collaboration diagram for mrpt::utils::TRuntimeClassId:
Collaboration graph
[legend]

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.

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 56 of file CObject.h.


Member Function Documentation

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

Member Data Documentation

Definition at line 58 of file CObject.h.

Gets the base class runtime id.

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010