Oracle Coherence for C++ API
Release 3.6.1.0

E18813-01

PortableObject Class Reference

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

Inherits Object.

Inherited by EvolvablePortableObject [virtual], AbstractPofPath [virtual], AbstractPriorityTask [virtual], AbstractAggregator [virtual], CompositeAggregator [virtual], Count [virtual], GroupAggregator [virtual], ChainedComparator [virtual], SafeComparator [virtual], CompositeKey [virtual], AbstractExtractor [virtual], CompositeUpdater [virtual], ConditionalExtractor [virtual], EntryExtractor [virtual], PofExtractor [virtual], PofUpdater [virtual], ReflectionUpdater [virtual], AlwaysFilter [virtual], ArrayFilter [virtual], ExtractorFilter [virtual], FilterTrigger [virtual], InKeySetFilter [virtual], KeyAssociatedFilter [virtual], LimitFilter [virtual], MapEventFilter [virtual], MapEventTransformerFilter [virtual], NeverFilter [virtual], NotFilter [virtual], PresentFilter [virtual], NullFilter [virtual], NullImplementation::NullCollection [virtual], NullImplementation::NullMap [virtual], NullImplementation::NullSet [virtual], CompositeProcessor [virtual], ConditionalProcessor [virtual], ConditionalPut [virtual], ConditionalPutAll [virtual], ConditionalRemove [virtual], ExtractorProcessor [virtual], PreloadRequest [virtual], PriorityProcessor [virtual], PropertyManipulator [virtual], PropertyProcessor [virtual], UpdaterProcessor [virtual], VersionedPut [virtual], VersionedPutAll [virtual], ExtractorEventTransformer [virtual], SemiLiteEventTransformer [virtual], and UUID [virtual].

List of all members.


Detailed Description

The PortableObject interface is implemented by classes that can self-serialize and deserialize their state to and from a POF data stream.

The readExternal() and writeExternal() methods of the PortableObject interface are implemented by a class to give the class complete control its own POF serialization and deserialization.

Author:
jh 2008.01.14

Public Types

typedef spec::Handle Handle
 PortableObject Handle definition.
typedef spec::View View
 PortableObject View definition.
typedef spec::Holder Holder
 PortableObject Holder definition.

Public Member Functions

virtual void readExternal (PofReader::Handle hIn)=0
 Restore the contents of a user type instance by reading its state using the specified PofReader.
virtual void writeExternal (PofWriter::Handle hOut) const =0
 Save the contents of a POF user type instance by writing its state using the specified PofWriter.

Member Function Documentation

virtual void readExternal ( PofReader::Handle  hIn  )  [pure virtual]

Restore the contents of a user type instance by reading its state using the specified PofReader.

Parameters:
hIn the PofReader from which to read the object's state

Implemented in SimplePofPath.

virtual void writeExternal ( PofWriter::Handle  hOut  )  const [pure virtual]

Save the contents of a POF user type instance by writing its state using the specified PofWriter.

Parameters:
hOut the PofWriter to which to write the object's state

Implemented in SimplePofPath.


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