The Gaudi Framework
master (53dee381)
Toggle main menu visibility
Loading...
Searching...
No Matches
ISerialize.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#pragma once
12
13
#include <
GaudiKernel/IInterface.h
>
14
15
class
StreamBuffer
;
16
24
class
GAUDI_API
ISerialize
:
virtual
public
IInterface
{
25
public
:
27
DeclareInterfaceID
(
ISerialize
, 2, 0 );
28
33
virtual
StreamBuffer
&
serialize
(
StreamBuffer
& str ) = 0;
38
virtual
StreamBuffer
&
serialize
(
StreamBuffer
& str )
const
= 0;
39
};
IInterface.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
ISerialize
Object serialization interface definition.
Definition
ISerialize.h:24
ISerialize::serialize
virtual StreamBuffer & serialize(StreamBuffer &str)=0
Input serialization from stream buffer.
ISerialize::serialize
virtual StreamBuffer & serialize(StreamBuffer &str) const =0
Output serialization to stream buffer.
ISerialize::DeclareInterfaceID
DeclareInterfaceID(ISerialize, 2, 0)
InterfaceID.
StreamBuffer
The stream buffer is a small object collecting object data.
Definition
StreamBuffer.h:48
GaudiKernel
include
GaudiKernel
ISerialize.h
Generated on
for The Gaudi Framework by
1.17.0