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 *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=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, bool silent=true)
 
virtual int GetArgMatchScore (PyObject *args_tuple)
 
virtual PyObjectGetCoVarNames ()
 
virtual Cppyy::TCppFuncAddr_t GetFunctionAddress ()
 
virtual int GetMaxArgs ()
 
virtual int GetPriority ()
 
virtual PyObjectGetPrototype (bool show_formalargs=true)
 Construct a Python string from the method's prototype.
 
virtual PyObjectGetScopeProxy ()
 
virtual PyObjectGetSignature (bool show_formalargs=true)
 
virtual PyObjectGetTypeName ()
 
virtual bool IsConst ()
 
virtual bool IsGreedy ()
 
CPPMethodoperator= (const CPPMethod &)
 
virtual PyObjectReflex (Cppyy::Reflex::RequestId_t request, Cppyy::Reflex::FormatId_t=Cppyy::Reflex::OPTIMAL)
 
- Public Member Functions inherited from CPyCppyy::PyCallable
virtual ~PyCallable ()
 
virtual PyObjectGetDocString ()
 

Protected Member Functions

virtual bool ProcessArgs (PyCallArgs &args)
 
- Protected Member Functions inherited from CPyCppyy::CPPMethod
bool ConvertAndSetArgs (CPyCppyy_PyArgs_t, size_t nargsf, 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)
 
bool ProcessKwds (PyObject *self_in, PyCallArgs &args)
 

Additional Inherited Members

- Protected Attributes inherited from CPyCppyy::CPPMethod
int fArgsRequired
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/bindings/pyroot/cppyy/CPyCppyy/src/CPPFunction.h>

Inheritance diagram for CPyCppyy::CPPFunction:
[legend]

Member Function Documentation

◆ Call()

PyObject * CPyCppyy::CPPFunction::Call ( CPPInstance *&  self,
CPyCppyy_PyArgs_t  args,
size_t  nargsf,
PyObject kwds,
CallContext ctxt = nullptr 
)
virtual

Reimplemented from CPyCppyy::CPPMethod.

Reimplemented in CPyCppyy::CPPReverseBinary.

Definition at line 61 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 48 of file CPPMethod.cxx.

◆ CPPMethod() [2/2]

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

Definition at line 47 of file CPPMethod.cxx.

◆ ProcessArgs()

bool CPyCppyy::CPPFunction::ProcessArgs ( PyCallArgs args)
protectedvirtual

Reimplemented from CPyCppyy::CPPMethod.

Reimplemented in CPyCppyy::CPPReverseBinary.

Definition at line 52 of file CPPFunction.cxx.

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