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 int | GetArgMatchScore (PyObject *args_tuple) |
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 | IsConst () |
virtual bool | IsGreedy () |
CPPMethod & | operator= (const CPPMethod &) |
virtual PyObject * | Reflex (Cppyy::Reflex::RequestId_t request, Cppyy::Reflex::FormatId_t=Cppyy::Reflex::OPTIMAL) |
Public Member Functions inherited from CPyCppyy::PyCallable | |
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 803 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 41 of file CPPMethod.h.
|
protected |
Definition at line 736 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 775 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 514 of file CPPMethod.cxx.
Reimplemented from CPyCppyy::PyCallable.
Definition at line 557 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 490 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 62 of file CPPMethod.h.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 550 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 484 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 57 of file CPPMethod.h.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 363 of file CPPMethod.cxx.
Implements CPyCppyy::PyCallable.
Definition at line 331 of file CPPMethod.cxx.
|
protected |
Definition at line 863 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 61 of file CPPMethod.h.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 542 of file CPPMethod.cxx.
Implements CPyCppyy::PyCallable.
Definition at line 856 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 591 of file CPPMethod.cxx.
|
virtual |
Reimplemented from CPyCppyy::PyCallable.
Definition at line 537 of file CPPMethod.cxx.
|
virtual |
Implements CPyCppyy::PyCallable.
Definition at line 465 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 689 of file CPPMethod.cxx.
|
protected |
Definition at line 610 of file CPPMethod.cxx.
|
virtual |
Reimplemented from CPyCppyy::PyCallable.
Reimplemented in CPyCppyy::CPPConstructor.
Definition at line 341 of file CPPMethod.cxx.
|
inlineprotected |
Definition at line 60 of file CPPMethod.h.
|
private |
Definition at line 234 of file CPPMethod.cxx.
|
private |
Definition at line 87 of file CPPMethod.h.
|
protected |
Definition at line 91 of file CPPMethod.h.
|
private |
Definition at line 86 of file CPPMethod.h.
|
private |
Definition at line 83 of file CPPMethod.h.
|
private |
Definition at line 81 of file CPPMethod.h.
|
private |
Definition at line 82 of file CPPMethod.h.