MRPT logo
Public Member Functions | Static Public Member Functions | Public Attributes

mrpt::utils::TRuntimeClassId Struct Reference

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

#include <mrpt/utils/CSerializable.h>

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

List of all members.

Public Member Functions

CSerializable * createObject () const
bool derivedFrom (const TRuntimeClassId *pBaseClass) const
bool derivedFrom (const char *pBaseClass_name) const
void writeTo (mrpt::utils::CStream &out) const

Static Public Member Functions

static const TRuntimeClassId * loadFrom (mrpt::utils::CStream &in)

Public Attributes

const char * className
int objectSize
CSerializable *(* 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 50 of file CSerializable.h.


Member Function Documentation

CSerializable* mrpt::utils::TRuntimeClassId::createObject (  )  const
bool mrpt::utils::TRuntimeClassId::derivedFrom ( const TRuntimeClassId *  pBaseClass  )  const
bool mrpt::utils::TRuntimeClassId::derivedFrom ( const char *  pBaseClass_name  )  const
static const TRuntimeClassId* mrpt::utils::TRuntimeClassId::loadFrom ( mrpt::utils::CStream &  in  )  [static]
void mrpt::utils::TRuntimeClassId::writeTo ( mrpt::utils::CStream &  out  )  const

Member Data Documentation

Definition at line 52 of file CSerializable.h.

Gets the base class runtime id.

Definition at line 59 of file CSerializable.h.

Definition at line 53 of file CSerializable.h.

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

Definition at line 56 of file CSerializable.h.




Page generated by Doxygen 1.7.1 for MRPT 0.8.1 SVN:exported at Sun Sep 19 14:53:45 UTC 2010