ROOT
6.10/09
Reference Guide
bindings
pyroot
src
TClassMethodHolder.h
Go to the documentation of this file.
1
// @(#)root/pyroot:$Id$
2
// Author: Wim Lavrijsen, Aug 2004
3
4
#ifndef PYROOT_TCLASSMETHODHOLDER_H
5
#define PYROOT_TCLASSMETHODHOLDER_H
6
7
// Bindings
8
#include "
TMethodHolder.h
"
9
10
11
namespace
PyROOT
{
12
13
class
TClassMethodHolder
:
public
TMethodHolder
{
14
public
:
15
using
TMethodHolder::TMethodHolder
;
16
17
virtual
PyCallable
*
Clone
() {
return
new
TClassMethodHolder
( *
this
); }
18
virtual
PyObject
*
Call
(
19
ObjectProxy
*&,
PyObject
* args,
PyObject
* kwds,
TCallContext
* ctxt = 0 );
20
};
21
22
}
// namespace PyROOT
23
24
#endif // !PYROOT_TCLASSMETHODHOLDER_H
PyROOT::TCallContext
Definition:
TCallContext.h:32
PyROOT::TMethodHolder
Definition:
TMethodHolder.h:20
PyROOT::TClassMethodHolder::Call
virtual PyObject * Call(ObjectProxy *&, PyObject *args, PyObject *kwds, TCallContext *ctxt=0)
preliminary check in case keywords are accidently used (they are ignored otherwise) ...
Definition:
TClassMethodHolder.cxx:10
PyROOT::TClassMethodHolder::Clone
virtual PyCallable * Clone()
Definition:
TClassMethodHolder.h:17
TMethodHolder.h
PyROOT::TClassMethodHolder
Definition:
TClassMethodHolder.h:13
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
PyObject
_object PyObject
Definition:
TPyArg.h:20