| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# IPersistencySvc.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IPersistencySvc.h,v 1.3 2003/08/05 13:49:16 mato Exp $
    00002 #ifndef KERNEL_IPERSISTENCYSVC_H
    00003 #define KERNEL_IPERSISTENCYSVC_H
    00004
    00005 // Include files
    00006 #include "GaudiKernel/Kernel.h"
    00007 #include "GaudiKernel/IInterface.h"
    00008
    00009 // Forward declarations
    00010 // Generic interface to data object class
    00011 class IConversionSvc;
    00012
    00020 class GAUDI_API IPersistencySvc: virtual public IInterface {
    00021 public:
    00023   DeclareInterfaceID(IPersistencySvc,2,0);
    00024
    00029   virtual StatusCode setDefaultCnvService(long type) = 0;
    00030
    00035   virtual StatusCode addCnvService(IConversionSvc* service) = 0;
    00036
    00041   virtual StatusCode removeCnvService(long type) = 0;
    00042
    00048   virtual StatusCode getService(long service_type, IConversionSvc*& refpSvc) = 0;
    00054   virtual StatusCode getService(const std::string& service_type, IConversionSvc*& refpSvc) = 0;
    00055 };
    00056
    00057 #endif // KERNELGAUDI_IPERSISTENCYSVC_H