The Gaudi Framework  master (82fdf313)
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
14#include <GaudiKernel/Kernel.h>
15
16class IConversionSvc;
17
25class GAUDI_API IPersistencySvc : virtual public IInterface {
26public:
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};
#define GAUDI_API
Definition Kernel.h:49
Definition of the basic interface.
Definition IInterface.h:225
Data persistency service interface.
virtual StatusCode getService(const std::string &service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
DeclareInterfaceID(IPersistencySvc, 2, 0)
InterfaceID.
virtual StatusCode setDefaultCnvService(long type)=0
Set default service type.
virtual StatusCode getService(long service_type, IConversionSvc *&refpSvc)=0
Retrieve conversion service identified by technology.
virtual StatusCode addCnvService(IConversionSvc *service)=0
Add new Conversion Service.
virtual StatusCode removeCnvService(long type)=0
Remove Conversion Service.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64