ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
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
(
CPPInstance
*& self,
16
CPyCppyy_PyArgs_t
args,
size_t
nargsf,
PyObject
* kwds,
CallContext
* ctxt =
nullptr
);
17
};
18
19
}
// namespace CPyCppyy
20
21
#endif
// !CPYCPPYY_CPPCLASSMETHOD_H
CPPMethod.h
CPyCppyy_PyArgs_t
PyObject * CPyCppyy_PyArgs_t
Definition
CPyCppyy.h:330
PyObject
_object PyObject
Definition
PyMethodBase.h:43
CPyCppyy::CPPClassMethod
Definition
CPPClassMethod.h:10
CPyCppyy::CPPClassMethod::Call
virtual PyObject * Call(CPPInstance *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=nullptr)
Definition
CPPClassMethod.cxx:8
CPyCppyy::CPPClassMethod::Clone
virtual PyCallable * Clone()
Definition
CPPClassMethod.h:14
CPyCppyy::CPPInstance
Definition
CPPInstance.h:26
CPyCppyy::CPPMethod
Definition
CPPMethod.h:45
CPyCppyy::CPPMethod::CPPMethod
CPPMethod(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
Definition
CPPMethod.cxx:336
CPyCppyy::PyCallable
Definition
PyCallable.h:15
CPyCppyy
Definition
callcontext.h:10
CPyCppyy::CallContext
Definition
CallContext.h:48
bindings
pyroot
cppyy
CPyCppyy
src
CPPClassMethod.h
ROOT v6-32 - Reference Guide Generated on Fri Nov 1 2024 15:06:45 (GVA Time) using Doxygen 1.9.8