ROOT
master
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
public
:
15
virtual
PyObject
*
GetTypeName
();
16
17
public
:
18
virtual
PyCallable
*
Clone
() {
return
new
CPPClassMethod
(*
this
); }
19
virtual
PyObject
*
Call
(
CPPInstance
*&
self
,
20
CPyCppyy_PyArgs_t
args,
size_t
nargsf
,
PyObject
*
kwds
,
CallContext
*
ctxt
=
nullptr
);
21
};
22
23
}
// namespace CPyCppyy
24
25
#endif
// !CPYCPPYY_CPPCLASSMETHOD_H
CPPMethod.h
CPyCppyy_PyArgs_t
PyObject * CPyCppyy_PyArgs_t
Definition
CPyCppyy.h:330
PyObject
_object PyObject
Definition
PyMethodBase.h:36
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:18
CPyCppyy::CPPClassMethod::GetTypeName
virtual PyObject * GetTypeName()
Definition
CPPClassMethod.cxx:53
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:348
CPyCppyy::PyCallable
Definition
PyCallable.h:15
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
CPyCppyy
Definition
callcontext.h:10
CPyCppyy::CallContext
Definition
CallContext.h:52
bindings
pyroot
cppyy
CPyCppyy
src
CPPClassMethod.h
ROOT master - Reference Guide Generated on Sun May 18 2025 06:12:29 (GVA Time) using Doxygen 1.10.0