Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::InstancePtrConverter< ISCONST > Class Template Reference

template<bool ISCONST>
class CPyCppyy::InstancePtrConverter< ISCONST >

Definition at line 63 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
 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 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-v632/rootspi/rdoc/src/v6-32-00-patches/bindings/pyroot/cppyy/CPyCppyy/src/Converters.h>

Inheritance diagram for CPyCppyy::InstancePtrConverter< ISCONST >:
[legend]

Constructor & Destructor Documentation

◆ InstancePtrConverter()

template<bool ISCONST>
CPyCppyy::InstancePtrConverter< ISCONST >::InstancePtrConverter ( Cppyy::TCppType_t  klass,
bool  keepControl = false 
)
inline

Definition at line 65 of file Converters.h.

Member Function Documentation

◆ FromMemory()

template<bool ISCONST>
PyObject * CPyCppyy::InstancePtrConverter< ISCONST >::FromMemory ( void *  address)
virtual

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 2115 of file Converters.cxx.

◆ SetArg()

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

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 2072 of file Converters.cxx.

◆ ToMemory()

template<bool ISCONST>
bool CPyCppyy::InstancePtrConverter< ISCONST >::ToMemory ( PyObject value,
void *  address,
PyObject ctxt = nullptr 
)
virtual

Reimplemented from CPyCppyy::VoidArrayConverter.

Definition at line 2125 of file Converters.cxx.

Member Data Documentation

◆ fClass

template<bool ISCONST>
Cppyy::TCppType_t CPyCppyy::InstancePtrConverter< ISCONST >::fClass
protected

Definition at line 74 of file Converters.h.

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