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

Definition at line 29 of file CPPConstructor.h.

Public Member Functions

 CPPMultiConstructor (const CPPMultiConstructor &)
 
 CPPMultiConstructor (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
PyObjectCall (CPPInstance *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=nullptr) override
 
PyCallableClone () override
 
CPPMultiConstructoroperator= (const CPPMultiConstructor &)
 
- Public Member Functions inherited from CPyCppyy::CPPConstructor
 CPPMethod (const CPPMethod &)
 
 CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
PyObjectGetDocString () override
 
PyObjectReflex (Cppyy::Reflex::RequestId_t, Cppyy::Reflex::FormatId_t=Cppyy::Reflex::OPTIMAL) override
 
- Public Member Functions inherited from CPyCppyy::CPPMethod
 CPPMethod (const CPPMethod &)
 
 CPPMethod (Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
 
virtual ~CPPMethod ()
 
PyObjectGetArgDefault (int iarg, bool silent=true) override
 
int GetArgMatchScore (PyObject *args_tuple) override
 
PyObjectGetCoVarNames () override
 
Cppyy::TCppFuncAddr_t GetFunctionAddress () override
 
int GetMaxArgs () override
 
int GetPriority () override
 
PyObjectGetPrototype (bool show_formalargs=true) override
 Construct a Python string from the method's prototype.
 
PyObjectGetScopeProxy () override
 
PyObjectGetSignature (bool show_formalargs=true) override
 
PyObjectGetSignatureNames () override
 Returns a tuple with the names of the input parameters of this method.
 
PyObjectGetSignatureTypes () override
 Returns a dictionary with the types of the signature of this method.
 
PyObjectGetTypeName () override
 
bool IsConst () override
 
bool IsGreedy () override
 
CPPMethodoperator= (const CPPMethod &)
 
PyObjectReflex (Cppyy::Reflex::RequestId_t request, Cppyy::Reflex::FormatId_t=Cppyy::Reflex::OPTIMAL) override
 
- Public Member Functions inherited from CPyCppyy::PyCallable
virtual ~PyCallable ()
 

Private Attributes

Py_ssize_t fNumBases
 

Additional Inherited Members

- Protected Member Functions inherited from CPyCppyy::CPPConstructor
bool InitExecutor_ (Executor *&, CallContext *ctxt=nullptr) override
 
- 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)
 
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 </github/home/ROOT-CI/src/bindings/pyroot/cppyy/CPyCppyy/src/CPPConstructor.h>

Inheritance diagram for CPyCppyy::CPPMultiConstructor:
[legend]

Constructor & Destructor Documentation

◆ CPPMultiConstructor() [1/2]

CPyCppyy::CPPMultiConstructor::CPPMultiConstructor ( Cppyy::TCppScope_t scope,
Cppyy::TCppMethod_t method )

Definition at line 186 of file CPPConstructor.cxx.

◆ CPPMultiConstructor() [2/2]

CPyCppyy::CPPMultiConstructor::CPPMultiConstructor ( const CPPMultiConstructor & s)

Definition at line 193 of file CPPConstructor.cxx.

Member Function Documentation

◆ Call()

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

Reimplemented from CPyCppyy::CPPConstructor.

Definition at line 209 of file CPPConstructor.cxx.

◆ Clone()

PyCallable * CPyCppyy::CPPMultiConstructor::Clone ( )
inlineoverridevirtual

Reimplemented from CPyCppyy::CPPConstructor.

Definition at line 36 of file CPPConstructor.h.

◆ operator=()

CPyCppyy::CPPMultiConstructor & CPyCppyy::CPPMultiConstructor::operator= ( const CPPMultiConstructor & s)

Definition at line 199 of file CPPConstructor.cxx.

Member Data Documentation

◆ fNumBases

Py_ssize_t CPyCppyy::CPPMultiConstructor::fNumBases
private

Definition at line 41 of file CPPConstructor.h.

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