Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

Codecs::AbstractCodec Class Reference

#include <coherence/io/pof/reflect/Codecs.hpp>

Inherits Object, and Codec.

Inherited by Codecs::DefaultCodec.

List of all members.


Detailed Description

Abstract Codec implementations that encodes objects by simply delegating to PofWriter::writeObject.

Generally the default writeObject implementation does not need to be modified as the current accommodation of types and conversion to POF is generally accepted, with the deserialization being more likely to be specific.

Author:
hr 2011.06.29
Since:
3.7.1
 

Public Types

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

Public Member Functions

virtual void  encode (PofWriter::Handle hOut, int32_t nIndex, Object::View v) const
  Serialize an object using the provided PofWriter.
Parameters:
  hOut  the PofWriter to read from
  nIndex  the index of the POF property to serialize
  v  the value to serialize
Exceptions:
  IOException  if an I/O error occurs

The documentation for this class was generated from the following file:

Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.