Logo ROOT  
Reference Guide
PyROOT::TVoidArrayConverter Class Reference

Definition at line 137 of file Converters.h.

Public Member Functions

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

Private Attributes

Bool_t fKeepControl
 

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

Inheritance diagram for PyROOT::TVoidArrayConverter:
[legend]

Constructor & Destructor Documentation

◆ TVoidArrayConverter()

PyROOT::TVoidArrayConverter::TVoidArrayConverter ( Bool_t  keepControl = kTRUE)
inline

Definition at line 139 of file Converters.h.

Member Function Documentation

◆ FromMemory()

PyObject * PyROOT::TVoidArrayConverter::FromMemory ( void address)
virtual

nothing sensible can be done, just return <address> as pylong

Reimplemented from PyROOT::TConverter.

Reimplemented in PyROOT::TCppObjectConverter, PyROOT::TCppObjectPtrConverter< ISREFERENCE >, and PyROOT::TCppObjectArrayConverter.

Definition at line 787 of file Converters.cxx.

◆ GetAddressSpecialCase()

Bool_t PyROOT::TVoidArrayConverter::GetAddressSpecialCase ( PyObject pyobject,
void *&  address 
)
protectedvirtual

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

Reimplemented in PyROOT::TStrictCppObjectConverter.

Definition at line 711 of file Converters.cxx.

◆ KeepControl()

Bool_t PyROOT::TVoidArrayConverter::KeepControl ( )
inlineprotected

Definition at line 148 of file Converters.h.

◆ SetArg()

Bool_t PyROOT::TVoidArrayConverter::SetArg ( PyObject pyobject,
TParameter para,
TCallContext ctxt = 0 
)
virtual

◆ ToMemory()

Bool_t PyROOT::TVoidArrayConverter::ToMemory ( PyObject value,
void address 
)
virtual

just convert pointer if it is a ROOT object

Reimplemented from PyROOT::TConverter.

Reimplemented in PyROOT::TCppObjectConverter, PyROOT::TCppObjectPtrConverter< ISREFERENCE >, and PyROOT::TCppObjectArrayConverter.

Definition at line 799 of file Converters.cxx.

Member Data Documentation

◆ fKeepControl

Bool_t PyROOT::TVoidArrayConverter::fKeepControl
private

Definition at line 151 of file Converters.h.


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