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

E80355-01

PortableTypeSerializer Class Reference

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

Inherits Object, and PofSerializer.

List of all members.


Detailed Description

A PofSerializer implementation that serializes classes that implement PortableObject interface (and optionally EvolvableObject interface).

Unlike legacy PortableObjectSerializer, this class serializes attributes of each class in the object's hierarchy into a separate nested POF stream, which allows for independent evolution of each class in the hierarchy, as well as the evolution of the hierarchy itself (addition of new classes at any level in the hierarchy).

Author:
as 2013.05.01
Since:
12.1.3

Public Types

typedef spec::Handle Handle
 PortableTypeSerializer Handle definition.
typedef spec::View View
 PortableTypeSerializer View definition.
typedef spec::Holder Holder
 PortableTypeSerializer 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

 PortableTypeSerializer (int32_t nTypeId)
 Create a new PortableTypeSerializer for the user type with the given type identifier.

Protected Attributes

int32_t m_nTypeId
 The type identifier of the user type to serialize and deserialize.

Constructor & Destructor Documentation

PortableTypeSerializer ( int32_t  nTypeId  )  [protected]

Create a new PortableTypeSerializer for the user type with the given type identifier.

Parameters:
nTypeId the type identifier of the user type to serialize and deserialize


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