| The Gaudi Framework v27r1

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

- File List
- File Members

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 ~IConversionSvc() override = default;
95
97 enum Status {
99 CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR+1,
101 NO_CONVERTER
102 };
103 };
104
105 #endif // GAUDIKERNEL_ICONVERSIONSVC_H
IConverter
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:57
IConversionSvc
Definition: IConversionSvc.h:37
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
IConverter::DeclareInterfaceID
DeclareInterfaceID(IConverter, 3, 0)
InterfaceID.
IConversionSvc::Status
Status
Status code definitions.
Definition: IConversionSvc.h:97
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IConverter.h