Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/serial2/serial.h>
Public Member Functions | |
AbstractType (CString name, AbstractType *base=&T_VOID) | |
void | initialize (void) |
virtual void | unserialize (Unserializer &unserializer, void *object)=0 |
virtual void | serialize (Serializer &serializer, const void *object)=0 |
Public Member Functions inherited from elm::AbstractClass | |
AbstractClass (CString name, AbstractClass *base=0) | |
virtual | ~AbstractClass (void) |
CString | name (void) const |
AbstractClass * | base (void) const |
virtual void * | instantiate (void)=0 |
bool | baseOf (AbstractClass *clazz) |
Static Public Member Functions | |
static AbstractType * | getType (CString name) |
Static Public Attributes | |
static AbstractType & | T_VOID = void_type |
Objects representing a type in the serialization module.
elm::serial2::AbstractType::AbstractType | ( | CString | name, |
AbstractType * | base = &T_VOID |
||
) |
Build an abstract type.
name | Type name (full name path with namespaces). |
base | Base type for a class. |
References elm::serial2::initializer.
|
static |
Find a type by its name.
name | Type name. |
References elm::serial2::types.
void elm::serial2::AbstractType::initialize | ( | void | ) |
For internal use only.
References elm::AbstractClass::name(), and elm::serial2::types.
|
pure virtual |
|
pure virtual |
|
static |
Void type representation.