#include <Serializer.h>
Static Public Member Functions | |
| static void | serializeBool (IOutputStream &rStreamOut, const bool bValue) |
| static void | serializeInt8 (IOutputStream &rStreamOut, const Int8 cValue) |
| static void | serializeInt16 (IOutputStream &rStreamOut, const Int16 sValue) |
| static void | serializeInt32 (IOutputStream &rStreamOut, const Int32 lValue) |
| static void | serializeInt64 (IOutputStream &rStreamOut, const Int64 ldValue) |
| static void | serializeUint8 (IOutputStream &rStreamOut, const Uint8 ucValue) |
| static void | serializeUint16 (IOutputStream &rStreamOut, const Uint16 usValue) |
| static void | serializeUint32 (IOutputStream &rStreamOut, const Uint32 ulValue) |
| static void | serializeUint64 (IOutputStream &rStreamOut, const Uint64 uldValue) |
| static void | serializeFloat32 (IOutputStream &rStreamOut, const Float32 fValue) |
| static void | serializeFloat64 (IOutputStream &rStreamOut, const Float64 dValue) |
| static void | serializeString (IOutputStream &rStreamOut, const IString &rString) |
| static void | serializeByteArray (IOutputStream &rStreamOut, const IByteArray &rArray) |
| static void | serializeObject (IOutputStream &rStreamOut, const ISerializable *pObject) |
| static void | serializeGUID (IOutputStream &rStreamOut, const TypGUID &rValue) |
| static void | serializeCollectionCount (IOutputStream &rStreamOut, Int iClassID, Int iCount) |
| static void | serializeGUIDFromCollection (IOutputStream &rStreamOut, const TypGUID &rValue) |
| static void | serializeObjectFromCollection (IOutputStream &rStreamOut, const ISerializable *pObject) |
| static void | serializeFloat64List (IOutputStream &rStreamOut, const IList< Float64 > &rList) |
| static void | serializeStringList (IOutputStream &rStreamOut, const IStringList &rList) |
| static void | serializeGUIDList (IOutputStream &rStreamOut, const IList< TypGUID > &rList) |
| static void | serializeUint32List (IOutputStream &rStreamOut, const IList< Uint32 > &rList) |
| static void | serializeStringStringMap (IOutputStream &rStreamOut, const IStringMap< TString > &rMap) |
| static Retval | deserializeBool (IInputStream &rStreamIn, bool &rValue) |
| static Retval | deserializeInt8 (IInputStream &rStreamIn, Int8 &rValue) |
| static Retval | deserializeInt16 (IInputStream &rStreamIn, Int16 &rValue) |
| static Retval | deserializeInt32 (IInputStream &rStreamIn, Int32 &rValue) |
| static Retval | deserializeInt64 (IInputStream &rStreamIn, Int64 &rValue) |
| static Retval | deserializeUint8 (IInputStream &rStreamIn, Uint8 &rValue) |
| static Retval | deserializeUint16 (IInputStream &rStreamIn, Uint16 &rValue) |
| static Retval | deserializeUint32 (IInputStream &rStreamIn, Uint32 &rValue) |
| static Retval | deserializeUint64 (IInputStream &rStreamIn, Uint64 &rValue) |
| static Retval | deserializeFloat32 (IInputStream &rStreamIn, Float32 &rValue) |
| static Retval | deserializeFloat64 (IInputStream &rStreamIn, Float64 &rValue) |
| static Retval | deserializeString (IInputStream &rStreamIn, IString &rString) |
| static Retval | deserializeByteArray (IInputStream &rStreamIn, IByteArray &rArray) |
| static Retval | deserializeObject (IInputStream &rStreamIn, const InterfaceID &rInterfaceID, IZUnknown *&rpObject) |
| static Retval | deserializeGUID (IInputStream &rStreamIn, TypGUID &rValue) |
| static Retval | deserializeGUIDFromCollection (IInputStream &rStreamIn, TypGUID &rValue) |
| static Retval | deserializeObjectFromCollection (IInputStream &rStreamIn, const InterfaceID &rInterfaceID, IZUnknown *&rpObject) |
| static Retval | deserializeCollectionCount (IInputStream &rStreamIn, Int iClassID, Int &rCount) |
| static Retval | deserializeFloat64List (IInputStream &rStreamIn, IList< Float64 > &rList) |
| static Retval | deserializeStringList (IInputStream &rStreamIn, IStringList &rList) |
| static Retval | deserializeGUIDList (IInputStream &rStreamIn, IList< TypGUID > &rList) |
| static Retval | deserializeUint32List (IInputStream &rStreamIn, IList< Uint32 > &rList) |
| static Retval | deserializeStringStringMap (IInputStream &rStreamIn, IStringMap< TString > &rMap) |
This class implements the serializing of various data types
| Retval zeus::TSerializer::deserializeBool | ( | IInputStream & | rStreamIn, |
| bool & | rValue | ||
| ) | [inline, static] |
deserializes a bool value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeByteArray | ( | IInputStream & | rStreamIn, |
| IByteArray & | rArray | ||
| ) | [inline, static] |
deserializes a byte array
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeCollectionCount | ( | IInputStream & | rStreamIn, |
| Int | iClassID, | ||
| Int & | rCount | ||
| ) | [inline, static] |
deserializes the object list count
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeFloat32 | ( | IInputStream & | rStreamIn, |
| Float32 & | rValue | ||
| ) | [inline, static] |
deserializes a float32 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeFloat64 | ( | IInputStream & | rStreamIn, |
| Float64 & | rValue | ||
| ) | [inline, static] |
deserializes a float64 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval TSerializer::deserializeFloat64List | ( | IInputStream & | rStreamIn, |
| IList< Float64 > & | rList | ||
| ) | [static] |
deserializes a list of float64 values
| rStreamIn | : Input stream containing data |
| rList | : Out parameter of parsed data |
| RET_NOERROR | : Data successfully parsed |
| RET_SERIALIZEPARSING_FAILED | : Parsing failed |
| Retval zeus::TSerializer::deserializeGUID | ( | IInputStream & | rStreamIn, |
| TypGUID & | rValue | ||
| ) | [inline, static] |
deserializes the GUID
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeGUIDFromCollection | ( | IInputStream & | rStreamIn, |
| TypGUID & | rValue | ||
| ) | [inline, static] |
deserializes a GUID from a collection
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval TSerializer::deserializeGUIDList | ( | IInputStream & | rStreamIn, |
| IList< TypGUID > & | rList | ||
| ) | [static] |
deserializes a list of GUID values
| rStreamIn | : Input stream containing data |
| rList | : Out parameter of parsed data |
| RET_NOERROR | : Data successfully parsed |
| RET_SERIALIZEPARSING_FAILED | : Parsing failed |
| Retval zeus::TSerializer::deserializeInt16 | ( | IInputStream & | rStreamIn, |
| Int16 & | rValue | ||
| ) | [inline, static] |
deserializes an int16 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeInt32 | ( | IInputStream & | rStreamIn, |
| Int32 & | rValue | ||
| ) | [inline, static] |
deserializes an int32 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeInt64 | ( | IInputStream & | rStreamIn, |
| Int64 & | rValue | ||
| ) | [inline, static] |
deserializes an int64 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeInt8 | ( | IInputStream & | rStreamIn, |
| Int8 & | rValue | ||
| ) | [inline, static] |
deserializes an int8 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeObject | ( | IInputStream & | rStreamIn, |
| const InterfaceID & | rInterfaceID, | ||
| IZUnknown *& | rpObject | ||
| ) | [inline, static] |
deserializes the object
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeObjectFromCollection | ( | IInputStream & | rStreamIn, |
| const InterfaceID & | rInterfaceID, | ||
| IZUnknown *& | rpObject | ||
| ) | [inline, static] |
deserializes the object from the collection
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeString | ( | IInputStream & | rStreamIn, |
| IString & | rString | ||
| ) | [inline, static] |
deserializes a string object
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval TSerializer::deserializeStringList | ( | IInputStream & | rStreamIn, |
| IStringList & | rList | ||
| ) | [static] |
deserializes a list of string values
| rStreamIn | : Input stream containing data |
| rList | : Out parameter of parsed data |
| RET_NOERROR | : Data successfully parsed |
| RET_SERIALIZEPARSING_FAILED | : Parsing failed |
| Retval TSerializer::deserializeStringStringMap | ( | IInputStream & | rStreamIn, |
| IStringMap< TString > & | rMap | ||
| ) | [static] |
deserializes a stringmap containing strings
| rStreamIn | : Input stream containing data |
| rMap | : Out parameter of parsed data |
| RET_NOERROR | : Data successfully parsed |
| RET_SERIALIZEPARSING_FAILED | : Parsing failed |
| Retval zeus::TSerializer::deserializeUint16 | ( | IInputStream & | rStreamIn, |
| Uint16 & | rValue | ||
| ) | [inline, static] |
deserializes an uint16 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeUint32 | ( | IInputStream & | rStreamIn, |
| Uint32 & | rValue | ||
| ) | [inline, static] |
deserializes an uint32 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval TSerializer::deserializeUint32List | ( | IInputStream & | rStreamIn, |
| IList< Uint32 > & | rList | ||
| ) | [static] |
deserializes a list of uint32 values
| rStreamIn | : Input stream containing data |
| rList | : Out parameter of parsed data |
| RET_NOERROR | : Data successfully parsed |
| RET_SERIALIZEPARSING_FAILED | : Parsing failed |
| Retval zeus::TSerializer::deserializeUint64 | ( | IInputStream & | rStreamIn, |
| Uint64 & | rValue | ||
| ) | [inline, static] |
deserializes an uint64 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| Retval zeus::TSerializer::deserializeUint8 | ( | IInputStream & | rStreamIn, |
| Uint8 & | rValue | ||
| ) | [inline, static] |
deserializes an uint8 value
| RET_NOERROR | : successfully parsed the data |
| RET_SERIALIZEPARSING_FAILED | : could not parse the data stream |
| void zeus::TSerializer::serializeBool | ( | IOutputStream & | rStreamOut, |
| const bool | bValue | ||
| ) | [inline, static] |
serializes an int8 value
| void zeus::TSerializer::serializeByteArray | ( | IOutputStream & | rStreamOut, |
| const IByteArray & | rArray | ||
| ) | [inline, static] |
serializes a byte array
| void zeus::TSerializer::serializeCollectionCount | ( | IOutputStream & | rStreamOut, |
| Int | iClassID, | ||
| Int | iCount | ||
| ) | [inline, static] |
serializes the counter of an object list
| void zeus::TSerializer::serializeFloat32 | ( | IOutputStream & | rStreamOut, |
| const Float32 | fValue | ||
| ) | [inline, static] |
serializes a float32 value
| void zeus::TSerializer::serializeFloat64 | ( | IOutputStream & | rStreamOut, |
| const Float64 | dValue | ||
| ) | [inline, static] |
serializes a float64 value
| void TSerializer::serializeFloat64List | ( | IOutputStream & | rStreamOut, |
| const IList< Float64 > & | rList | ||
| ) | [static] |
serializes a float list
| rStreamOut | : Output stream |
| rList | : List of data |
| void zeus::TSerializer::serializeGUID | ( | IOutputStream & | rStreamOut, |
| const TypGUID & | rValue | ||
| ) | [inline, static] |
serializes the GUID
| void zeus::TSerializer::serializeGUIDFromCollection | ( | IOutputStream & | rStreamOut, |
| const TypGUID & | rValue | ||
| ) | [inline, static] |
serializes a GUID of a collection (map or list)
| void TSerializer::serializeGUIDList | ( | IOutputStream & | rStreamOut, |
| const IList< TypGUID > & | rList | ||
| ) | [static] |
serializes a string list
| rStreamOut | : Output stream |
| rList | : List of data |
| void zeus::TSerializer::serializeInt16 | ( | IOutputStream & | rStreamOut, |
| const Int16 | sValue | ||
| ) | [inline, static] |
serializes an int16 value
| void zeus::TSerializer::serializeInt32 | ( | IOutputStream & | rStreamOut, |
| const Int32 | lValue | ||
| ) | [inline, static] |
serializes an int32 value
| void zeus::TSerializer::serializeInt64 | ( | IOutputStream & | rStreamOut, |
| const Int64 | ldValue | ||
| ) | [inline, static] |
serializes an int64 value
| void zeus::TSerializer::serializeInt8 | ( | IOutputStream & | rStreamOut, |
| const Int8 | cValue | ||
| ) | [inline, static] |
serializes an int8 value
| void zeus::TSerializer::serializeObject | ( | IOutputStream & | rStreamOut, |
| const ISerializable * | pObject | ||
| ) | [inline, static] |
| void zeus::TSerializer::serializeObjectFromCollection | ( | IOutputStream & | rStreamOut, |
| const ISerializable * | pObject | ||
| ) | [inline, static] |
serializes an object of a collection (map or list)
| void zeus::TSerializer::serializeString | ( | IOutputStream & | rStreamOut, |
| const IString & | rString | ||
| ) | [inline, static] |
serializes a string
| void TSerializer::serializeStringList | ( | IOutputStream & | rStreamOut, |
| const IStringList & | rList | ||
| ) | [static] |
serializes a string list
| rStreamOut | : Output stream |
| rList | : List of data |
| void TSerializer::serializeStringStringMap | ( | IOutputStream & | rStreamOut, |
| const IStringMap< TString > & | rMap | ||
| ) | [static] |
serializes a stringmap containing strings
| rStreamOut | : Output stream |
| rMap | : map of string data |
| void zeus::TSerializer::serializeUint16 | ( | IOutputStream & | rStreamOut, |
| const Uint16 | usValue | ||
| ) | [inline, static] |
serializes an unsigned int16 value
| void zeus::TSerializer::serializeUint32 | ( | IOutputStream & | rStreamOut, |
| const Uint32 | ulValue | ||
| ) | [inline, static] |
serializes an unsigned int32 value
| void TSerializer::serializeUint32List | ( | IOutputStream & | rStreamOut, |
| const IList< Uint32 > & | rList | ||
| ) | [static] |
serializes a uint32 list
| rStreamOut | : Output stream |
| rList | : List of data |
| void zeus::TSerializer::serializeUint64 | ( | IOutputStream & | rStreamOut, |
| const Uint64 | uldValue | ||
| ) | [inline, static] |
serializes an unsigned int64 value
| void zeus::TSerializer::serializeUint8 | ( | IOutputStream & | rStreamOut, |
| const Uint8 | ucValue | ||
| ) | [inline, static] |
serializes an unsigned int8 value