ROOT
v6-22
Reference Guide
CPPClassMethod.h
Go to the documentation of this file.
1
#ifndef CPYCPPYY_CPPCLASSMETHOD_H
2
#define CPYCPPYY_CPPCLASSMETHOD_H
3
4
// Bindings
5
#include "
CPPMethod.h
"
6
7
8
namespace
CPyCppyy
{
9
10
class
CPPClassMethod
:
public
CPPMethod
{
11
public
:
12
using
CPPMethod::CPPMethod
;
13
14
virtual
PyCallable
*
Clone
() {
return
new
CPPClassMethod
(*
this
); }
15
virtual
PyObject
*
Call
(
16
CPPInstance
*&,
PyObject
* args,
PyObject
* kwds,
CallContext
* ctxt =
nullptr
);
17
};
18
19
}
// namespace CPyCppyy
20
21
#endif
// !CPYCPPYY_CPPCLASSMETHOD_H
CPPMethod.h
PyObject
_object PyObject
Definition:
PyMethodBase.h:41
CPyCppyy::CPPClassMethod
Definition:
CPPClassMethod.h:10
CPyCppyy::CPPClassMethod::Call
virtual PyObject * Call(CPPInstance *&, PyObject *args, PyObject *kwds, CallContext *ctxt=nullptr)
Definition:
CPPClassMethod.cxx:7
CPyCppyy::CPPClassMethod::Clone
virtual PyCallable * Clone()
Definition:
CPPClassMethod.h:14
CPyCppyy::CPPInstance
Definition:
CPPInstance.h:26
CPyCppyy::CPPMethod
Definition:
CPPMethod.h:18
CPyCppyy::CPPMethod::CPPMethod
CPPMethod(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
Definition:
CPPMethod.cxx:290
CPyCppyy::PyCallable
Definition:
PyCallable.h:12
CPyCppyy
Definition:
TPython.cxx:99
CPyCppyy::CallContext
Definition:
CallContext.h:45
bindings
pyroot
cppyy
CPyCppyy
src
CPPClassMethod.h
ROOT v6-22 - Reference Guide Generated on Fri Apr 1 2022 11:50:21 (GVA Time) using Doxygen 1.9.4