| The Gaudi Framework v29r1 (5cd95fa2)

- 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 {
39 public:
41 DeclareInterfaceID( IConversionSvc, 4, 0 );
42
47 virtual StatusCode addConverter( IConverter* pConverter ) = 0;
48
53 virtual StatusCode addConverter( const CLID& clid ) = 0;
54
60 virtual StatusCode removeConverter( const CLID& clid ) = 0;
61
66 virtual IConverter* converter( const CLID& clid ) = 0;
67
72 virtual StatusCode connectOutput( const std::string& outputFile ) = 0;
73
79 virtual StatusCode connectOutput( const std::string& outputFile, const std::string& openMode ) = 0;
80
90 virtual StatusCode commitOutput( const std::string& outputFile, bool do_commit ) = 0;
91
93 enum Status {
95 CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR + 1,
97 NO_CONVERTER
98 };
99 };
100
101 #endif // GAUDIKERNEL_ICONVERSIONSVC_H
IConverter
The data converters are responsible to translate data from one representation into another...
Definition: IConverter.h:58
IConversionSvc
Definition: IConversionSvc.h:37
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
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:93
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IConverter.h