#include <elm/serial2/serial.h>
|
| Class (CString name, const rtti::AbstractClass &base=type_of< B >().asClass()) |
|
void * | instantiate () const override |
|
void | free (void *obj) const override |
|
void | serialize (elm::serial2::Serializer &ser, const void *data) const override |
|
void | unserialize (Unserializer &uns, void *data) const override |
|
| AbstractClass (CString name, const rtti::AbstractClass &base) |
|
virtual bool | isSerial (void) const |
|
virtual const Serializable & | asSerial (void) const |
|
virtual const rtti::Type & | type (void) const |
|
| AbstractClass (CString name, const AbstractClass &base) |
|
| AbstractClass (const make &m) |
|
| AbstractClass (const make &m, const AbstractClass &base) |
|
const AbstractClass & | base (void) const |
|
bool | baseOf (const AbstractClass *clazz) |
|
virtual bool | isClass (void) const |
|
virtual const AbstractClass & | asClass (void) const |
|
virtual void * | upCast (void *ptr) const |
|
virtual void * | downCast (void *ptr) const |
|
virtual const Tuple * | toTuple () const |
|
void * | upCast (void *ptr, const AbstractClass &cls) const |
|
void * | downCast (void *ptr, const AbstractClass &cls) const |
|
const void * | upCast (const void *ptr) const |
|
const void * | downCast (const void *ptr) const |
|
const void * | upCast (const void *ptr, const AbstractClass &cls) const |
|
const void * | downCast (const void *ptr, const AbstractClass &cls) const |
|
const List< Operation * > & | operations (void) const |
|
const List< const Type * > | params (void) const |
|
| Type (string name="") |
|
virtual | ~Type (void) |
|
string | name (void) const |
|
const PointerType & | pointer (void) const |
|
virtual bool | canCast (const Type *t) const |
|
virtual bool | isVoid (void) const |
|
virtual bool | isBool (void) const |
|
virtual bool | isInt (void) const |
|
virtual bool | isFloat (void) const |
|
virtual bool | isPtr (void) const |
|
virtual const PointerType & | asPtr (void) const |
|
virtual bool | isEnum (void) const |
|
virtual const Enumerable & | asEnum (void) const |
|
virtual const TemplateType * | asTemplate (void) const |
|
virtual const InstanceType * | asInstance (void) const |
|
virtual const ParamType * | asParam (void) const |
|
void | initialize (void) |
|
bool | operator== (const Type &t) const |
|
bool | operator!= (const Type &t) const |
|
virtual | ~Serializable (void) |
|
◆ Class()
◆ free()
Free an object corresponding to the current class.
- Parameters
-
Implements AbstractClass.
◆ instantiate()
void* instantiate |
( |
| ) |
const |
|
inlineoverridevirtual |
Call this function to get a new allocated fresh object of the corresponding class. This function must be overridden to perform the actual allocation and the class must support constructor without any argument.
- Returns
- Allocated instance of class.
Implements AbstractClass.
◆ serialize()
◆ unserialize()
Unserialize the coming data from the unserializer to the place pointed by data. This place must be of the same type as the serializable type.
- Parameters
-
uns | Unserializer to get data from. |
data | Pointer to place to unserialize in. |
Implements Serializable.
References elm::serial2::__unserialize().
The documentation for this class was generated from the following file: