Logo ROOT   master
Reference Guide
PyROOT::TCppObjectPtrConverter< ISREFERENCE > Class Template Reference

template<bool ISREFERENCE>
class PyROOT::TCppObjectPtrConverter< ISREFERENCE >

Definition at line 213 of file Converters.h.

Public Member Functions

virtual PyObjectFromMemory (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...
 
 TCppObjectConverter (Cppyy::TCppType_t klass, Bool_t keepControl=kFALSE)
 
virtual Bool_t ToMemory (PyObject *value, void *address)
 convert to C++ instance*, write it at <address> More...
 
- Public Member Functions inherited from PyROOT::TCppObjectConverter
 TCppObjectConverter (Cppyy::TCppType_t klass, Bool_t keepControl=kFALSE)
 
- Public Member Functions inherited from PyROOT::TVoidArrayConverter
 TVoidArrayConverter (Bool_t keepControl=kTRUE)
 
- Public Member Functions inherited from PyROOT::TConverter
virtual ~TConverter ()
 

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 ()
 
- Protected Attributes inherited from PyROOT::TCppObjectConverter
Cppyy::TCppType_t fClass
 
ObjectProxyfObjProxy
 

#include </mnt/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/bindings/pyroot/src/Converters.h>

Inheritance diagram for PyROOT::TCppObjectPtrConverter< ISREFERENCE >:
[legend]

Member Function Documentation

◆ FromMemory()

template<bool ISREFERENCE>
PyObject * PyROOT::TCppObjectPtrConverter< ISREFERENCE >::FromMemory ( void address)
virtual

construct python object from C++ instance* read at <address>

Reimplemented from PyROOT::TCppObjectConverter.

Definition at line 1203 of file Converters.cxx.

◆ SetArg()

template<bool ISREFERENCE>
Bool_t PyROOT::TCppObjectPtrConverter< ISREFERENCE >::SetArg ( PyObject pyobject,
TParameter para,
TCallContext ctxt = 0 
)
virtual

convert pyobject to C++ instance**, set arg for call

Reimplemented from PyROOT::TCppObjectConverter.

Definition at line 1175 of file Converters.cxx.

◆ TCppObjectConverter()

template<bool ISREFERENCE>
PyROOT::TCppObjectConverter::TCppObjectConverter
inline

Definition at line 171 of file Converters.h.

◆ ToMemory()

template<bool ISREFERENCE>
Bool_t PyROOT::TCppObjectPtrConverter< ISREFERENCE >::ToMemory ( PyObject value,
void address 
)
virtual

convert to C++ instance*, write it at <address>

Reimplemented from PyROOT::TCppObjectConverter.

Definition at line 1212 of file Converters.cxx.


The documentation for this class was generated from the following files: