ROOT
v6-28
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
(
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:43
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:295
CPyCppyy::PyCallable
Definition
PyCallable.h:12
CPyCppyy
Set of helper functions that are invoked from the pythonizors, on the Python side.
Definition
TPyClassGenerator.cxx:31
CPyCppyy::CallContext
Definition
CallContext.h:45
bindings
pyroot
cppyy
CPyCppyy
src
CPPClassMethod.h
ROOT v6-28 - Reference Guide Generated on Thu Oct 24 2024 01:48:59 (GVA Time) using Doxygen 1.9.8