| # 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
RootNTupleCnv.h
Go to the documentation of this file.
1 // $Id: RootNTupleCnv.h,v 1.3 2010-08-24 23:30:32 frankb Exp $
2 //====================================================================
3 // NTuple converter class definition
4 //--------------------------------------------------------------------
5 //
6 // Author : M.Frank
7 //
8 //====================================================================
9 #ifndef GAUDIROOTCNV_ROOTNTUPLECNV_H
10 #define GAUDIROOTCNV_ROOTNTUPLECNV_H 1
11
12 // Include files
13 #include "RootCnv/RootStatCnv.h"
14
15 // Forward declarations
16 class INTuple;
17 class TBranch;
18
19 /*
20 * Gaudi namespace declaration
21 */
22 namespace Gaudi {
23
35 class GAUDI_API RootNTupleCnv: public RootStatCnv {
36 protected:
37
39 StatusCode i__updateObjRoot(RootAddress* rpA, INTuple* tupl, TTree* tree, RootDataConnection* con);
40
41 #ifdef __POOL_COMPATIBILITY
42
43 StatusCode i__updateObjPool(RootAddress* rpA, INTuple* tupl, TTree* tree, RootDataConnection* con);
44 #endif
45
46 public:
48
55 RootNTupleCnv(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr)
56 : RootStatCnv(typ, clid, svc, mgr) {}
57
59 virtual ~RootNTupleCnv() {}
60
70 virtual StatusCode createRep( DataObject* pObj,IOpaqueAddress*& refpAdd);
71
73
79 virtual StatusCode fillRepRefs( IOpaqueAddress* pAdd,DataObject* pObj);
80
89 virtual StatusCode createObj( IOpaqueAddress* pAddress,
90 DataObject*& refpObject);
91
100 virtual StatusCode fillObjRefs( IOpaqueAddress* /* pAddress */,
101 DataObject* /* pObject */)
102 { return StatusCode::SUCCESS; }
103
111 virtual StatusCode updateObj( IOpaqueAddress* pAddress,
112 DataObject* pObject);
113
122 virtual StatusCode updateObjRefs( IOpaqueAddress* /* pAddress */,
123 DataObject* /* pObject */ )
124 { return StatusCode::SUCCESS; }
125
134 virtual StatusCode updateRep( IOpaqueAddress* /* pAddress */,
135 DataObject* /* pObject */)
136 { return StatusCode::SUCCESS; }
137
146 virtual StatusCode updateRepRefs( IOpaqueAddress* /* pAddress */,
147 DataObject* /* pObject */ )
148 { return StatusCode::SUCCESS; }
149 };
150 }
151
152 #endif // GAUDIROOTCNV_ROOTNTUPLECNV_H