Logo ROOT  
Reference Guide
PyROOT::TRefCppObjectConverter Class Reference

Definition at line 201 of file Converters.h.

Public Member Functions

 TRefCppObjectConverter (Cppyy::TCppType_t klass)
 
virtual Bool_t SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)
 convert pyobject to C++ instance&, set arg for call More...
 
- Public Member Functions inherited from PyROOT::TConverter
virtual ~TConverter ()
 
virtual PyObjectFromMemory (void *address)
 
virtual Bool_t SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)=0
 
virtual Bool_t ToMemory (PyObject *value, void *address)
 could happen if no derived class override More...
 

Protected Attributes

Cppyy::TCppType_t fClass
 
ObjectProxyfObjProxy
 

#include </home/sftnight/build/workspace/root-makedoc-v620/rootspi/rdoc/src/v6-20-00-patches/bindings/pyroot/src/Converters.h>

Inheritance diagram for PyROOT::TRefCppObjectConverter:
[legend]

Constructor & Destructor Documentation

◆ TRefCppObjectConverter()

PyROOT::TRefCppObjectConverter::TRefCppObjectConverter ( Cppyy::TCppType_t  klass)
inline

Definition at line 203 of file Converters.h.

Member Function Documentation

◆ SetArg()

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

convert pyobject to C++ instance&, set arg for call

Implements PyROOT::TConverter.

Definition at line 1113 of file Converters.cxx.

Member Data Documentation

◆ fClass

Cppyy::TCppType_t PyROOT::TRefCppObjectConverter::fClass
protected

Definition at line 209 of file Converters.h.

◆ fObjProxy

ObjectProxy* PyROOT::TRefCppObjectConverter::fObjProxy
protected

Definition at line 210 of file Converters.h.


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