Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/io/Serializer.hpp>
Inherits Object.
Inherited by PofContext [virtual].
The Serializer interface provides the capability of reading and writing an object from and to an in-memory buffer.
Public Types |
|
| typedef spec::Handle | Handle |
| Serializer Handle definition. | |
| typedef spec::View | View |
| Serializer View definition. | |
| typedef spec::Holder | Holder |
| Serializer Holder definition. | |
Public Member Functions |
|
| virtual void | serialize (WriteBuffer::BufferOutput::Handle hOut, Object::View v) const =0 |
| Serialize an object to a WriteBuffer by writing its state using the specified BufferOutput object. | |
| virtual Object::Holder | deserialize (ReadBuffer::BufferInput::Handle hIn) const =0 |
| Deserialize an object from a ReadBuffer by reading its state using the specified BufferInput object. | |
| virtual void serialize | ( | WriteBuffer::BufferOutput::Handle | hOut, | |
| Object::View | v | |||
| ) | const [pure virtual] |
Serialize an object to a WriteBuffer by writing its state using the specified BufferOutput object.
| hOut | the BufferOutput with which to write the object's state | |
| v | the object to serialize |
Implemented in SimplePofContext.
| virtual Object::Holder deserialize | ( | ReadBuffer::BufferInput::Handle | hIn | ) | const [pure virtual] |
Deserialize an object from a ReadBuffer by reading its state using the specified BufferInput object.
| hIn | the BufferInput with which to read the object's state |
Implemented in SimplePofContext.
The documentation for this class was generated from the following file: