The Gaudi Framework
master (37c0b60a)
IPersistencySvc.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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
IPersistencySvc::getService
virtual StatusCode getService(long service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
std::string
STL class.
IPersistencySvc::DeclareInterfaceID
DeclareInterfaceID(IPersistencySvc, 2, 0)
InterfaceID.
StatusCode
Definition:
StatusCode.h:65
IInterface.h
IPersistencySvc::addCnvService
virtual StatusCode addCnvService(IConversionSvc *service)=0
Add new Conversion Service.
gaudirun.type
type
Definition:
gaudirun.py:160
IPersistencySvc
Definition:
IPersistencySvc.h:29
Kernel.h
IPersistencySvc::getService
virtual StatusCode getService(const std::string &service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
IInterface
Definition:
IInterface.h:239
IPersistencySvc::removeCnvService
virtual StatusCode removeCnvService(long type)=0
Remove Conversion Service.
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IPersistencySvc::setDefaultCnvService
virtual StatusCode setDefaultCnvService(long type)=0
Set default service type.
IConversionSvc
Definition:
IConversionSvc.h:47
GaudiKernel
include
GaudiKernel
IPersistencySvc.h
Generated on Thu Dec 19 2024 15:35:01 for The Gaudi Framework by
1.8.18