The ISerializable interface provides a generic way to implement object serialization. More...
#include <serializable_intf.h>
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<> | |
virtual tResult | Serialize (IStream &pOutputStream) const =0 |
Serialize object to stream. | |
virtual tResult | Deserialize (const IStream &pInputStream)=0 |
Deserialize object from stream. | |
virtual tSerializerVersion | GetCurrentSerializerVersion () const =0 |
![]() | |
ADTF_IID (IClassInfo, "class_info.ant.ucom.adtf.iid") | |
Marks the IClassInfo to be castable with the ucom_cast<> | |
virtual const char * | GetCID () const =0 |
Get class identifier. | |
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 |
![]() | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() | |
Protected Member Functions | |
~ISerializable ()=default | |
Protected destructor --> Only the final implementation can be destroyed! | |
![]() | |
~IClassInfo ()=default | |
Protected destructor --> Only the final implementation can be destroyed! | |
![]() | |
~IObject ()=default | |
Protected destructor --> Only the final implementation can be destroyed! | |
The ISerializable interface provides a generic way to implement object serialization.
Definition at line 39 of file serializable_intf.h.
using tSerializerVersion = uint8_t |
Defintion of Serializer Version Type.
Definition at line 43 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. |