7 #ifndef Serialization_PDSerialization_H 8 #define Serialization_PDSerialization_H 12 #ifdef PDSERIALIZATION_DLL_EXPORT 13 #define DLL_PDSERIALIZATION_EXIM _declspec(dllexport) 15 #define DLL_PDSERIALIZATION_EXIM _declspec(dllimport) 18 #pragma warning( disable: 4244) 21 #define DLL_PDSERIALIZATION_EXIM 25 #if defined(WIN32) || defined(__i386) || defined(__x86_64) || defined(_MAC) || defined(__ANDROID__) // The last is for Android 29 #elif defined(__sparc) || defined(_POWER) || defined(__hpux) 33 #error Unknown Platform 43 class WriteDataStream;
121 #define PDS_SAFE_STREAM 0x8000 122 #define PDS_RAW_STREAM 0x4000 123 #define PDS_BIG_ENDIAN_STREAM 0x2000 124 #define PDS_SIMPLE_ENCRYPT_STREAM 0x0100 125 #define PDS_RC4_ENCRYPT_STREAM 0x0200 126 #define PDS_TEA_ENCRYPT_STREAM 0x0400 127 #define PDS_AES_ENCRYPT_STREAM 0x0800 129 #endif // Serialization_PDSerialization_H Definition: PDSerialization.h:106
Definition: PDSerialization.h:104
the exception during write stream operations
Definition: PDSerialization.h:56
Definition: PDSerialization.h:100
Definition: PDSerialization.h:105
Definition: PDSerialization.h:98
Definition: PDSerialization.h:109
Definition: PDSerialization.h:63
Definition: PDSerialization.h:111
TYPE
Definition: PDSerialization.h:87
Definition: PDSerialization.h:110
Definition: PDSerialization.h:93
Definition: PDSerialization.h:108
virtual ~SerializableObject()
Definition: PDSerialization.h:69
virtual ~PolymorphicSerializableObject()
Definition: PDSerialization.h:85
Definition: PDSerialization.h:96
Definition: PDSerialization.h:101
Definition: PDSerialization.h:102
Definition: PDSerialization.h:91
#define Int32
Definition: BasicTypes.h:20
Definition: PDSerialization.h:103
virtual void Serialize(WriteDataStream &) const =0
Definition: ReadDataStream.h:51
Definition: PDSerialization.h:95
Definition: PDSerialization.h:112
Definition: PDSerialization.h:90
Definition: PDSerialization.h:89
Definition: PDSerialization.h:94
Definition: PDSerialization.h:99
Definition: PDSerialization.h:107
Definition: PDSerialization.h:116
virtual Int32 GetType() const =0
the exception during read stream operations
Definition: PDSerialization.h:49
the root class for all exceptions in Serialization namespace
Definition: PDSerialization.h:46
Definition: PDSerialization.h:97
Definition: WriteDataStream.h:55
Definition: MultiReadStream.h:23
Definition: PDSerialization.h:115
Definition: PDSerialization.h:92
Definition: PDSerialization.h:79
virtual void DeSerialize(ReadDataStream &)=0