The Gaudi Framework  v29r0 (ff2e7097)
IPersistencySvc.h
Go to the documentation of this file.
1 #ifndef KERNEL_IPERSISTENCYSVC_H
2 #define KERNEL_IPERSISTENCYSVC_H
3 
4 // Include files
6 #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 {
21 public:
24 
29  virtual StatusCode setDefaultCnvService( long type ) = 0;
30 
35  virtual StatusCode addCnvService( IConversionSvc* service ) = 0;
36 
41  virtual StatusCode removeCnvService( long type ) = 0;
42 
48  virtual StatusCode getService( long service_type, IConversionSvc*& refpSvc ) = 0;
54  virtual StatusCode getService( const std::string& service_type, IConversionSvc*& refpSvc ) = 0;
55 };
56 
57 #endif // KERNELGAUDI_IPERSISTENCYSVC_H
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Definition of the basic interface.
Definition: IInterface.h:277
Data persistency service interface.
#define GAUDI_API
Definition: Kernel.h:110
IInterface *PyHelper() getService(IInterface *app, char *name)
Definition: Bootstrap.cpp:241