7 #ifndef GAUDIROOTCNV_ROOTCONVERTER_H
8 #define GAUDIROOTCNV_ROOTCONVERTER_H
11 #include "GaudiKernel/Converter.h"
12 #include "RootCnv/RootCnvSvc.h"
49 :
Converter(typ, clid, svc), m_dbMgr(mgr) {}
55 virtual long repSvcType()
const {
return i_repSvcType(); }
65 {
return m_dbMgr->i__createObj(pAddr, refpObj); }
75 {
return m_dbMgr->i__fillObjRefs(pAddr, pObj); }
86 {
return m_dbMgr->i__createRep(pObj, refpAddr); }
96 {
return m_dbMgr->i__fillRepRefs(pAddr, pObj); }
100 #endif // GAUDIROOTCNV_ROOTCONVERTER_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual ~RootConverter()
Standard Destructor.
RootConverter(long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr)
Initializing Constructor.
This class is used for returning status codes from appropriate routines.
virtual long repSvcType() const
Retrieve the class type of the data store the converter uses.
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddr, DataObject *pObj)
Resolve the references of the created transient object.
unsigned int CLID
Class ID definition.
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddr, DataObject *pObj)
Resolve the references of the created transient object.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj)
Converter overrides: Create transient object from persistent data.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr)
Converter overrides: Convert the transient object to the requested representation.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
Helper functions to set/get the application return code.