| The Gaudi Framework v32r1 (f65d50dc)

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/IInterface.h"
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 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.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
gaudirun.type
type
Definition: gaudirun.py:142
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:13
IPersistencySvc
Data persistency service interface.
Definition: IPersistencySvc.h:19
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h
getService
IInterface *PyHelper() getService(IInterface *app, char *name)
Definition: Bootstrap.cpp:229