The Gaudi Framework
v33r0 (d5ea422b)
IPersistencySvc.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 KERNEL_IPERSISTENCYSVC_H
12
#define KERNEL_IPERSISTENCYSVC_H
13
14
// Include files
15
#include "
GaudiKernel/IInterface.h
"
16
#include "
GaudiKernel/Kernel.h
"
17
18
// Forward declarations
19
// Generic interface to data object class
20
class
IConversionSvc
;
21
29
class
GAUDI_API
IPersistencySvc
:
virtual
public
IInterface
{
30
public
:
32
DeclareInterfaceID
(
IPersistencySvc
, 2, 0 );
33
38
virtual
StatusCode
setDefaultCnvService(
long
type
) = 0;
39
44
virtual
StatusCode
addCnvService(
IConversionSvc
* service ) = 0;
45
50
virtual
StatusCode
removeCnvService(
long
type
) = 0;
51
57
virtual
StatusCode
getService
(
long
service_type,
IConversionSvc
*& refpSvc ) = 0;
63
virtual
StatusCode
getService
(
const
std::string
& service_type,
IConversionSvc
*& refpSvc ) = 0;
64
};
65
66
#endif // KERNELGAUDI_IPERSISTENCYSVC_H
Kernel.h
IConversionSvc
Definition:
IConversionSvc.h:47
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:61
IInterface
Definition of the basic interface.
Definition:
IInterface.h:254
gaudirun.type
type
Definition:
gaudirun.py:154
DeclareInterfaceID
#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
IPersistencySvc
Data persistency service interface.
Definition:
IPersistencySvc.h:29
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IInterface.h
getService
IInterface *PyHelper() getService(IInterface *app, char *name)
Definition:
Bootstrap.cpp:239
GaudiKernel
GaudiKernel
IPersistencySvc.h
Generated on Mon Dec 16 2019 23:26:33 for The Gaudi Framework by
1.8.15