Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.3.0)

E80355-01

TypedSerializer Class Template Reference

#include <coherence/io/pof/TypedSerializer.hpp>

Inherits Object, and PofSerializer.

List of all members.


Detailed Description

template<class T>
class coherence::io::pof::TypedSerializer< T >

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.

See also:
coherence::lang::Managed
Author:
mf 2008.07.07

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.

Constructor & Destructor Documentation

TypedSerializer (  )  [inline, protected]

Create a new TypedSerializer for the user type with template parameter type.

Returns:
the new TypedSerializer


The documentation for this class was generated from the following file:
Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.