Loading [MathJax]/extensions/tex2jax.js
ROOT
6.12/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
bindings
pyroot
src
TFunctionHolder.h
Go to the documentation of this file.
1
// Author: Wim Lavrijsen, Apr 2005
2
3
#ifndef PYROOT_TFUNCTIONHOLDER_H
4
#define PYROOT_TFUNCTIONHOLDER_H
5
6
// Bindings
7
#include "
TMethodHolder.h
"
8
9
10
namespace
PyROOT
{
11
12
class
TFunctionHolder
:
public
TMethodHolder
{
13
public
:
14
using
TMethodHolder::TMethodHolder
;
15
16
virtual
PyCallable
*
Clone
() {
return
new
TFunctionHolder
( *
this
); }
17
18
virtual
PyObject
*
PreProcessArgs
(
ObjectProxy
*&
self
,
PyObject
* args,
PyObject
* kwds );
19
virtual
PyObject
*
Call
(
20
ObjectProxy
*&,
PyObject
* args,
PyObject
* kwds,
TCallContext
* ctx = 0 );
21
};
22
23
}
// namespace PyROOT
24
25
#endif // !PYROOT_TFUNCTIONHOLDER_H
PyROOT::TFunctionHolder::PreProcessArgs
virtual PyObject * PreProcessArgs(ObjectProxy *&self, PyObject *args, PyObject *kwds)
verify existence of self, return if ok
Definition:
TFunctionHolder.cxx:10
PyROOT::TCallContext
Definition:
TCallContext.h:32
PyROOT::TMethodHolder
Definition:
TMethodHolder.h:20
PyROOT::TFunctionHolder::Call
virtual PyObject * Call(ObjectProxy *&, PyObject *args, PyObject *kwds, TCallContext *ctx=0)
preliminary check in case keywords are accidently used (they are ignored otherwise) ...
Definition:
TFunctionHolder.cxx:37
TMethodHolder.h
PyROOT::PyCallable
Definition:
PyCallable.h:15
PyROOT::TMethodHolder::TMethodHolder
TMethodHolder(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
Definition:
TMethodHolder.cxx:246
PyROOT
Definition:
TPyException.h:40
PyROOT::ObjectProxy
Definition:
ObjectProxy.h:28
PyROOT::TFunctionHolder::Clone
virtual PyCallable * Clone()
Definition:
TFunctionHolder.h:16
PyROOT::TFunctionHolder
Definition:
TFunctionHolder.h:12
PyObject
_object PyObject
Definition:
TPyArg.h:20