Logo ROOT  
Reference Guide
CPyCppyy::InstancePtrConverter Class Reference

Definition at line 51 of file Converters.h.

Public Member Functions

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

Protected Attributes

Cppyy::TCppType_t fClass
 

Additional Inherited Members

- Protected Member Functions inherited from CPyCppyy::VoidArrayConverter
virtual bool GetAddressSpecialCase (PyObject *pyobject, void *&address)
 
bool KeepControl ()
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/bindings/pyroot/cppyy/CPyCppyy/src/Converters.h>

Inheritance diagram for CPyCppyy::InstancePtrConverter:
[legend]

Constructor & Destructor Documentation

◆ InstancePtrConverter()

CPyCppyy::InstancePtrConverter::InstancePtrConverter ( Cppyy::TCppType_t  klass,
bool  keepControl = false 
)
inline

Definition at line 53 of file Converters.h.

Member Function Documentation

◆ FromMemory()

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

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 1780 of file Converters.cxx.

◆ SetArg()

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

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 1744 of file Converters.cxx.

◆ ToMemory()

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

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 1787 of file Converters.cxx.

Member Data Documentation

◆ fClass

Cppyy::TCppType_t CPyCppyy::InstancePtrConverter::fClass
protected

Definition at line 62 of file Converters.h.


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