ESA JPIP server  0.1
data::Serializer< T > Struct Template Reference

This template class allows to define a "serializer". More...

#include <serialize.h>

Collaboration diagram for data::Serializer< T >:

Static Public Member Functions

static InputStreamLoad (InputStream &stream, T &var)
 
static OutputStreamSave (OutputStream &stream, T &var)
 

Detailed Description

template<typename T>
struct data::Serializer< T >

This template class allows to define a "serializer".

By default, the basic serializer calls the method SerializeWith of the objet to be serialized.

In order to define a serializer of any other specific type, it is required to define a specialization of this template class, and redefine the methods Load and Save.

See Also
BaseStream

Member Function Documentation

template<typename T >
static InputStream& data::Serializer< T >::Load ( InputStream stream,
T &  var 
)
inlinestatic

Here is the caller graph for this function:

template<typename T >
static OutputStream& data::Serializer< T >::Save ( OutputStream stream,
T &  var 
)
inlinestatic

Here is the caller graph for this function:


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