library: libPyROOT
#include "TPyReturn.h"

TPyReturn


class description - source file - inheritance tree (.pdf)

class TPyReturn

Inheritance Chart:
TPyReturn

    public:
TPyReturn() TPyReturn(PyObject* pyobject) TPyReturn(const TPyReturn&) virtual ~TPyReturn() static TClass* Class() virtual TClass* IsA() const Char_t operator Char_t() const char* operator const char*() const Double_t operator Double_t() const Float_t operator Float_t() const Int_t operator Int_t() const Long_t operator Long_t() const Short_t operator Short_t() const UInt_t operator UInt_t() const ULong_t operator ULong_t() const UShort_t operator UShort_t() const void* operator void*() const TPyReturn& operator=(const TPyReturn&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
PyObject* fPyObject ! actual python object

Class Description

                        Python expression eval result
                        =============================

 Transport class for bringing objects from python (dynamically typed) to CINT
 (statically typed). Upon cast to another value, either implicitly (builtin
 types) or explicitly (pointers to ROOT objects), the TPyReturn object goes
 out of existence. For this reason, it can not be copied and it should not
 be held by reference.

TPyReturn()
 Construct a TPyReturn object from Py_None.

TPyReturn( PyObject* pyobject )
 Construct a TPyReturn from a python object. The python object may represent
 a ROOT object. Steals reference to given python object.

TPyReturn( const TPyReturn& other )
 Copy constructor. Applies python object reference counting.

~TPyReturn()
 Destructor. Reference counting for the held python object is in effect.



Inline Functions


         TPyReturn& operator=(const TPyReturn&)
              char* operator const char*() const
             Char_t operator Char_t() const
             Long_t operator Long_t() const
              Int_t operator Int_t() const
            Short_t operator Short_t() const
            ULong_t operator ULong_t() const
             UInt_t operator UInt_t() const
           UShort_t operator UShort_t() const
           Double_t operator Double_t() const
            Float_t operator Float_t() const
              void* operator void*() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Wim Lavrijsen, May 2004
Last update: root/pyroot:$Name: $:$Id: TPyReturn.cxx,v 1.5 2005/04/28 07:33:55 brun Exp $


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.