| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IPersistencySvc.h
Go to the documentation of this file.
1 #ifndef KERNEL_IPERSISTENCYSVC_H
2 #define KERNEL_IPERSISTENCYSVC_H
3
4 // Include files
5 #include "GaudiKernel/Kernel.h"
6 #include "GaudiKernel/IInterface.h"
7
8 // Forward declarations
9 // Generic interface to data object class
10 class IConversionSvc;
11
19 class GAUDI_API IPersistencySvc: virtual public IInterface {
20 public:
22 DeclareInterfaceID(IPersistencySvc,2,0);
23
28 virtual StatusCode setDefaultCnvService(long type) = 0;
29
34 virtual StatusCode addCnvService(IConversionSvc* service) = 0;
35
40 virtual StatusCode removeCnvService(long type) = 0;
41
47 virtual StatusCode getService(long service_type, IConversionSvc*& refpSvc) = 0;
53 virtual StatusCode getService(const std::string& service_type, IConversionSvc*& refpSvc) = 0;
54 };
55
56 #endif // KERNELGAUDI_IPERSISTENCYSVC_H
Kernel.h
IConversionSvc
Definition: IConversionSvc.h:37
std::string
STL class.
gaudirun.type
string type
Definition: gaudirun.py:151
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
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:14
IPersistencySvc
Data persistency service interface.
Definition: IPersistencySvc.h:19
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h
getService
IInterface *PyHelper() getService(IInterface *app, char *name)
Definition: Bootstrap.cpp:249