Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
TPyArg Class Reference

Definition at line 27 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...
 
virtual ~TPyArg ()
 Done with held PyObject. More...
 
 operator PyObject * () const
 
TPyArg & operator= (const TPyArg &)
 Assignment operator. More...
 

Static Public Member Functions

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

Private Attributes

PyObject * fPyObject
 

#include <TPyArg.h>

Constructor & Destructor Documentation

◆ TPyArg() [1/6]

TPyArg::TPyArg ( PyObject *  pyobject)

Definition at line 66 of file TPyArg.cxx.

◆ TPyArg() [2/6]

TPyArg::TPyArg ( Int_t  value)

Construct a TPyArg from an integer value.

Definition at line 76 of file TPyArg.cxx.

◆ TPyArg() [3/6]

TPyArg::TPyArg ( Long_t  value)

Construct a TPyArg from an integer value.

Definition at line 84 of file TPyArg.cxx.

◆ TPyArg() [4/6]

TPyArg::TPyArg ( Double_t  value)

Construct a TPyArg from a double value.

Definition at line 92 of file TPyArg.cxx.

◆ TPyArg() [5/6]

TPyArg::TPyArg ( const char *  value)

Construct a TPyArg from a C-string.

Definition at line 100 of file TPyArg.cxx.

◆ TPyArg() [6/6]

TPyArg::TPyArg ( const TPyArg &  s)

Copy constructor.

Definition at line 108 of file TPyArg.cxx.

◆ ~TPyArg()

TPyArg::~TPyArg ( )
virtual

Done with held PyObject.

Definition at line 129 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 23 of file TPyArg.cxx.

◆ CallConstructor() [2/2]

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

◆ CallDestructor() [1/2]

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

Definition at line 54 of file TPyArg.cxx.

◆ CallDestructor() [2/2]

void TPyArg::CallDestructor ( PyObject *&  pyself)
static

Definition at line 60 of file TPyArg.cxx.

◆ CallMethod()

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

Definition at line 42 of file TPyArg.cxx.

◆ operator PyObject *()

TPyArg::operator PyObject * ( ) const

Definition at line 136 of file TPyArg.cxx.

◆ operator=()

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

Assignment operator.

Definition at line 117 of file TPyArg.cxx.

Member Data Documentation

◆ fPyObject

PyObject* TPyArg::fPyObject
mutableprivate

Definition at line 53 of file TPyArg.h.


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