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

Definition at line 44 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, PyObject *ctxt=nullptr)
 
- Public Member Functions inherited from CPyCppyy::Converter
 Converter ()=default
 
 Converter (Converter &&other)=delete
 
 Converter (Converter const &other)=delete
 
virtual ~Converter ()
 
virtual ~Converter ()
 
Converteroperator= (Converter &&other)=delete
 
Converteroperator= (Converter const &other)=delete
 

Protected Member Functions

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

Private Attributes

bool fKeepControl
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/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 46 of file Converters.h.

Member Function Documentation

◆ FromMemory()

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

◆ GetAddressSpecialCase()

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

Reimplemented in CPyCppyy::StrictInstancePtrConverter.

Definition at line 1494 of file Converters.cxx.

◆ HasState()

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

Reimplemented from CPyCppyy::Converter.

Definition at line 52 of file Converters.h.

◆ KeepControl()

bool CPyCppyy::VoidArrayConverter::KeepControl ( )
inlineprotected

Definition at line 56 of file Converters.h.

◆ SetArg()

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

◆ ToMemory()

bool CPyCppyy::VoidArrayConverter::ToMemory ( PyObject value,
void *  address,
PyObject ctxt = nullptr 
)
virtual

Member Data Documentation

◆ fKeepControl

bool CPyCppyy::VoidArrayConverter::fKeepControl
private

Definition at line 59 of file Converters.h.

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