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

Definition at line 49 of file Converters.h.

Public Member Functions

 VoidArrayConverter (bool keepControl=true, const std::string &failureMsg=std::string())
 
PyObject * FromMemory (void *address) override
 
std::string GetFailureMsg () override
 
bool HasState () override
 
bool SetArg (PyObject *, Parameter &, CallContext *=nullptr) override
 
bool ToMemory (PyObject *value, void *address, PyObject *ctxt=nullptr) override
 

Protected Member Functions

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

Protected Attributes

const std::string fFailureMsg
 

Private Attributes

bool fKeepControl
 

#include </github/home/ROOT-CI/src/bindings/pyroot/cppjit/src/cpyrt/Converters.h>

Inheritance diagram for cppjit::cpyrt::VoidArrayConverter:
[legend]

Constructor & Destructor Documentation

◆ VoidArrayConverter()

cppjit::cpyrt::VoidArrayConverter::VoidArrayConverter ( bool keepControl = true,
const std::string & failureMsg = std::string() )
inline

Definition at line 51 of file Converters.h.

Member Function Documentation

◆ FromMemory()

PyObject * cpyrt::VoidArrayConverter::FromMemory ( void * address)
overridevirtual

Reimplemented from cppjit::cpyrt::Converter.

Definition at line 1702 of file Converters.cxx.

◆ GetAddressSpecialCase()

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

Reimplemented in cppjit::cpyrt::StrictInstancePtrConverter.

Definition at line 1616 of file Converters.cxx.

◆ GetFailureMsg()

std::string cppjit::cpyrt::VoidArrayConverter::GetFailureMsg ( )
inlineoverridevirtual

Reimplemented from cppjit::cpyrt::Converter.

Definition at line 63 of file Converters.h.

◆ HasState()

bool cppjit::cpyrt::VoidArrayConverter::HasState ( )
inlineoverridevirtual

Reimplemented from cppjit::cpyrt::Converter.

Definition at line 62 of file Converters.h.

◆ KeepControl()

bool cppjit::cpyrt::VoidArrayConverter::KeepControl ( )
inlineprotected

Definition at line 69 of file Converters.h.

◆ SetArg()

bool cpyrt::VoidArrayConverter::SetArg ( PyObject * pyobject,
Parameter & para,
CallContext * = nullptr )
overridevirtual

Implements cppjit::cpyrt::Converter.

Definition at line 1645 of file Converters.cxx.

◆ ToMemory()

bool cpyrt::VoidArrayConverter::ToMemory ( PyObject * value,
void * address,
PyObject * ctxt = nullptr )
overridevirtual

Reimplemented from cppjit::cpyrt::Converter.

Definition at line 1712 of file Converters.cxx.

Member Data Documentation

◆ fFailureMsg

const std::string cppjit::cpyrt::VoidArrayConverter::fFailureMsg
protected

Definition at line 70 of file Converters.h.

◆ fKeepControl

bool cppjit::cpyrt::VoidArrayConverter::fKeepControl
private

Definition at line 73 of file Converters.h.

  • bindings/pyroot/cppjit/src/cpyrt/Converters.h
  • bindings/pyroot/cppjit/src/cpyrt/Converters.cxx