Definition at line 28 of file CPPFunction.h.
#include </home/stephan/code/root-2/bindings/pyroot/cppyy/CPyCppyy/src/CPPFunction.h>
◆ Call()
◆ Clone()
| PyCallable * CPyCppyy::CPPReverseBinary::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
◆ ConvertAndSetArgs()
◆ Copy_()
| void CPyCppyy::CPPMethod::Copy_ |
( |
const CPPMethod & | | ) |
|
|
inlineprivateinherited |
◆ CPPMethod() [1/2]
◆ CPPMethod() [2/2]
◆ Destroy_()
| void CPyCppyy::CPPMethod::Destroy_ |
( |
| ) |
|
|
inlineprivateinherited |
◆ Execute()
| PyObject * CPyCppyy::CPPMethod::Execute |
( |
void * | self, |
|
|
ptrdiff_t | offset, |
|
|
CallContext * | ctxt = nullptr ) |
|
protectedinherited |
◆ ExecuteFast()
| PyObject * CPyCppyy::CPPMethod::ExecuteFast |
( |
void * | self, |
|
|
ptrdiff_t | offset, |
|
|
CallContext * | ctxt ) |
|
inlineprivateinherited |
◆ ExecuteProtected()
| PyObject * CPyCppyy::CPPMethod::ExecuteProtected |
( |
void * | self, |
|
|
ptrdiff_t | offset, |
|
|
CallContext * | ctxt ) |
|
inlineprivateinherited |
◆ GetArgDefault()
| PyObject * CPyCppyy::CPPMethod::GetArgDefault |
( |
int | iarg, |
|
|
bool | silent = true ) |
|
overridevirtualinherited |
◆ GetArgMatchScore()
| int CPyCppyy::CPPMethod::GetArgMatchScore |
( |
PyObject * | args_tuple | ) |
|
|
overridevirtualinherited |
◆ GetCoVarNames()
| PyObject * CPyCppyy::CPPMethod::GetCoVarNames |
( |
| ) |
|
|
overridevirtualinherited |
◆ GetDocString()
| virtual PyObject * CPyCppyy::PyCallable::GetDocString |
( |
| ) |
|
|
inlinevirtualinherited |
◆ GetExecutor()
| Executor * CPyCppyy::CPPMethod::GetExecutor |
( |
| ) |
|
|
inlineprotectedinherited |
◆ GetFunctionAddress()
◆ GetMaxArgs()
| int CPyCppyy::CPPMethod::GetMaxArgs |
( |
| ) |
|
|
overridevirtualinherited |
◆ GetMethod()
◆ GetPriority()
| int CPyCppyy::CPPMethod::GetPriority |
( |
| ) |
|
|
overridevirtualinherited |
◆ GetPrototype()
| PyObject * CPyCppyy::CPPMethod::GetPrototype |
( |
bool | fa = true | ) |
|
|
overridevirtualinherited |
Construct a Python string from the method's prototype.
- Parameters
-
| fa | Show formal arguments of the method |
- Returns
- PyObject* A Python string with the full method prototype, namespaces included.
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.
◆ GetReturnTypeName()
| std::string CPyCppyy::CPPMethod::GetReturnTypeName |
( |
| ) |
|
|
protectedinherited |
◆ GetScope()
◆ GetScopeProxy()
| PyObject * CPyCppyy::CPPMethod::GetScopeProxy |
( |
| ) |
|
|
overridevirtualinherited |
◆ GetSignature()
| PyObject * CPyCppyy::CPPMethod::GetSignature |
( |
bool | show_formalargs = true | ) |
|
|
overridevirtualinherited |
◆ GetSignatureNames()
| PyObject * CPyCppyy::CPPMethod::GetSignatureNames |
( |
| ) |
|
|
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.
◆ GetSignatureString()
| std::string CPyCppyy::CPPMethod::GetSignatureString |
( |
bool | show_formalargs = true | ) |
|
|
protectedinherited |
◆ GetSignatureTypes()
| PyObject * CPyCppyy::CPPMethod::GetSignatureTypes |
( |
| ) |
|
|
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.
◆ GetTypeName()
| PyObject * CPyCppyy::CPPFunction::GetTypeName |
( |
| ) |
|
|
overridevirtualinherited |
◆ InitConverters_()
| bool CPyCppyy::CPPMethod::InitConverters_ |
( |
| ) |
|
|
privateinherited |
◆ InitExecutor_()
|
|
protectedvirtualinherited |
◆ Initialize()
◆ IsConst()
| bool CPyCppyy::CPPMethod::IsConst |
( |
| ) |
|
|
overridevirtualinherited |
◆ IsGreedy()
| bool CPyCppyy::CPPMethod::IsGreedy |
( |
| ) |
|
|
overridevirtualinherited |
◆ ProcessArgs()
◆ ProcessKwds()
◆ Reflex()
◆ SetPyError_()
| void CPyCppyy::CPPMethod::SetPyError_ |
( |
PyObject * | msg | ) |
|
|
privateinherited |
◆ VerifyArgCount_()
◆ fArgIndices
| std::map<std::string, int>* CPyCppyy::CPPMethod::fArgIndices |
|
privateinherited |
◆ fArgsRequired
| int CPyCppyy::CPPMethod::fArgsRequired |
|
protectedinherited |
◆ fConverters
| std::vector<Converter*> CPyCppyy::CPPMethod::fConverters |
|
privateinherited |
◆ fExecutor
| Executor* CPyCppyy::CPPMethod::fExecutor |
|
privateinherited |
◆ fMethod
◆ fScope
The documentation for this class was generated from the following files: