Logo ROOT  
Reference Guide
PyROOT::TStrictCppObjectConverter Class Reference

Definition at line 185 of file Converters.h.

Public Member Functions

 TCppObjectConverter (Cppyy::TCppType_t klass, Bool_t keepControl=kFALSE)
 
- Public Member Functions inherited from PyROOT::TCppObjectConverter
 TCppObjectConverter (Cppyy::TCppType_t klass, Bool_t keepControl=kFALSE)
 
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...
 
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 PyObjectFromMemory (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 PyObjectFromMemory (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 Member Functions

virtual Bool_t GetAddressSpecialCase (PyObject *, void *&)
 (1): "null pointer" or C++11 style nullptr More...
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from PyROOT::TCppObjectConverter
Cppyy::TCppType_t fClass
 
ObjectProxyfObjProxy
 

#include </home/sftnight/build/workspace/root-makedoc-v620/rootspi/rdoc/src/v6-20-00-patches/bindings/pyroot/src/Converters.h>

Inheritance diagram for PyROOT::TStrictCppObjectConverter:
[legend]

Member Function Documentation

◆ GetAddressSpecialCase()

virtual Bool_t PyROOT::TStrictCppObjectConverter::GetAddressSpecialCase ( PyObject pyobject,
void *&  address 
)
inlineprotectedvirtual

(1): "null pointer" or C++11 style nullptr

Reimplemented from PyROOT::TVoidArrayConverter.

Definition at line 190 of file Converters.h.

◆ TCppObjectConverter()

PyROOT::TCppObjectConverter::TCppObjectConverter ( Cppyy::TCppType_t  klass,
Bool_t  keepControl = kFALSE 
)
inline

Definition at line 172 of file Converters.h.


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