Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::CPPFunction Class Reference

Definition at line 11 of file CPPFunction.h.

Public Member Functions

virtual PyObjectCall (CPPInstance *&, PyObject *args, PyObject *kwds, CallContext *ctx=nullptr)
 
virtual PyCallableClone ()
 
 CPPMethod (const CPPMethod &)
 
 CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
- Public Member Functions inherited from CPyCppyy::CPPMethod
 CPPMethod (const CPPMethod &)
 
 CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
virtual ~CPPMethod ()
 
virtual PyObjectGetArgDefault (int iarg)
 
virtual PyObjectGetCoVarNames ()
 
virtual Cppyy::TCppFuncAddr_t GetFunctionAddress ()
 
virtual int GetMaxArgs ()
 
virtual int GetPriority ()
 
virtual PyObjectGetPrototype (bool show_formalargs=true)
 
virtual PyObjectGetScopeProxy ()
 
virtual PyObjectGetSignature (bool show_formalargs=true)
 
virtual bool IsGreedy ()
 
CPPMethodoperator= (const CPPMethod &)
 
- Public Member Functions inherited from CPyCppyy::PyCallable
virtual ~PyCallable ()
 
virtual PyObjectGetDocString ()
 

Protected Member Functions

virtual PyObjectPreProcessArgs (CPPInstance *&self, PyObject *args, PyObject *kwds)
 
- Protected Member Functions inherited from CPyCppyy::CPPMethod
bool ConvertAndSetArgs (PyObject *args, CallContext *ctxt=nullptr)
 
PyObjectExecute (void *self, ptrdiff_t offset, CallContext *ctxt=nullptr)
 
ExecutorGetExecutor ()
 
Cppyy::TCppMethod_t GetMethod ()
 
std::string GetReturnTypeName ()
 
Cppyy::TCppScope_t GetScope ()
 
std::string GetSignatureString (bool show_formalargs=true)
 
virtual bool InitExecutor_ (Executor *&, CallContext *ctxt=nullptr)
 
bool Initialize (CallContext *ctxt=nullptr)
 
PyObjectProcessKeywords (PyObject *self, PyObject *args, PyObject *kwds)
 
void SetMethod (Cppyy::TCppMethod_t m)
 

Additional Inherited Members

- Protected Attributes inherited from CPyCppyy::CPPMethod
int fArgsRequired
 

#include </home/sftnight/build/workspace/root-makedoc-v624/rootspi/rdoc/src/v6-24-00-patches/bindings/pyroot/cppyy/CPyCppyy/src/CPPFunction.h>

Inheritance diagram for CPyCppyy::CPPFunction:
[legend]

Member Function Documentation

◆ Call()

PyObject * CPyCppyy::CPPFunction::Call ( CPPInstance *&  self,
PyObject args,
PyObject kwds,
CallContext ctx = nullptr 
)
virtual

Reimplemented from CPyCppyy::CPPMethod.

Reimplemented in CPyCppyy::CPPReverseBinary.

Definition at line 29 of file CPPFunction.cxx.

◆ Clone()

virtual PyCallable * CPyCppyy::CPPFunction::Clone ( )
inlinevirtual

Reimplemented from CPyCppyy::CPPMethod.

Reimplemented in CPyCppyy::CPPReverseBinary.

Definition at line 15 of file CPPFunction.h.

◆ CPPMethod() [1/2]

CPyCppyy::CPPMethod::CPPMethod ( const CPPMethod other)

Definition at line 21 of file CPPMethod.cxx.

◆ CPPMethod() [2/2]

CPyCppyy::CPPMethod::CPPMethod ( Cppyy::TCppScope_t  scope,
Cppyy::TCppMethod_t  method 
)

Definition at line 20 of file CPPMethod.cxx.

◆ PreProcessArgs()

PyObject * CPyCppyy::CPPFunction::PreProcessArgs ( CPPInstance *&  self,
PyObject args,
PyObject kwds 
)
protectedvirtual

Reimplemented from CPyCppyy::CPPMethod.

Reimplemented in CPyCppyy::CPPReverseBinary.

Definition at line 8 of file CPPFunction.cxx.

  • bindings/pyroot/cppyy/CPyCppyy/src/CPPFunction.h
  • bindings/pyroot/cppyy/CPyCppyy/src/CPPFunction.cxx