ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
PyObject
_object PyObject
Definition
IPyComponent.h:27
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
#define ATLAS_NO_CHECK_FILE_THREAD_SAFETY
Definition
checker_macros.h:209
RootUtils::PyROOTInspector
Definition
PyROOTInspector.h:22
RootUtils::PyROOTInspector::pyroot_inspect
static PyObject * pyroot_inspect(PyObject *obj, bool persistentOnly=false)
Definition
PyROOTInspector.cxx:444
RootUtils::PyROOTInspector::pyroot_inspect2
static PyObject * pyroot_inspect2(PyObject *obj, PyObject *obj_name, bool persistentOnly=false, bool retvecs=false)
Definition
PyROOTInspector.cxx:587
RootUtils
Definition
ILogger.h:20
Generated on
for ATLAS Offline Software by
1.17.0