#include <coherence/io/SimpleEvolvable.hpp>
Inherits Object, and Evolvable.
Public Types | ||||
typedef spec::Handle | Handle | |||
SimpleEvolvable Handle definition. | ||||
typedef spec::View | View | |||
SimpleEvolvable View definition. | ||||
typedef spec::Holder | Holder | |||
SimpleEvolvable Holder definition. | ||||
Public Member Functions | ||||
virtual int32_t | getImplVersion () const | |||
Determine the serialization version supported by the implementing class.
| ||||
virtual int32_t | getDataVersion () const | |||
Obtain the version associated with the data stream from which this Evolvable was deserialized. If the Object was constructed (not deserialized), the data version is the same as the implementation version.
| ||||
virtual void | setDataVersion (int32_t nDataVersion) | |||
Set the version associated with the data stream with which this Evolvable is being deserialized.
| ||||
virtual Binary::View | getFutureData () const | |||
Return all the unknown remainder of the data stream from which this Evolvable was deserialized. The remainder is unknown because it is data that was originally written by a future version of this Evolvable's class.
| ||||
virtual void | setFutureData (Binary::View vBinFutureData) | |||
Protected Member Functions | ||||
SimpleEvolvable (int32_t nImplVersion) | ||||
Create SimpleEvolvable instance. |
SimpleEvolvable | ( | int32_t | nImplVersion | ) | [protected] |
Create SimpleEvolvable instance.
nImplVersion | the implementation version of the class this Evolvable is for |