Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PyROOT::TSmartPtrCppObjectConverter Class Reference

Definition at line 284 of file Converters.h.

Public Member Functions

 TSmartPtrCppObjectConverter (Cppyy::TCppType_t klass, Cppyy::TCppType_t rawPtrType, Cppyy::TCppMethod_t deref, Bool_t keepControl=kFALSE, Bool_t handlePtr=kFALSE)
 
virtual PyObjectFromMemory (void *address)
 
virtual Bool_t SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)
 smart pointer converter More...
 
- Public Member Functions inherited from PyROOT::TConverter
virtual ~TConverter ()
 
virtual Bool_t ToMemory (PyObject *value, void *address)
 could happen if no derived class override More...
 

Protected Member Functions

virtual Bool_t GetAddressSpecialCase (PyObject *, void *&)
 

Protected Attributes

Cppyy::TCppType_t fClass
 
Cppyy::TCppMethod_t fDereferencer
 
Bool_t fHandlePtr
 
Bool_t fKeepControl
 
Cppyy::TCppType_t fRawPtrType
 

#include </mnt/build/workspace/root-makedoc-v614/rootspi/rdoc/src/v6-14-00-patches/bindings/pyroot/src/Converters.h>

Inheritance diagram for PyROOT::TSmartPtrCppObjectConverter:
[legend]

Constructor & Destructor Documentation

◆ TSmartPtrCppObjectConverter()

PyROOT::TSmartPtrCppObjectConverter::TSmartPtrCppObjectConverter ( Cppyy::TCppType_t  klass,
Cppyy::TCppType_t  rawPtrType,
Cppyy::TCppMethod_t  deref,
Bool_t  keepControl = kFALSE,
Bool_t  handlePtr = kFALSE 
)
inline

Definition at line 286 of file Converters.h.

Member Function Documentation

◆ FromMemory()

PyObject * PyROOT::TSmartPtrCppObjectConverter::FromMemory ( void address)
virtual

Reimplemented from PyROOT::TConverter.

Definition at line 1377 of file Converters.cxx.

◆ GetAddressSpecialCase()

virtual Bool_t PyROOT::TSmartPtrCppObjectConverter::GetAddressSpecialCase ( PyObject ,
void *&   
)
inlineprotectedvirtual

Definition at line 300 of file Converters.h.

◆ SetArg()

Bool_t PyROOT::TSmartPtrCppObjectConverter::SetArg ( PyObject pyobject,
TParameter para,
TCallContext ctxt = 0 
)
virtual

smart pointer converter

Implements PyROOT::TConverter.

Definition at line 1326 of file Converters.cxx.

Member Data Documentation

◆ fClass

Cppyy::TCppType_t PyROOT::TSmartPtrCppObjectConverter::fClass
protected

Definition at line 302 of file Converters.h.

◆ fDereferencer

Cppyy::TCppMethod_t PyROOT::TSmartPtrCppObjectConverter::fDereferencer
protected

Definition at line 304 of file Converters.h.

◆ fHandlePtr

Bool_t PyROOT::TSmartPtrCppObjectConverter::fHandlePtr
protected

Definition at line 306 of file Converters.h.

◆ fKeepControl

Bool_t PyROOT::TSmartPtrCppObjectConverter::fKeepControl
protected

Definition at line 305 of file Converters.h.

◆ fRawPtrType

Cppyy::TCppType_t PyROOT::TSmartPtrCppObjectConverter::fRawPtrType
protected

Definition at line 303 of file Converters.h.

Libraries for PyROOT::TSmartPtrCppObjectConverter:
[legend]

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