Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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-v616/rootspi/rdoc/src/v6-16-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 740 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 674 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 752 of file Converters.cxx.

Member Data Documentation

◆ fKeepControl

Bool_t PyROOT::TVoidArrayConverter::fKeepControl
private

Definition at line 151 of file Converters.h.

Libraries for PyROOT::TVoidArrayConverter:
[legend]

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