![]() |
|
|
Generated: 18 Jul 2008 |
#include <GaudiKernel/IConversionSvc.h>
Inheritance diagram for IConversionSvc:


Definition at line 42 of file IConversionSvc.h.
Public Types | |
| enum | Status { CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR+1, NO_CONVERTER } |
| Status code definitions. More... | |
Public Member Functions | |
| virtual StatusCode | addConverter (IConverter *pConverter)=0 |
| Add converter object to conversion service. | |
| virtual StatusCode | addConverter (const CLID &clid)=0 |
| Add converter object to conversion service. | |
| virtual StatusCode | removeConverter (const CLID &clid)=0 |
| Remove converter object from conversion service (if present). | |
| virtual IConverter * | converter (const CLID &clid)=0 |
| Retrieve converter from list. | |
| virtual StatusCode | connectOutput (const std::string &outputFile)=0 |
| Connect the output file to the service. | |
| virtual StatusCode | connectOutput (const std::string &outputFile, const std::string &openMode)=0 |
| Connect the output file to the service with open mode. | |
| virtual StatusCode | commitOutput (const std::string &outputFile, bool do_commit)=0 |
| Commit pending output. | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| Retrieve interface ID. | |
Status code definitions.
| CONVERSIONSVC_NO_ERROR | Success. |
| NO_CONVERTER | No proper converter is availible to the service. |
Reimplemented from IConverter.
Definition at line 99 of file IConversionSvc.h.
00099 { 00101 CONVERSIONSVC_NO_ERROR = ICONVERSIONSVC_LAST_ERROR+1, 00103 NO_CONVERTER 00104 };
| static const InterfaceID& IConversionSvc::interfaceID | ( | ) | [inline, static] |
Retrieve interface ID.
Reimplemented from IConverter.
Definition at line 45 of file IConversionSvc.h.
References IID_IConversionSvc.
00045 { return IID_IConversionSvc; }
| virtual StatusCode IConversionSvc::addConverter | ( | IConverter * | pConverter | ) | [pure virtual] |
Add converter object to conversion service.
| pConverter | Pointer to converter object |
Implemented in ConversionSvc, and PersistencySvc.
Referenced by PersistencySvc::addConverter().
| virtual StatusCode IConversionSvc::addConverter | ( | const CLID & | clid | ) | [pure virtual] |
Add converter object to conversion service.
| clid | Class ID of the converter needed |
Implemented in ConversionSvc, and PersistencySvc.
| virtual StatusCode IConversionSvc::removeConverter | ( | const CLID & | clid | ) | [pure virtual] |
Remove converter object from conversion service (if present).
The converter is defined by the class type of the objects created.
| clid | Class ID of the converter |
Implemented in ConversionSvc, and PersistencySvc.
| virtual IConverter* IConversionSvc::converter | ( | const CLID & | clid | ) | [pure virtual] |
Retrieve converter from list.
| clid | the clid of the converter |
Implemented in ConversionSvc, and PersistencySvc.
| virtual StatusCode IConversionSvc::connectOutput | ( | const std::string & | outputFile | ) | [pure virtual] |
Connect the output file to the service.
| outputFile | String containig output file |
Implemented in ConversionSvc, PoolDbCnvSvc, and PersistencySvc.
Referenced by OutputStream::writeObjects().
| virtual StatusCode IConversionSvc::connectOutput | ( | const std::string & | outputFile, | |
| const std::string & | openMode | |||
| ) | [pure virtual] |
Connect the output file to the service with open mode.
| outputFile | String containig output file | |
| openMode | String containig opening mode of the output file |
Implemented in ConversionSvc, PoolDbCnvSvc, and PersistencySvc.
| virtual StatusCode IConversionSvc::commitOutput | ( | const std::string & | outputFile, | |
| bool | do_commit | |||
| ) | [pure virtual] |
Commit pending output.
| outputFile | String containig output file | |
| do_commit | if true commit the output and flush eventually pending items to the database if false, discard pending buffers. Note: The possibility to commit or rollback depends on the database technology used! |
Implemented in ConversionSvc, PoolDbCnvSvc, and PersistencySvc.
Referenced by OutputStream::writeObjects().