| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# IConversionSvc.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IConversionSvc.h,v 1.8 2006/01/26 09:11:14 mato Exp $
    00002 #ifndef GAUDIKERNEL_ICONVERSIONSVC_H
    00003 #define GAUDIKERNEL_ICONVERSIONSVC_H
    00004
    00005 // Include files
    00006 #include <string>
    00007
    00008 #include "GaudiKernel/IConverter.h"
    00009
    00010 // Forward declarations
    00011 class ICnvFactory;
    00012
    00038 class GAUDI_API IConversionSvc: virtual public IConverter {
    00039 public:
    00041   DeclareInterfaceID(IConversionSvc,4,0);
    00042
    00047   virtual StatusCode addConverter(IConverter* pConverter) = 0;
    00048
    00053   virtual StatusCode addConverter(const CLID& clid) = 0;
    00054
    00060   virtual StatusCode removeConverter(const CLID& clid) = 0;
    00061
    00066   virtual IConverter* converter(const CLID& clid) = 0;
    00067
    00072   virtual StatusCode connectOutput(const std::string& outputFile) = 0;
    00073
    00079   virtual StatusCode connectOutput(const std::string& outputFile,
    00080                                    const std::string& openMode) = 0;
    00081
    00091   virtual StatusCode commitOutput(const std::string& outputFile,
    00092                                   bool do_commit) = 0;
    00093
    00095   enum Status  {
    00097    CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR+1,
    00099    NO_CONVERTER
    00100   };
    00101 };
    00102
    00103 #endif // GAUDIKERNEL_ICONVERSIONSVC_H