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

E47891-01

Codecs Class Reference

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

Inherits extends< coherence::lang::Object >.

List of all members.


Detailed Description

Codecs is a container for accessing default Codec implementations.

Author:
hr 2011.06.29
Since:
3.7.1

Static Public Member Functions

static Codec::View getCodec (Class::View vClz)
 Based on the Class::View provided either instantiate if it is unknown or use a default codec.
static Codec::View getDefault ()
 Returns a singleton instance of a Codecs::DefaultCodec.

Classes

class  AbstractCodec
 Abstract Codec implementations that encodes objects by simply delegating to PofWriter::writeObject. More...
class  DefaultCodec
 Implementation of Codec that simply delegates to PofReader::readObject and PofWriter::writeObject to deserialize and serialize an object. More...

Member Function Documentation

static Codec::View getCodec ( Class::View  vClz  )  [static]

Based on the Class::View provided either instantiate if it is unknown or use a default codec.

Parameters:
vClz the class defining the codec to use or the type the codec should handle
Returns:
codec that supports encoding and decoding of objects of the specified type

static Codec::View getDefault (  )  [static]

Returns a singleton instance of a Codecs::DefaultCodec.

Returns:
Codecs::DefaultCodec


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