Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/io/pof/TypedSerializer.hpp>
Inherits Object, and PofSerializer.
A PofSerializer implementation that supports the serialization and deserialization of any class to and from a POF stream, by delegating the serialization logic to templated free functions.
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.
The documentation for this class was generated from the following file: