57 static void ExecScript(
const char *
name,
int argc = 0,
const char **argv =
nullptr);
60 static Bool_t Exec(
const char *cmd, std::any *
result =
nullptr, std::string
const& resultName=
"_anyresult");
63 static const TPyReturn Eval(
const char *expr)
R__DEPRECATED(6,36,
"Use TPython::Exec() with an std::any output parameter instead.");
80 static void *CPPInstance_AsVoidPtr(
PyObject *pyobject);
83 static PyObject *CPPInstance_FromVoidPtr(
void *addr,
const char *classname,
Bool_t python_owns =
kFALSE);
#define R__DEPRECATED(MAJOR, MINOR, REASON)
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Mother of all ROOT objects.
Accessing the Python interpreter from C++.
static void ExecScript(const char *name, int argc=0, const char **argv=nullptr)
Execute a python stand-alone script, with argv CLI arguments.
static Bool_t Import(const char *name)
Import the named python module and create Cling equivalents for its classes and methods.
static void LoadMacro(const char *name)
Execute the give python script as if it were a macro (effectively an execfile in main),...
static Bool_t Exec(const char *cmd, std::any *result=nullptr, std::string const &resultName="_anyresult")
Executes a Python command within the current Python environment.
static const TPyReturn Eval(const char *expr) R__DEPRECATED(6
Evaluate a python expression (e.g.
static Bool_t Initialize()
Initialization method: setup the python interpreter and load the ROOT module.
void SwapWithObjAtAddr(T &a, std::intptr_t b)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...