Go to the documentation of this file.
115 : m_storageType( storage_type ), m_classType( class_type ), m_svcLocator( svc ) {}
SmartIF< IService > service(std::string_view name, const bool quiet=false, const bool createIf=true) const
SmartIF< IConversionSvc > m_conversionSvc
Pointer to the connected conversion service.
SmartIF< IDataProviderSvc > & dataProvider() const override
Get Data provider service.
StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Update the references of an updated transient object.
StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Resolve the references of the created transient object.
StatusCode setAddressCreator(IAddressCreator *creator) override
Set address creator facility.
StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Resolve the references of the converted object.
SmartIF< IAddressCreator > & addressCreator() const override
Retrieve address creator facility.
StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *refpObject) override
Update the transient object from the other representation.
StatusCode setDataProvider(IDataProviderSvc *svc) override
Set Data provider service.
SmartIF< IDataManagerSvc > & dataManager() const
Get Data Manager service.
SmartIF< IAddressCreator > m_addressCreator
Pointer to the address creation service interface.
SmartIF< IDataProviderSvc > m_dataProvider
Pointer to data provider service.
SmartIF< IConversionSvc > & conversionSvc() const override
Get conversion service the converter is connected to.
SmartIF< IDataManagerSvc > m_dataManager
Pointer to data manager service.
an helper to share the implementation of service() among the various kernel base classes
SmartIF< ISvcLocator > & serviceLocator() const
Retrieve pointer to service locator.
unsigned int CLID
Class ID definition.
virtual long i_repSvcType() const
Retrieve the class type of the data store the converter uses.
const CLID & objType() const override
Retrieve the class type of objects the converter produces.
Converter(long storage_type, const CLID &class_type, ISvcLocator *svc=0)
Standard Constructor.
StatusCode setConversionSvc(IConversionSvc *svc) override
Set conversion service the converter is connected to.
SmartIF< IService > service(const std::string &name, const bool createIf=true) const
Return a pointer to the service identified by name (or "type/name")
SmartIF< ISvcLocator > m_svcLocator
Service Locator reference.
StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject) override
Update the references of an already converted object.
constexpr static const auto SUCCESS
SmartIF< IMessageSvc > m_messageSvc
MessageSvc reference.
long m_storageType
Storage type.
StatusCode initialize() override
Initialize the converter.
SmartIF< IMessageSvc > & msgSvc() const
Retrieve pointer to message service.
constexpr static const auto FAILURE
const CLID m_classType
Class type the converter can handle.
StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject) override
Create the transient representation of an object.
StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress) override
Convert the transient object to the requested representation.
StatusCode finalize() override
Initialize the converter.
StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject) override
Update the converted representation of a transient object.