The Gaudi Framework  v33r1 (b1225454)
ISerialize.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_ISERIALIZE_H
12 #define GAUDIKERNEL_ISERIALIZE_H
13 
14 // Framework include files
15 #include "GaudiKernel/IInterface.h"
16 
17 // Forward declarations
18 class StreamBuffer;
19 
27 class GAUDI_API ISerialize : virtual public IInterface {
28 public:
31 
36  virtual StreamBuffer& serialize( StreamBuffer& str ) = 0;
41  virtual StreamBuffer& serialize( StreamBuffer& str ) const = 0;
42 };
43 
44 #endif // GAUDIKERNEL_ISERIALIZE_H
The stream buffer is a small object collecting object data.
Definition: StreamBuffer.h:51
Definition of the basic interface.
Definition: IInterface.h:254
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
#define GAUDI_API
Definition: Kernel.h:81
Object serialization interface definition.
Definition: ISerialize.h:27