Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | List of all members
PyROOT::TFunctionHolder Class Reference

Definition at line 12 of file TFunctionHolder.h.

Public Member Functions

virtual PyObjectCall (ObjectProxy *&, PyObject *args, PyObject *kwds, TCallContext *ctx=0)
 preliminary check in case keywords are accidently used (they are ignored otherwise) More...
 
virtual PyCallableClone ()
 
virtual PyObjectPreProcessArgs (ObjectProxy *&self, PyObject *args, PyObject *kwds)
 verify existence of self, return if ok More...
 
 TMethodHolder (const TMethodHolder &)
 
 TMethodHolder (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
- Public Member Functions inherited from PyROOT::TMethodHolder
 TMethodHolder (const TMethodHolder &)
 
 TMethodHolder (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
virtual ~TMethodHolder ()
 destructor More...
 
virtual PyObjectCall (ObjectProxy *&self, PyObject *args, PyObject *kwds, TCallContext *ctxt=0)
 preliminary check in case keywords are accidently used (they are ignored otherwise) More...
 
virtual PyCallableClone ()
 
virtual Bool_t ConvertAndSetArgs (PyObject *args, TCallContext *ctxt=0)
 
virtual PyObjectExecute (void *self, ptrdiff_t offset, TCallContext *ctxt=0)
 call the interface method More...
 
virtual PyObjectGetArgDefault (Int_t iarg)
 get the default value (if any) of argument iarg of this method More...
 
virtual PyObjectGetCoVarNames ()
 Build a tuple of the argument types/names. More...
 
virtual Int_t GetMaxArgs ()
 
virtual Int_t GetPriority ()
 Method priorities exist (in lieu of true overloading) there to prevent void* or <unknown>* from usurping otherwise valid calls. More...
 
virtual PyObjectGetPrototype ()
 
virtual PyObjectGetScopeProxy ()
 Get or build the scope of this method. More...
 
virtual PyObjectGetSignature ()
 
virtual Bool_t Initialize (TCallContext *ctxt=0)
 done if cache is already setup More...
 
TMethodHolderoperator= (const TMethodHolder &)
 assignment operator More...
 
virtual PyObjectPreProcessArgs (ObjectProxy *&self, PyObject *args, PyObject *kwds)
 verify existence of self, return if ok More...
 
- Public Member Functions inherited from PyROOT::PyCallable
virtual ~PyCallable ()
 
virtual PyObjectCall (ObjectProxy *&self, PyObject *args, PyObject *kwds, TCallContext *ctxt=0)=0
 
virtual PyCallableClone ()=0
 
virtual PyObjectGetArgDefault (Int_t)=0
 
virtual PyObjectGetCoVarNames ()=0
 
virtual PyObjectGetDocString ()
 
virtual Int_t GetMaxArgs ()=0
 
virtual Int_t GetPriority ()=0
 
virtual PyObjectGetPrototype ()=0
 
virtual PyObjectGetScopeProxy ()=0
 
virtual PyObjectGetSignature ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from PyROOT::TMethodHolder
TExecutorGetExecutor ()
 
Cppyy::TCppMethod_t GetMethod ()
 
std::string GetReturnTypeName ()
 
Cppyy::TCppScope_t GetScope ()
 
std::string GetSignatureString ()
 built a signature representation (used for doc strings) More...
 
virtual Bool_t InitExecutor_ (TExecutor *&, TCallContext *ctxt=0)
 install executor conform to the return type More...
 

#include </home/sftnight/build/workspace/root-makedoc-v618/rootspi/rdoc/src/v6-18-00-patches/bindings/pyroot/src/TFunctionHolder.h>

Inheritance diagram for PyROOT::TFunctionHolder:
[legend]

Member Function Documentation

◆ Call()

PyObject * PyROOT::TFunctionHolder::Call ( ObjectProxy *&  self,
PyObject args,
PyObject kwds,
TCallContext ctx = 0 
)
virtual

preliminary check in case keywords are accidently used (they are ignored otherwise)

Reimplemented from PyROOT::TMethodHolder.

Definition at line 37 of file TFunctionHolder.cxx.

◆ Clone()

virtual PyCallable * PyROOT::TFunctionHolder::Clone ( )
inlinevirtual

Reimplemented from PyROOT::TMethodHolder.

Definition at line 16 of file TFunctionHolder.h.

◆ PreProcessArgs()

PyObject * PyROOT::TFunctionHolder::PreProcessArgs ( ObjectProxy *&  self,
PyObject args,
PyObject kwds 
)
virtual

verify existence of self, return if ok

Reimplemented from PyROOT::TMethodHolder.

Definition at line 10 of file TFunctionHolder.cxx.

◆ TMethodHolder() [1/2]

PyROOT::TMethodHolder::TMethodHolder ( const TMethodHolder other)

Definition at line 23 of file TMethodHolder.cxx.

◆ TMethodHolder() [2/2]

PyROOT::TMethodHolder::TMethodHolder ( Cppyy::TCppScope_t  scope,
Cppyy::TCppMethod_t  method 
)

Definition at line 22 of file TMethodHolder.cxx.


The documentation for this class was generated from the following files: