| The Gaudi Framework v29r0 (ff2e7097)

- 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/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 {
21 public:
23 DeclareInterfaceID( IPersistencySvc, 2, 0 );
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
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:28
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
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
gaudirun.type
type
Definition: gaudirun.py:133
IPersistencySvc
Data persistency service interface.
Definition: IPersistencySvc.h:19
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h
getService
IInterface *PyHelper() getService(IInterface *app, char *name)
Definition: Bootstrap.cpp:241