Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
DataSerializer< C, T > Class Template Reference

#include <elm/serial2/data.h>

+ Inheritance diagram for DataSerializer< C, T >:

Public Member Functions

 DataSerializer (void)
 
virtual voidinstantiate (void) const
 
virtual void unserialize (Unserializer &unserializer, void *object)
 
virtual void serialize (Serializer &serializer, const void *object)
 
- Public Member Functions inherited from Type
 Type (string name="")
 
virtual ~Type (void)
 
string name (void) const
 
const PointerTypepointer (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 PointerTypeasPtr (void) const
 
virtual bool isClass (void) const
 
virtual const AbstractClassasClass (void) const
 
virtual bool isEnum (void) const
 
virtual const EnumerableasEnum (void) const
 
virtual bool isSerial (void) const
 
virtual const SerializableasSerial (void) const
 
virtual const TemplateTypeasTemplate (void) const
 
virtual const InstanceTypeasInstance (void) const
 
virtual const ParamTypeasParam (void) const
 
void initialize (void)
 
bool operator== (const Type &t) const
 
bool operator!= (const Type &t) const
 

Static Public Member Functions

static rtti::Typetype (void)
 
static rtti::Typetype (const C &v)
 
static void serialize (Serializer &s, const C &v)
 
static void unserialize (Unserializer &s, C &v)
 
- Static Public Member Functions inherited from Type
static const Typeget (string name)
 
static TypeIter types (void)
 

Static Public Attributes

static DataSerializer __type
 
- Static Public Attributes inherited from Type
static const Typeparam0
 
static const Typeparam1
 
static const Typeparam2
 
static const Typeparam3
 

Additional Inherited Members

- Public Types inherited from Type
typedef HashMap< string, const Type * >::Iter TypeIter
 

Constructor & Destructor Documentation

◆ DataSerializer()

DataSerializer ( void  )
inline

Member Function Documentation

◆ instantiate()

virtual void* instantiate ( void  ) const
inlinevirtual

◆ serialize() [1/2]

static void serialize ( Serializer s,
const C &  v 
)
inlinestatic

◆ serialize() [2/2]

virtual void serialize ( Serializer serializer,
const void object 
)
inlinevirtual

◆ type() [1/2]

static rtti::Type& type ( const C &  v)
inlinestatic

◆ type() [2/2]

static rtti::Type& type ( void  )
inlinestatic

◆ unserialize() [1/2]

static void unserialize ( Unserializer s,
C &  v 
)
inlinestatic

◆ unserialize() [2/2]

virtual void unserialize ( Unserializer unserializer,
void object 
)
inlinevirtual

Member Data Documentation

◆ __type


The documentation for this class was generated from the following file: