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"
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:
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
#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
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Definition of the basic interface.
Definition: IInterface.h:234
Data persistency service interface.
#define GAUDI_API
Definition: Kernel.h:107
IInterface *PyHelper() getService(IInterface *app, char *name)
Definition: Bootstrap.cpp:241