unsigned int CLID
Class ID definition.
A DataObject is the base class of any identifiable object on any data store.
IAddressCreator interface definition.
The data converters are responsible to translate data from one representation into another.
virtual StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Update the references of an already converted object.
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Resolve the references of the created transient object.
virtual SmartIF< IAddressCreator > & addressCreator() const =0
Get address creation interface needed to resolve links between objects.
virtual StatusCode finalize()=0
Terminate the converter.
virtual StatusCode setDataProvider(IDataProviderSvc *pService)=0
Set Data provider service.
virtual StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *refpObject)=0
Update the transient object from the other representation.
virtual SmartIF< IDataProviderSvc > & dataProvider() const =0
Get Data provider service.
virtual StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject)=0
Create the transient representation of an object.
virtual SmartIF< IConversionSvc > & conversionSvc() const =0
Get conversion service the converter is connected to.
virtual StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject)=0
Update the converted representation of a transient object.
virtual StatusCode setConversionSvc(IConversionSvc *pService)=0
Set conversion service the converter is connected to.
virtual long repSvcType() const =0
Retrieve the class type of the data store the converter uses.
virtual StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Update the references of an updated transient object.
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)=0
Convert the transient object to the requested representation.
DeclareInterfaceID(IConverter, 3, 0)
InterfaceID.
virtual StatusCode initialize()=0
Initialize the converter.
virtual const CLID & objType() const =0
Retrieve the class type of objects the converter produces.
virtual StatusCode setAddressCreator(IAddressCreator *creator)=0
Set address creator facility.
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)=0
Resolve the references of the converted object.
Data provider interface definition.
Definition of the basic interface.
Opaque address interface definition.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.