#include <coherence/io/Serializer.hpp>
Inherits Object.
Inherited by PofContext [virtual]
.
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.