ATLAS Offline Software
Control
RootUtils
RootUtils
PyROOTInspector.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef ROOTUTILS_PYROOTINSPECTOR_H
8
#define ROOTUTILS_PYROOTINSPECTOR_H 1
9
10
// Interacts with python, so only excuted single-threaded (GIL).
11
#include "
CxxUtils/checker_macros.h
"
12
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
;
13
14
#ifdef _POSIX_C_SOURCE
15
# undef _POSIX_C_SOURCE
16
#endif
17
#include "Python.h"
18
19
namespace
RootUtils
{
20
21
class
PyROOTInspector
22
{
23
public
:
24
static
25
PyObject
*
pyroot_inspect
(
PyObject
*
obj
,
26
bool
persistentOnly =
false
);
27
28
static
29
PyObject
*
pyroot_inspect2
(
PyObject
*
obj
,
30
PyObject
*obj_name,
31
bool
persistentOnly =
false
,
32
bool
retvecs =
false
);
33
34
};
35
36
}
// namespace RootUtils
37
38
#endif // not ROOTUTILS_PYROOTINSPECTOR_H
RootUtils::PyROOTInspector::pyroot_inspect
static PyObject * pyroot_inspect(PyObject *obj, bool persistentOnly=false)
Definition:
PyROOTInspector.cxx:427
RootUtils
Definition:
ILogger.h:20
RootUtils::PyROOTInspector
Definition:
PyROOTInspector.h:22
RootUtils::PyROOTInspector::pyroot_inspect2
static PyObject * pyroot_inspect2(PyObject *obj, PyObject *obj_name, bool persistentOnly=false, bool retvecs=false)
Definition:
PyROOTInspector.cxx:570
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
Definition:
PyROOTInspector.h:12
checker_macros.h
Define macros for attributes used to control the static checker.
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
PyObject
_object PyObject
Definition:
IPyComponent.h:26
Generated on Thu Nov 7 2024 21:24:18 for ATLAS Offline Software by
1.8.18