#include <coherence/io/pof/TypedSerializer.hpp>
Inherits Object, and PofSerializer.
The following set of free functions must be defined for the templated type:
This class is well suited for use with the coherence::lang::Managed template wrapper class. Combining the two allows for the addition of serialization support to existing non-coherence classes.
Public Types | |
typedef spec::Handle | Handle |
TypedSerializer<T> Handle definition. | |
typedef spec::View | View |
TypedSerializer<T> View definition. | |
typedef spec::Holder | Holder |
TypedSerializer<T> Holder definition. | |
Public Member Functions | |
virtual void | serialize (PofWriter::Handle hOut, Object::View v) const |
virtual Object::Holder | deserialize (PofReader::Handle hIn) const |
Protected Member Functions | |
TypedSerializer () | |
Create a new TypedSerializer for the user type with template parameter type. |
TypedSerializer | ( | ) | [inline, protected] |
Create a new TypedSerializer for the user type with template parameter type.