All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IPersistencySvc.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IPersistencySvc.h,v 1.3 2003/08/05 13:49:16 mato Exp $
2 #ifndef KERNEL_IPERSISTENCYSVC_H
3 #define KERNEL_IPERSISTENCYSVC_H
4 
5 // Include files
6 #include "GaudiKernel/Kernel.h"
8 
9 // Forward declarations
10 // Generic interface to data object class
11 class IConversionSvc;
12 
20 class GAUDI_API IPersistencySvc: virtual public IInterface {
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
string type
Definition: gaudirun.py:126
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Definition of the basic interface.
Definition: IInterface.h:160
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
Data persistency service interface.
#define GAUDI_API
Definition: Kernel.h:108