| The Gaudi Framework v29r1 (5cd95fa2)

- 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 {
13 void popCurrentDataObject();
14 void pushCurrentDataObject( DataObject** pobjAddr );
15 }
16
17 namespace
18 {
19
29 struct DataObjectPush {
31 DataObject* m_p;
33 DataObjectPush( DataObject* p ) : m_p( p ) { GaudiRoot::pushCurrentDataObject( &m_p ); }
35 ~DataObjectPush() { GaudiRoot::popCurrentDataObject(); }
36 };
37 }
38
39 #endif // GAUDIROOTCNV_ROOTUTILS_H
GaudiRoot::popCurrentDataObject
void popCurrentDataObject()
Definition: RootIOHandler.cpp:41
GaudiRoot
Definition: RootCnvSvc.cpp:40
GaudiRoot::pushCurrentDataObject
void pushCurrentDataObject(DataObject **pobjAddr)
Definition: RootIOHandler.cpp:36
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29