ROOT 6.16/01 Reference Guide |
Definition at line 170 of file Converters.h.
Public Member Functions | |
TCppObjectConverter (Cppyy::TCppType_t klass, Bool_t keepControl=kFALSE) | |
virtual PyObject * | FromMemory (void *address) |
construct python object from C++ instance read at <address> More... | |
virtual Bool_t | SetArg (PyObject *, TParameter &, TCallContext *ctxt=0) |
convert pyobject to C++ instance*, set arg for call More... | |
virtual Bool_t | ToMemory (PyObject *value, void *address) |
convert to C++ instance, write it at <address> More... | |
Public Member Functions inherited from PyROOT::TVoidArrayConverter | |
TVoidArrayConverter (Bool_t keepControl=kTRUE) | |
virtual PyObject * | FromMemory (void *address) |
nothing sensible can be done, just return <address> as pylong More... | |
virtual Bool_t | SetArg (PyObject *, TParameter &, TCallContext *ctxt=0) |
just convert pointer if it is a ROOT object More... | |
virtual Bool_t | ToMemory (PyObject *value, void *address) |
just convert pointer if it is a ROOT object More... | |
Public Member Functions inherited from PyROOT::TConverter | |
virtual | ~TConverter () |
virtual PyObject * | FromMemory (void *address) |
virtual Bool_t | SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)=0 |
virtual Bool_t | ToMemory (PyObject *value, void *address) |
could happen if no derived class override More... | |
Protected Attributes | |
Cppyy::TCppType_t | fClass |
ObjectProxy * | fObjProxy |
Additional Inherited Members | |
Protected Member Functions inherited from PyROOT::TVoidArrayConverter | |
virtual Bool_t | GetAddressSpecialCase (PyObject *pyobject, void *&address) |
(1): "null pointer" or C++11 style nullptr More... | |
Bool_t | KeepControl () |
|
inline |
Definition at line 172 of file Converters.h.
construct python object from C++ instance read at <address>
Reimplemented from PyROOT::TVoidArrayConverter.
Reimplemented in PyROOT::TCppObjectPtrConverter< ISREFERENCE >, and PyROOT::TCppObjectArrayConverter.
Definition at line 940 of file Converters.cxx.
|
virtual |
convert pyobject
to C++ instance*, set arg for call
Reimplemented from PyROOT::TVoidArrayConverter.
Reimplemented in PyROOT::TValueCppObjectConverter, PyROOT::TCppObjectPtrConverter< ISREFERENCE >, and PyROOT::TCppObjectArrayConverter.
Definition at line 897 of file Converters.cxx.
convert to C++ instance, write it at <address>
Reimplemented from PyROOT::TVoidArrayConverter.
Reimplemented in PyROOT::TCppObjectPtrConverter< ISREFERENCE >, and PyROOT::TCppObjectArrayConverter.
Definition at line 948 of file Converters.cxx.
|
protected |
Definition at line 181 of file Converters.h.
|
protected |
Definition at line 182 of file Converters.h.