| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RootConverter.h
Go to the documentation of this file.
1 // $Id: RootConverter.h,v 1.5 2010-08-24 14:03:03 frankb Exp $
2 //====================================================================
3 // RootConverter class definition
4 //
5 // Author : M.Frank
6 //====================================================================
7 #ifndef GAUDIROOTCNV_ROOTCONVERTER_H
8 #define GAUDIROOTCNV_ROOTCONVERTER_H
9
10 // Framework include files
11 #include "GaudiKernel/Converter.h"
12 #include "RootCnv/RootCnvSvc.h"
13
14 /*
15 * Gaudi namespace declaration
16 */
17 namespace Gaudi {
18
33 class GAUDI_API RootConverter : public Converter {
34 protected:
35
37 RootCnvSvc* m_dbMgr;
38
39 public:
40
48 RootConverter(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr)
49 : Converter(typ, clid, svc), m_dbMgr(mgr) {}
50
52 virtual ~RootConverter() {}
53
55 virtual long repSvcType() const { return i_repSvcType(); }
56
64 virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& refpObj)
65 { return m_dbMgr->i__createObj(pAddr, refpObj); }
66
74 virtual StatusCode fillObjRefs(IOpaqueAddress* pAddr, DataObject* pObj)
75 { return m_dbMgr->i__fillObjRefs(pAddr, pObj); }
76
85 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& refpAddr)
86 { return m_dbMgr->i__createRep(pObj, refpAddr); }
87
95 virtual StatusCode fillRepRefs(IOpaqueAddress* pAddr, DataObject* pObj)
96 { return m_dbMgr->i__fillRepRefs(pAddr, pObj); }
97 };
98 }
99
100 #endif // GAUDIROOTCNV_ROOTCONVERTER_H