#include <mrpt/utils/CSerializable.h>
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. |
Use CLASS_ID(<class_name>) to get a reference to the class_name's TRuntimeClassId descriptor.
Definition at line 50 of file CSerializable.h.
CSerializable* mrpt::utils::TRuntimeClassId::createObject | ( | ) | const |
bool mrpt::utils::TRuntimeClassId::derivedFrom | ( | const char * | pBaseClass_name | ) | 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 |
const char* mrpt::utils::TRuntimeClassId::className |
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.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 23:02:22 EDT 2009 |