The Gaudi Framework  v40r0 (475e45c1)
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:
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 };
IPersistencySvc::getService
virtual StatusCode getService(long service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
IPersistencySvc::DeclareInterfaceID
DeclareInterfaceID(IPersistencySvc, 2, 0)
InterfaceID.
StatusCode
Definition: StatusCode.h:64
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:25
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:225
IPersistencySvc::removeCnvService
virtual StatusCode removeCnvService(long type)=0
Remove Conversion Service.
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:83
IPersistencySvc::setDefaultCnvService
virtual StatusCode setDefaultCnvService(long type)=0
Set default service type.
IConversionSvc
Definition: IConversionSvc.h:43