| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IConversionSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ICONVERSIONSVC_H
2 #define GAUDIKERNEL_ICONVERSIONSVC_H
3
4 // Include files
5 #include <string>
6
7 #include "GaudiKernel/IConverter.h"
8
9 // Forward declarations
10 class ICnvFactory;
11
37 class GAUDI_API IConversionSvc: virtual public IConverter {
38 public:
40 DeclareInterfaceID(IConversionSvc,4,0);
41
46 virtual StatusCode addConverter(IConverter* pConverter) = 0;
47
52 virtual StatusCode addConverter(const CLID& clid) = 0;
53
59 virtual StatusCode removeConverter(const CLID& clid) = 0;
60
65 virtual IConverter* converter(const CLID& clid) = 0;
66
71 virtual StatusCode connectOutput(const std::string& outputFile) = 0;
72
78 virtual StatusCode connectOutput(const std::string& outputFile,
79 const std::string& openMode) = 0;
80
90 virtual StatusCode commitOutput(const std::string& outputFile,
91 bool do_commit) = 0;
92
94 virtual ~IConversionSvc() {}
95
97 enum Status {
99 CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR+1,
101 NO_CONVERTER
102 };
103 };
104
105 #endif // GAUDIKERNEL_ICONVERSIONSVC_H