Definition at line 18 of file CPPMethod.h.
Public Member Functions | |
CPPMethod (const CPPMethod &) | |
CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method) | |
virtual | ~CPPMethod () |
virtual PyObject * | Call (CPPInstance *&self, PyObject *args, PyObject *kwds, CallContext *ctxt=nullptr) |
virtual PyCallable * | Clone () |
virtual PyObject * | GetArgDefault (int iarg) |
virtual PyObject * | GetCoVarNames () |
virtual Cppyy::TCppFuncAddr_t | GetFunctionAddress () |
virtual int | GetMaxArgs () |
virtual int | GetPriority () |
virtual PyObject * | GetPrototype (bool show_formalargs=true) |
virtual PyObject * | GetScopeProxy () |
virtual PyObject * | GetSignature (bool show_formalargs=true) |
virtual bool | IsGreedy () |
CPPMethod & | operator= (const CPPMethod &) |
![]() | |
virtual | ~PyCallable () |
virtual PyObject * | GetDocString () |
Protected Member Functions | |
bool | ConvertAndSetArgs (PyObject *args, 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) |
virtual bool | InitExecutor_ (Executor *&, CallContext *ctxt=nullptr) |
bool | Initialize (CallContext *ctxt=nullptr) |
virtual PyObject * | PreProcessArgs (CPPInstance *&self, PyObject *args, PyObject *kwds) |
PyObject * | ProcessKeywords (PyObject *self, PyObject *args, PyObject *kwds) |
void | SetMethod (Cppyy::TCppMethod_t m) |
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) |
Private Attributes | |
std::map< std::string, int > * | fArgIndices |
std::vector< Converter * > | fConverters |
Executor * | fExecutor |
Cppyy::TCppMethod_t | fMethod |
Cppyy::TCppScope_t | fScope |
CPyCppyy::CPPMethod::CPPMethod | ( | Cppyy::TCppScope_t | scope, |
Cppyy::TCppMethod_t | method | ||
) |
Definition at line 295 of file CPPMethod.cxx.
CPyCppyy::CPPMethod::CPPMethod | ( | const CPPMethod & | other | ) |
Definition at line 304 of file CPPMethod.cxx.
|
virtual |
Definition at line 324 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Reimplemented in CPyCppyy::CPPAbstractClassConstructor, CPyCppyy::CPPNamespaceConstructor, CPyCppyy::CPPIncompleteClassConstructor, CPyCppyy::CPPFunction, CPyCppyy::CPPReverseBinary, CPyCppyy::CPPClassMethod, and CPyCppyy::CPPConstructor.
Definition at line 745 of file CPPMethod.cxx.
|
inlinevirtual |
Implements CPyCppyy::PyCallable.
Reimplemented in CPyCppyy::CPPClassMethod, CPyCppyy::CPPConstructor, CPyCppyy::CPPFunction, CPyCppyy::CPPReverseBinary, CPyCppyy::CPPSetItem, and CPyCppyy::CPPGetItem.
Definition at line 37 of file CPPMethod.h.
|
protected |
Definition at line 678 of file CPPMethod.cxx.
|
inlineprivate |
Definition at line 37 of file CPPMethod.cxx.
|
inlineprivate |
Definition at line 48 of file CPPMethod.cxx.
|
protected |
Definition at line 717 of file CPPMethod.cxx.
|
inlineprivate |
Definition at line 66 of file CPPMethod.cxx.
|
inlineprivate |
Definition at line 140 of file CPPMethod.cxx.
Implements CPyCppyy::PyCallable.
Definition at line 493 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 469 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 56 of file CPPMethod.h.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 525 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 463 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 51 of file CPPMethod.h.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 342 of file CPPMethod.cxx.
Implements CPyCppyy::PyCallable.
Definition at line 331 of file CPPMethod.cxx.
|
protected |
Definition at line 805 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 55 of file CPPMethod.h.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 517 of file CPPMethod.cxx.
Implements CPyCppyy::PyCallable.
Definition at line 798 of file CPPMethod.cxx.
|
protected |
Definition at line 207 of file CPPMethod.cxx.
|
private |
Definition at line 171 of file CPPMethod.cxx.
|
protectedvirtual |
Reimplemented in CPyCppyy::CPPConstructor, and CPyCppyy::CPPSetItem.
Definition at line 193 of file CPPMethod.cxx.
|
protected |
Definition at line 533 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 444 of file CPPMethod.cxx.
CPyCppyy::CPPMethod & CPyCppyy::CPPMethod::operator= | ( | const CPPMethod & | other | ) |
Definition at line 311 of file CPPMethod.cxx.
|
protectedvirtual |
Reimplemented in CPyCppyy::CPPFunction, CPyCppyy::CPPReverseBinary, CPyCppyy::CPPSetItem, and CPyCppyy::CPPGetItem.
Definition at line 631 of file CPPMethod.cxx.
|
protected |
Definition at line 552 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 54 of file CPPMethod.h.
|
private |
Definition at line 234 of file CPPMethod.cxx.
|
private |
Definition at line 81 of file CPPMethod.h.
|
protected |
Definition at line 85 of file CPPMethod.h.
|
private |
Definition at line 80 of file CPPMethod.h.
|
private |
Definition at line 77 of file CPPMethod.h.
|
private |
Definition at line 75 of file CPPMethod.h.
|
private |
Definition at line 76 of file CPPMethod.h.