Logo ROOT   6.16/01
Reference Guide
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
10namespace PyROOT {
11
13 public:
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
_object PyObject
Definition: TPyArg.h:20
virtual PyObject * PreProcessArgs(ObjectProxy *&self, PyObject *args, PyObject *kwds)
verify existence of self, return if ok
virtual PyObject * Call(ObjectProxy *&, PyObject *args, PyObject *kwds, TCallContext *ctx=0)
preliminary check in case keywords are accidently used (they are ignored otherwise)
virtual PyCallable * Clone()
TMethodHolder(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)