Inheritance diagram for lfc::RTTI::
Public Types | |
typedef short | ID |
Static Public Methods | |
template<class TYPE> void | registerClass (ID id, string className) |
template<class TYPE> void | unregisterClass () |
string | className (ID id) |
string | className (const Object &obj) |
ID | classID (string className) |
ID | classID (const Object &obj) |
template<class TYPE> TYPE * | newObject (ID id) |
template<class TYPE> TYPE * | newObject (string className) |
template<class TYPE> TYPE * | clone (const Object &obj) |
Protected Types | |
typedef Object *(* | InstanceFactory )() |
typedef Object *(* | CloneFactory )(const Object &) |
Static Protected Attributes | |
vector< ClassInfo > | s_registeredClasses |
make this thread safe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|