Logo ROOT  
Reference Guide
CPyCppyy::Converter Class Referenceabstract

Definition at line 91 of file API.h.

Public Member Functions

virtual ~Converter ()
 
virtual ~Converter ()
 
virtual PyObjectFromMemory (void *address)
 
virtual PyObjectFromMemory (void *address)
 
virtual bool HasState ()
 
virtual bool HasState ()
 
virtual bool SetArg (PyObject *, Parameter &, CallContext *=nullptr)=0
 
virtual bool SetArg (PyObject *, Parameter &, CallContext *=nullptr)=0
 
virtual bool ToMemory (PyObject *value, void *address, PyObject *ctxt=nullptr)
 
virtual bool ToMemory (PyObject *value, void *address, PyObject *ctxt=nullptr)
 

#include <CPyCppyy/API.h>

Inheritance diagram for CPyCppyy::Converter:
[legend]

Constructor & Destructor Documentation

◆ ~Converter() [1/2]

CPyCppyy::Converter::~Converter ( )
virtual

Definition at line 432 of file Converters.cxx.

◆ ~Converter() [2/2]

virtual CPyCppyy::Converter::~Converter ( )
virtual

Member Function Documentation

◆ FromMemory() [1/2]

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

Reimplemented in CPyCppyy::VoidArrayConverter, and CPyCppyy::InstancePtrConverter.

Definition at line 438 of file Converters.cxx.

◆ FromMemory() [2/2]

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

◆ HasState() [1/2]

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

Reimplemented in CPyCppyy::VoidArrayConverter.

Definition at line 105 of file API.h.

◆ HasState() [2/2]

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

Reimplemented in CPyCppyy::VoidArrayConverter.

Definition at line 21 of file Converters.h.

◆ SetArg() [1/2]

virtual bool CPyCppyy::Converter::SetArg ( PyObject ,
Parameter ,
CallContext = nullptr 
)
pure virtual

◆ SetArg() [2/2]

virtual bool CPyCppyy::Converter::SetArg ( PyObject ,
Parameter ,
CallContext = nullptr 
)
pure virtual

◆ ToMemory() [1/2]

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

Reimplemented in CPyCppyy::VoidArrayConverter, and CPyCppyy::InstancePtrConverter.

Definition at line 446 of file Converters.cxx.

◆ ToMemory() [2/2]

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

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