Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::CPPOperator Class Reference

Definition at line 13 of file CPPOperator.h.

Public Member Functions

 CPPOperator (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method, const std::string &name)
 
virtual PyObjectCall (CPPInstance *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=nullptr)
 
virtual PyCallableClone ()
 
- Public Member Functions inherited from CPyCppyy::CPPMethod
 CPPMethod (const CPPMethod &)
 
 CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
virtual ~CPPMethod ()
 
virtual PyObjectGetArgDefault (int iarg, bool silent=true)
 
virtual int GetArgMatchScore (PyObject *args_tuple)
 
virtual PyObjectGetCoVarNames ()
 
virtual Cppyy::TCppFuncAddr_t GetFunctionAddress ()
 
virtual int GetMaxArgs ()
 
virtual int GetPriority ()
 
virtual PyObjectGetPrototype (bool show_formalargs=true)
 Construct a Python string from the method's prototype.
 
virtual PyObjectGetScopeProxy ()
 
virtual PyObjectGetSignature (bool show_formalargs=true)
 
virtual PyObjectGetTypeName ()
 
virtual bool IsConst ()
 
virtual bool IsGreedy ()
 
CPPMethodoperator= (const CPPMethod &)
 
virtual PyObjectReflex (Cppyy::Reflex::RequestId_t request, Cppyy::Reflex::FormatId_t=Cppyy::Reflex::OPTIMAL)
 
- Public Member Functions inherited from CPyCppyy::PyCallable
virtual ~PyCallable ()
 
virtual PyObjectGetDocString ()
 

Private Attributes

binaryfunc fStub
 

Additional Inherited Members

- Protected Member Functions inherited from CPyCppyy::CPPMethod
bool ConvertAndSetArgs (CPyCppyy_PyArgs_t, size_t nargsf, CallContext *ctxt=nullptr)
 
PyObjectExecute (void *self, ptrdiff_t offset, CallContext *ctxt=nullptr)
 
ExecutorGetExecutor ()
 
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 bool ProcessArgs (PyCallArgs &args)
 
bool ProcessKwds (PyObject *self_in, PyCallArgs &args)
 
- Protected Attributes inherited from CPyCppyy::CPPMethod
int fArgsRequired
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/bindings/pyroot/cppyy/CPyCppyy/src/CPPOperator.h>

Inheritance diagram for CPyCppyy::CPPOperator:
[legend]

Constructor & Destructor Documentation

◆ CPPOperator()

CPyCppyy::CPPOperator::CPPOperator ( Cppyy::TCppScope_t  scope,
Cppyy::TCppMethod_t  method,
const std::string &  name 
)

Definition at line 8 of file CPPOperator.cxx.

Member Function Documentation

◆ Call()

PyObject * CPyCppyy::CPPOperator::Call ( CPPInstance *&  self,
CPyCppyy_PyArgs_t  args,
size_t  nargsf,
PyObject kwds,
CallContext ctxt = nullptr 
)
virtual

Reimplemented from CPyCppyy::CPPMethod.

Definition at line 30 of file CPPOperator.cxx.

◆ Clone()

virtual PyCallable * CPyCppyy::CPPOperator::Clone ( )
inlinevirtual

Reimplemented from CPyCppyy::CPPMethod.

Definition at line 18 of file CPPOperator.h.

Member Data Documentation

◆ fStub

binaryfunc CPyCppyy::CPPOperator::fStub
private

Definition at line 23 of file CPPOperator.h.

  • bindings/pyroot/cppyy/CPyCppyy/src/CPPOperator.h
  • bindings/pyroot/cppyy/CPyCppyy/src/CPPOperator.cxx