The Gaudi Framework
master (53dee381)
Toggle main menu visibility
Loading...
Searching...
No Matches
IPersistencySvc.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
#include <
GaudiKernel/Kernel.h
>
15
16
class
IConversionSvc
;
17
25
class
GAUDI_API
IPersistencySvc
:
virtual
public
IInterface
{
26
public
:
28
DeclareInterfaceID
(
IPersistencySvc
, 2, 0 );
29
34
virtual
StatusCode
setDefaultCnvService
(
long
type ) = 0;
35
40
virtual
StatusCode
addCnvService
(
IConversionSvc
* service ) = 0;
41
46
virtual
StatusCode
removeCnvService
(
long
type ) = 0;
47
53
virtual
StatusCode
getService
(
long
service_type,
IConversionSvc
*& refpSvc ) = 0;
59
virtual
StatusCode
getService
(
const
std::string& service_type,
IConversionSvc
*& refpSvc ) = 0;
60
};
IInterface.h
Kernel.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
IConversionSvc
Definition
IConversionSvc.h:43
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
IPersistencySvc
Data persistency service interface.
Definition
IPersistencySvc.h:25
IPersistencySvc::getService
virtual StatusCode getService(const std::string &service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
IPersistencySvc::DeclareInterfaceID
DeclareInterfaceID(IPersistencySvc, 2, 0)
InterfaceID.
IPersistencySvc::setDefaultCnvService
virtual StatusCode setDefaultCnvService(long type)=0
Set default service type.
IPersistencySvc::getService
virtual StatusCode getService(long service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
IPersistencySvc::addCnvService
virtual StatusCode addCnvService(IConversionSvc *service)=0
Add new Conversion Service.
IPersistencySvc::removeCnvService
virtual StatusCode removeCnvService(long type)=0
Remove Conversion Service.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiKernel
include
GaudiKernel
IPersistencySvc.h
Generated on
for The Gaudi Framework by
1.17.0