Definition at line 56 of file CPPConstructor.h.
Public Member Functions | |
| PyObject * | Call (CPPInstance *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=nullptr) override |
| PyCallable * | Clone () override |
| CPPMethod (const CPPMethod &) | |
| CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method) | |
| PyObject * | GetArgDefault (int iarg, bool silent=true) override |
| int | GetArgMatchScore (PyObject *args_tuple) override |
| PyObject * | GetCoVarNames () override |
| PyObject * | GetDocString () override |
| Cppyy::TCppFuncAddr_t | GetFunctionAddress () override |
| int | GetMaxArgs () override |
| int | GetPriority () override |
| PyObject * | GetPrototype (bool show_formalargs=true) override |
| Construct a Python string from the method's prototype. | |
| PyObject * | GetScopeProxy () override |
| PyObject * | GetSignature (bool show_formalargs=true) override |
| PyObject * | GetSignatureNames () override |
| Returns a tuple with the names of the input parameters of this method. | |
| PyObject * | GetSignatureTypes () override |
| Returns a dictionary with the types of the signature of this method. | |
| PyObject * | GetTypeName () override |
| bool | IsConst () override |
| bool | IsGreedy () override |
| PyObject * | Reflex (Cppyy::Reflex::RequestId_t, Cppyy::Reflex::FormatId_t=Cppyy::Reflex::OPTIMAL) override |
Protected Member Functions | |
| bool | ConvertAndSetArgs (CPyCppyy_PyArgs_t, size_t nargsf, CallContext *ctxt=nullptr) |
| PyObject * | Execute (void *self, ptrdiff_t offset, CallContext *ctxt=nullptr) |
| Executor * | GetExecutor () |
| Cppyy::TCppMethod_t | GetMethod () |
| std::string | GetReturnTypeName () |
| Cppyy::TCppScope_t | GetScope () |
| std::string | GetSignatureString (bool show_formalargs=true) |
| bool | InitExecutor_ (Executor *&, CallContext *ctxt=nullptr) override |
| bool | Initialize (CallContext *ctxt=nullptr) |
| virtual bool | ProcessArgs (PyCallArgs &args) |
| bool | ProcessKwds (PyObject *self_in, PyCallArgs &args) |
Protected Attributes | |
| int | fArgsRequired |
Private Member Functions | |
| void | Copy_ (const CPPMethod &) |
| void | Destroy_ () |
| PyObject * | ExecuteFast (void *, ptrdiff_t, CallContext *) |
| PyObject * | ExecuteProtected (void *, ptrdiff_t, CallContext *) |
| bool | InitConverters_ () |
| void | SetPyError_ (PyObject *msg) |
| bool | VerifyArgCount_ (Py_ssize_t) |
Private Attributes | |
| std::map< std::string, int > * | fArgIndices |
| std::vector< Converter * > | fConverters |
| Executor * | fExecutor |
| Cppyy::TCppMethod_t | fMethod |
| Cppyy::TCppScope_t | fScope |
#include </home/stephan/code/root-2/bindings/pyroot/cppyy/CPyCppyy/src/CPPConstructor.h>
|
overridevirtual |
Reimplemented from CPyCppyy::CPPConstructor.
Definition at line 357 of file CPPConstructor.cxx.
|
inlineoverridevirtual |
Reimplemented from CPyCppyy::CPPConstructor.
Definition at line 61 of file CPPConstructor.h.
|
protectedinherited |
Definition at line 975 of file CPPMethod.cxx.
|
inlineprivateinherited |
Definition at line 88 of file CPPMethod.cxx.
|
inherited |
Definition at line 48 of file CPPMethod.cxx.
|
inherited |
Definition at line 47 of file CPPMethod.cxx.
|
inlineprivateinherited |
Definition at line 99 of file CPPMethod.cxx.
|
protectedinherited |
Definition at line 1002 of file CPPMethod.cxx.
|
inlineprivateinherited |
Definition at line 115 of file CPPMethod.cxx.
|
inlineprivateinherited |
Definition at line 194 of file CPPMethod.cxx.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 634 of file CPPMethod.cxx.
Reimplemented from CPyCppyy::PyCallable.
Definition at line 741 of file CPPMethod.cxx.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 610 of file CPPMethod.cxx.
|
overridevirtualinherited |
Reimplemented from CPyCppyy::PyCallable.
Definition at line 30 of file CPPConstructor.cxx.
|
inlineprotectedinherited |
Definition at line 90 of file CPPMethod.h.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 734 of file CPPMethod.cxx.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 604 of file CPPMethod.cxx.
|
inlineprotectedinherited |
Definition at line 88 of file CPPMethod.h.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 479 of file CPPMethod.cxx.
Construct a Python string from the method's prototype.
| fa | Show formal arguments of the method |
For example, given:
int foo(int x);
namespace a { namespace b { namespace c { int foo(int x); }}}
This function returns:
'int foo(int x)' 'int a::b::c::foo(int x)'
Implements CPyCppyy::PyCallable.
Definition at line 429 of file CPPMethod.cxx.
|
protectedinherited |
Definition at line 1146 of file CPPMethod.cxx.
|
inlineprotectedinherited |
Definition at line 89 of file CPPMethod.h.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 726 of file CPPMethod.cxx.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 1075 of file CPPMethod.cxx.
|
overridevirtualinherited |
Returns a tuple with the names of the input parameters of this method.
For example given a function with prototype:
double foo(int a, float b, double c)
this function returns:
('a', 'b', 'c')
Implements CPyCppyy::PyCallable.
Definition at line 1092 of file CPPMethod.cxx.
|
protectedinherited |
Definition at line 268 of file CPPMethod.cxx.
|
overridevirtualinherited |
Returns a dictionary with the types of the signature of this method.
This dictionary will store both the return type and the input parameter types of this method, respectively with keys "return_type" and "input_types", for example given a function with prototype:
double foo(int a, float b, double c)
this function returns:
{'input_types': ('int', 'float', 'double'), 'return_type': 'double'}
Implements CPyCppyy::PyCallable.
Definition at line 1120 of file CPPMethod.cxx.
|
overridevirtualinherited |
Reimplemented from CPyCppyy::PyCallable.
Definition at line 447 of file CPPMethod.cxx.
|
privateinherited |
Definition at line 232 of file CPPMethod.cxx.
|
overrideprotectedvirtualinherited |
Reimplemented from CPyCppyy::CPPMethod.
Definition at line 22 of file CPPConstructor.cxx.
|
protectedinherited |
Definition at line 775 of file CPPMethod.cxx.
|
overridevirtualinherited |
Reimplemented from CPyCppyy::PyCallable.
Definition at line 720 of file CPPMethod.cxx.
|
overridevirtualinherited |
Implements CPyCppyy::PyCallable.
Definition at line 585 of file CPPMethod.cxx.
|
protectedvirtualinherited |
Reimplemented in CPyCppyy::CPPFunction, CPyCppyy::CPPGetItem, CPyCppyy::CPPReverseBinary, and CPyCppyy::CPPSetItem.
Definition at line 922 of file CPPMethod.cxx.
|
protectedinherited |
Definition at line 794 of file CPPMethod.cxx.
|
overridevirtualinherited |
Reimplemented from CPyCppyy::PyCallable.
Definition at line 39 of file CPPConstructor.cxx.
|
privateinherited |
Definition at line 275 of file CPPMethod.cxx.
|
inlineprivateinherited |
Definition at line 68 of file CPPMethod.cxx.
|
privateinherited |
Definition at line 116 of file CPPMethod.h.
|
protectedinherited |
Definition at line 120 of file CPPMethod.h.
|
privateinherited |
Definition at line 115 of file CPPMethod.h.
|
privateinherited |
Definition at line 112 of file CPPMethod.h.
|
privateinherited |
Definition at line 110 of file CPPMethod.h.
|
privateinherited |
Definition at line 111 of file CPPMethod.h.