38 if ( kwds != 0 && PyDict_Size( kwds ) ) {
39 PyErr_SetString( PyExc_TypeError,
"keyword arguments are not yet supported" );
45 PyErr_Format( PyExc_TypeError,
76 self->Set( (
void*)address );
94 if ( ! PyErr_Occurred() )
95 PyErr_SetString( PyExc_TypeError, const_cast< char* >(
static Bool_t RegisterObject(ObjectProxy *pyobj, TObject *object)
start tracking <object> proxied by <pyobj>
TExecutor * CreateExecutor(const std::string &fullType, Bool_t manage_smart_ptr=kTRUE)
ptrdiff_t GetBaseOffset(TCppType_t derived, TCppType_t base, TCppObject_t address, int direction, bool rerror=false)
Bool_t IsAbstract(TCppType_t type)
std::string GetFinalName(TCppType_t type)
virtual Bool_t InitExecutor_(TExecutor *&, TCallContext *ctxt=0)
install executor conform to the return type
virtual Bool_t Initialize(TCallContext *ctxt=0)
done if cache is already setup
#define PyROOT_PyUnicode_FromFormat
Cppyy::TCppMethod_t GetMethod()
virtual PyObject * Execute(void *self, ptrdiff_t offset, TCallContext *ctxt=0)
call the interface method
virtual PyObject * Call(ObjectProxy *&self, PyObject *args, PyObject *kwds, TCallContext *ctxt=0)
preliminary check in case keywords are accidently used (they are ignored otherwise) ...
Cppyy::TCppScope_t GetScope()
std::string GetSignatureString()
built a signature representation (used for doc strings)
virtual PyObject * PreProcessArgs(ObjectProxy *&self, PyObject *args, PyObject *kwds)
verify existence of self, return if ok
Bool_t IsSubtype(TCppType_t derived, TCppType_t base)
TCppScope_t GetScope(const std::string &scope_name)
Mother of all ROOT objects.
virtual PyObject * GetDocString()
virtual Bool_t ConvertAndSetArgs(PyObject *args, TCallContext *ctxt=0)