Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

Codecs::DefaultCodec Class Reference

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

Inherits Codecs::AbstractCodec.

List of all members.


Detailed Description

Implementation of Codec that simply delegates to PofReader::readObject and PofWriter::writeObject to deserialize and serialize an object.

Author:
hr 2011.06.29
Since:
3.7.1
 

Public Types

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

Public Member Functions

virtual Object::Holder  decode (PofReader::Handle hIn, int32_t nIndex) const
  Deserialize an object from the provided PofReader.

Implementing this interface allows introducing specific return implementations.

Parameters:
  hIn  the PofReader to read from
  nIndex  the index of the POF property to deserialize
Returns:
a specific implementation of the POF property
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.