The Gaudi Framework
master (d98a2936)
RootUtils.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
// Framework include files
14
// #include "GaudiKernel/DataObject.h"
15
16
// Forward declarations
17
class
DataObject
;
18
19
// Functions imported from GaudiKernel
20
namespace
GaudiRoot
{
21
void
popCurrentDataObject
();
22
void
pushCurrentDataObject
(
DataObject
** pobjAddr );
23
}
// namespace GaudiRoot
24
25
namespace
{
26
36
struct
DataObjectPush {
38
DataObject
* m_p;
40
DataObjectPush(
DataObject
* p ) : m_p( p ) {
GaudiRoot::pushCurrentDataObject
( &m_p ); }
42
~DataObjectPush() {
GaudiRoot::popCurrentDataObject
(); }
43
};
44
}
// namespace
GaudiRoot
Definition:
RootCnvSvc.cpp:49
GaudiRoot::popCurrentDataObject
void popCurrentDataObject()
Definition:
RootIOHandler.cpp:48
GaudiRoot::pushCurrentDataObject
void pushCurrentDataObject(DataObject **pobjAddr)
Definition:
RootIOHandler.cpp:44
DataObject
Definition:
DataObject.h:37
RootCnv
src
RootUtils.h
Generated on Wed Aug 13 2025 09:05:06 for The Gaudi Framework by
1.8.18