ROOT  6.06/08
Reference Guide
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
TPyArg Class Reference

Definition at line 29 of file TPyArg.h.

Public Member Functions

 TPyArg (PyObject *)
 
 TPyArg (Int_t)
 Construct a TPyArg from an integer value. More...
 
 TPyArg (Long_t)
 Construct a TPyArg from an integer value. More...
 
 TPyArg (Double_t)
 Construct a TPyArg from a double value. More...
 
 TPyArg (const char *)
 Construct a TPyArg from a C-string. More...
 
 TPyArg (const TPyArg &)
 Copy constructor. More...
 
TPyArgoperator= (const TPyArg &)
 Assignment operator. More...
 
virtual ~TPyArg ()
 Done with held PyObject. More...
 
 operator PyObject * () const
 

Static Public Member Functions

static void CallConstructor (PyObject *&pyself, PyObject *pyclass, const std::vector< TPyArg > &args)
 
static void CallConstructor (PyObject *&pyself, PyObject *pyclass)
 
static PyObjectCallMethod (PyObject *pymeth, const std::vector< TPyArg > &args)
 

Private Attributes

PyObjectfPyObject
 

#include <TPyArg.h>

Constructor & Destructor Documentation

§ TPyArg() [1/6]

TPyArg::TPyArg ( PyObject pyobject)

Definition at line 58 of file TPyArg.cxx.

§ TPyArg() [2/6]

TPyArg::TPyArg ( Int_t  value)

Construct a TPyArg from an integer value.

Definition at line 68 of file TPyArg.cxx.

§ TPyArg() [3/6]

TPyArg::TPyArg ( Long_t  value)

Construct a TPyArg from an integer value.

Definition at line 76 of file TPyArg.cxx.

§ TPyArg() [4/6]

TPyArg::TPyArg ( Double_t  value)

Construct a TPyArg from a double value.

Definition at line 84 of file TPyArg.cxx.

§ TPyArg() [5/6]

TPyArg::TPyArg ( const char *  value)

Construct a TPyArg from a C-string.

Definition at line 92 of file TPyArg.cxx.

§ TPyArg() [6/6]

TPyArg::TPyArg ( const TPyArg s)

Copy constructor.

Definition at line 100 of file TPyArg.cxx.

§ ~TPyArg()

TPyArg::~TPyArg ( )
virtual

Done with held PyObject.

Definition at line 121 of file TPyArg.cxx.

Member Function Documentation

§ CallConstructor() [1/2]

void TPyArg::CallConstructor ( PyObject *&  pyself,
PyObject pyclass,
const std::vector< TPyArg > &  args 
)
static

Definition at line 26 of file TPyArg.cxx.

§ CallConstructor() [2/2]

static void TPyArg::CallConstructor ( PyObject *&  pyself,
PyObject pyclass 
)
static

§ CallMethod()

PyObject * TPyArg::CallMethod ( PyObject pymeth,
const std::vector< TPyArg > &  args 
)
static

Definition at line 46 of file TPyArg.cxx.

§ operator PyObject *()

TPyArg::operator PyObject * ( ) const

Definition at line 128 of file TPyArg.cxx.

§ operator=()

TPyArg & TPyArg::operator= ( const TPyArg s)

Assignment operator.

Definition at line 109 of file TPyArg.cxx.

Member Data Documentation

§ fPyObject

PyObject* TPyArg::fPyObject
mutableprivate

Definition at line 53 of file TPyArg.h.

Referenced by operator PyObject *(), operator=(), TPyArg(), and ~TPyArg().


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