ADTF
|
The ISerializable interface provides a generic way to implement object serialization. More...
Public Types | |
using | tSerializerVersion = uint8_t |
Defintion of Serializer Version Type. | |
Public Member Functions | |
ADTF_IID (ISerializable, "serializable.ant.ucom.adtf.iid") | |
Marks the ISerializable to be castable with the ucom_cast<> More... | |
virtual tResult | Serialize (IStream &pOutputStream) const =0 |
Serialize object to stream. More... | |
virtual tResult | Deserialize (const IStream &pInputStream)=0 |
Deserialize object from stream. More... | |
virtual tSerializerVersion | GetCurrentSerializerVersion () const =0 |
Public Member Functions inherited from IClassInfo | |
ADTF_IID (IClassInfo, "class_info.ant.ucom.adtf.iid") | |
Marks the IClassInfo to be castable with the ucom_cast<> More... | |
virtual const char * | GetCID () const =0 |
Get class identifier. More... | |
virtual const char * | GetCLabel () const =0 |
virtual iterator_adapter< const tDependencyDescription, pointer_iterator > | GetCDependencies () const =0 |
virtual iterator_adapter< const tNamedVersion, pointer_iterator > | GetCVersions () const =0 |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Protected Member Functions | |
~ISerializable ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Protected Member Functions inherited from IClassInfo | |
~IClassInfo ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
The ISerializable interface provides a generic way to implement object serialization.
Definition at line 39 of file serializable_intf.h.
ADTF_IID | ( | ISerializable | , |
"serializable.ant.ucom.adtf.iid" | |||
) |
Marks the ISerializable
to be castable with the ucom_cast<>
Deserialize object from stream.
The Deserialize method reads all object instance data from a stream.
pInputStream | [in] Pointer to a input stream interface. |