ZeusBase-Library  2.0.4
ISerializable.hpp
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch)
3  *****************************************************************************
4  * Project : Zeus Base Library
5  * Module : ISerializable
6  * Package : Zeus.ZeusBase.System.Interfaces
7  * Author : Benjamin Hadorn
8  * Date : 24.10.2011
9  * System : Zeus-Framework
10  *****************************************************************************
11  * Licence: *
12  * This library is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU Lesser General Public License as *
14  * published by the Free Software Foundation; either version *
15  * 2.1 of the License, or (at your option) any later version. *
16  * *
17  * This library is distributed in the hope that it will be useful, *
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
20  * GNU Lesser General Public License for more details. *
21  * *
22  * You should have received a copy of the GNU Lesser General Public *
23  * License along with this library; if not, write to the Free Software *
24  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA *
25  *****************************************************************************/
26 
27 
28 /***************************************************************************
29  GENERATED : xIDL COMPILER 1.0
30  DATE : 2012-01-16 18:50:28
31  CAUTION : Don't change the file manualy. Change xidl file instead.
32 ***************************************************************************/
33 
34 #ifndef ISerializableHPP
35 #define ISerializableHPP
36 
39 
41 
42 // {1F0A291E-F491-4d94-B122-41AAF00578BD}
43 #define INTERFACE_ISerializable TIID(0x1F0A291E, 0xF491, 0x4d94, 0xB1, 0x22, 0x41, 0xAA, 0xF0, 0x05, 0x78, 0xBD)
44 
45 /*****************************************************************************/
48 /*****************************************************************************/
49 class ISerializable : public IZUnknown
50 {
52 
53  public:
54  /*************************************************************************/
60  /*************************************************************************/
61  virtual Retval MQUALIFIER serialize(IByteArray& raStream) const = 0;
62 
63  /*************************************************************************/
69  /*************************************************************************/
70  virtual Uint MQUALIFIER getObjectID() const = 0;
71 
72 };
73 
75 
76 #endif //define ISerializableHPP
#define END_NAMESPACE_Zeus
Definition: PlatformDefines.hpp:96
Definition: ISerializable.hpp:49
#define MQUALIFIER
Definition: LinuxPlatform.hpp:64
#define BEGIN_NAMESPACE_Zeus
Definition: PlatformDefines.hpp:95
#define HIDE_ASSIGNMENT_OPERATOR(class_type)
Definition: IZUnknownImplHelper.hpp:324
Definition: IZUnknown.hpp:65


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Tue Sep 13 2016 22:30:40