| The Gaudi Framework v32r1 (f65d50dc)

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 } // namespace GaudiRoot
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 } // namespace
36
37 #endif // GAUDIROOTCNV_ROOTUTILS_H
GaudiRoot::popCurrentDataObject
void popCurrentDataObject()
Definition: RootIOHandler.cpp:38
GaudiRoot
Definition: RootCnvSvc.cpp:39
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