Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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, PyObject *ctxt=nullptr)
 
- 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-v626/rootspi/rdoc/src/v6-26-00-patches/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 1818 of file Converters.cxx.

◆ SetArg()

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

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 1782 of file Converters.cxx.

◆ ToMemory()

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

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 1825 of file Converters.cxx.

Member Data Documentation

◆ fClass

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

Definition at line 62 of file Converters.h.

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