| The Gaudi Framework v28r2p1 (f1a77ff4)

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

- File List
- File Members

RootUtils.h
Go to the documentation of this file.
1 #ifndef GAUDIROOTCNV_ROOTUTILS_H
2 #define GAUDIROOTCNV_ROOTUTILS_H
3
4 // Framework include files
5 //#include "GaudiKernel/DataObject.h"
6
7 // Forward declarations
8 class DataObject;
9
10 // Functions imported from GaudiKernel
11 namespace GaudiRoot {
12 void popCurrentDataObject();
13 void pushCurrentDataObject(DataObject** pobjAddr);
14 }
15
16 namespace {
17
27 struct DataObjectPush {
29 DataObject* m_p;
31 DataObjectPush(DataObject* p):m_p(p){GaudiRoot::pushCurrentDataObject(&m_p);}
33 ~DataObjectPush() { GaudiRoot::popCurrentDataObject(); }
34 };
35 }
36
37 #endif // GAUDIROOTCNV_ROOTUTILS_H
GaudiRoot::popCurrentDataObject
void popCurrentDataObject()
Definition: RootIOHandler.cpp:38
GaudiRoot
Definition: RootCnvSvc.cpp:40
GaudiRoot::pushCurrentDataObject
void pushCurrentDataObject(DataObject **pobjAddr)
Definition: RootIOHandler.cpp:34
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30