Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::VoidArrayConverter Class Reference

Definition at line 33 of file Converters.h.

Public Member Functions

 VoidArrayConverter (bool keepControl=true)
 
virtual PyObjectFromMemory (void *address)
 
virtual bool HasState ()
 
virtual bool SetArg (PyObject *, Parameter &, CallContext *=nullptr)
 
virtual bool ToMemory (PyObject *value, void *address)
 
- Public Member Functions inherited from CPyCppyy::Converter
virtual ~Converter ()
 
virtual ~Converter ()
 

Protected Member Functions

virtual bool GetAddressSpecialCase (PyObject *pyobject, void *&address)
 
bool KeepControl ()
 

Private Attributes

bool fKeepControl
 

#include </home/sftnight/build/workspace/root-makedoc-v624/rootspi/rdoc/src/v6-24-00-patches/bindings/pyroot/cppyy/CPyCppyy/src/Converters.h>

Inheritance diagram for CPyCppyy::VoidArrayConverter:
[legend]

Constructor & Destructor Documentation

◆ VoidArrayConverter()

CPyCppyy::VoidArrayConverter::VoidArrayConverter ( bool  keepControl = true)
inline

Definition at line 35 of file Converters.h.

Member Function Documentation

◆ FromMemory()

PyObject * CPyCppyy::VoidArrayConverter::FromMemory ( void address)
virtual

Reimplemented from CPyCppyy::Converter.

Reimplemented in CPyCppyy::InstancePtrConverter.

Definition at line 1425 of file Converters.cxx.

◆ GetAddressSpecialCase()

bool CPyCppyy::VoidArrayConverter::GetAddressSpecialCase ( PyObject pyobject,
void *&  address 
)
protectedvirtual

Reimplemented in CPyCppyy::StrictInstancePtrConverter.

Definition at line 1341 of file Converters.cxx.

◆ HasState()

virtual bool CPyCppyy::VoidArrayConverter::HasState ( )
inlinevirtual

Reimplemented from CPyCppyy::Converter.

Definition at line 41 of file Converters.h.

◆ KeepControl()

bool CPyCppyy::VoidArrayConverter::KeepControl ( )
inlineprotected

Definition at line 45 of file Converters.h.

◆ SetArg()

bool CPyCppyy::VoidArrayConverter::SetArg ( PyObject pyobject,
Parameter para,
CallContext ctxt = nullptr 
)
virtual

Implements CPyCppyy::Converter.

Reimplemented in CPyCppyy::InstancePtrConverter.

Definition at line 1370 of file Converters.cxx.

◆ ToMemory()

bool CPyCppyy::VoidArrayConverter::ToMemory ( PyObject value,
void address 
)
virtual

Reimplemented from CPyCppyy::Converter.

Reimplemented in CPyCppyy::InstancePtrConverter.

Definition at line 1436 of file Converters.cxx.

Member Data Documentation

◆ fKeepControl

bool CPyCppyy::VoidArrayConverter::fKeepControl
private

Definition at line 48 of file Converters.h.

  • bindings/pyroot/cppyy/CPyCppyy/src/Converters.h
  • bindings/pyroot/cppyy/CPyCppyy/src/Converters.cxx