MRPT logo

mrpt::utils::TRuntimeClassId Struct Reference

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

#include <mrpt/utils/CSerializable.h>

List of all members.

Public Member Functions

CSerializablecreateObject () const
bool derivedFrom (const TRuntimeClassId *pBaseClass) const
void writeTo (mrpt::utils::CStream &out) const

Static Public Member Functions

static const TRuntimeClassIdloadFrom (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

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 53 of file CSerializable.h.

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




Page generated by Doxygen 1.5.9 for MRPT 0.6.5 SVN:exported at Thu May 21 04:14:55 UTC 2009