The conversion service interface allows to:
#include <GaudiKernel/IConversionSvc.h>
Inheritance diagram for IConversionSvc:
Public Types | |
| enum | Status { CONVERSIONSVC_NO_ERROR = StatusCode::SUCCESS, NO_CONVERTER, NO_MEMORY, BAD_STORAGE_TYPE } |
| Status code definitions. More... | |
Public Methods | |
| virtual unsigned char | repSvcType () const = 0 |
| Retrieve the class type of the data store the converter uses. More... | |
| virtual StatusCode | createObj (IOpaqueAddress* pAddress, DataObject*& refpObject) = 0 |
| Create a transient representation from another representation of this object. More... | |
| virtual StatusCode | updateObj (IOpaqueAddress* pAddress, DataObject* pObject) = 0 |
| Update a transient representation from another representation of this object. More... | |
| virtual StatusCode | updateReps (IDataSelector* pSelector) = 0 |
| Update the original representation of a collection of transient objects. More... | |
| virtual StatusCode | createReps (IDataSelector* pSelector) = 0 |
| Convert a collection of transient data objects into another representation. More... | |
| virtual StatusCode | setStore (IDataProviderSvc* pStore) = 0 |
| Set the transient data store to the service. More... | |
| virtual StatusCode | addConverter (IConverter* pConverter) = 0 |
| Add converter object to conversion service. More... | |
| virtual StatusCode | addConverter (const ICnvFactory& refFactory) = 0 |
| Add converter object to conversion service. More... | |
| virtual StatusCode | removeConverter (const CLID& clid) = 0 |
| Remove converter object from conversion service (if present). More... | |
| virtual StatusCode | connectOutput (const std::string& outputFile) = 0 |
| Connect the output file to the service. More... | |
| virtual StatusCode | setAddressCreator (IAddressCreator* creator) = 0 |
| Set address creator facility. More... | |
Static Public Methods | |
| const InterfaceID& | interfaceID () |
| Retrieve interface ID. More... | |
The conversion service interface allows to:
Definition at line 49 of file IConversionSvc.h.
|
|
Status code definitions.
Reimplemented from IInterface. Definition at line 151 of file IConversionSvc.h. |
|
|
Add converter object to conversion service. The converter will immediately be instantiated using the factory and initialized.
Reimplemented in ConversionSvc. |
|
|
Add converter object to conversion service.
Reimplemented in ConversionSvc. |
|
|
Connect the output file to the service.
Reimplemented in ConversionSvc. |
|
|
Create a transient representation from another representation of this object. This entrypoint is used e.g. for the creation of a transient object from its persistent representation. The information how to retrieve the object from the persistent store is passed in an opaque manner, hence shielding the service from the underlying technology.
Reimplemented in ConversionSvc. Referenced by DataSvc::loadObject(). |
|
|
Convert a collection of transient data objects into another representation. This entrypoint is used e.g. for the creation of a persistent objects from their transient representation. The selector indicates to the service which objects will have to be updated.
Reimplemented in ConversionSvc. |
|
|
Retrieve interface ID.
Reimplemented from IInterface. Definition at line 52 of file IConversionSvc.h. |
|
|
Remove converter object from conversion service (if present). The converter is defined by the class type of the objects created.
Reimplemented in ConversionSvc. |
|
|
Retrieve the class type of the data store the converter uses.
Reimplemented in ConversionSvc. |
|
|
Set address creator facility.
Reimplemented in ConversionSvc. |
|
|
Set the transient data store to the service.
Reimplemented in ConversionSvc. |
|
|
Update a transient representation from another representation of this object. This entrypoint is used e.g. for the update of a transient object from its persistent representation. The information how to retrieve the object from the persistent store is passed in an opaque manner, hence shielding the service from the underlying technology.
Reimplemented in ConversionSvc. Referenced by DataSvc::updateObject(). |
|
|
Update the original representation of a collection of transient objects. This entrypoint is used e.g. for the update of a persistent objects from their transient representation. The transient representation of the object must have been created by the service before it can be updated. The selector indicates to the service which objects will have to be updated.
Reimplemented in ConversionSvc. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000