Logo ROOT   6.18/05
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 (const char *)
 Construct a TPyArg from a C-string. More...
 
 TPyArg (const TPyArg &)
 Copy constructor. More...
 
 TPyArg (Double_t)
 Construct a TPyArg from a double value. More...
 
 TPyArg (Int_t)
 Construct a TPyArg from an integer value. More...
 
 TPyArg (Long_t)
 Construct a TPyArg from an integer value. More...
 
 TPyArg (PyObject *)
 
virtual ~TPyArg ()
 Done with held PyObject. More...
 
 operator PyObject * () const
 
TPyArgoperator= (const TPyArg &)
 Assignment operator. More...
 

Static Public Member Functions

static void CallConstructor (PyObject *&pyself, PyObject *pyclass)
 
static void CallConstructor (PyObject *&pyself, PyObject *pyclass, const std::vector< TPyArg > &args)
 
static void CallDestructor (PyObject *&pyself)
 
static void CallDestructor (PyObject *&pyself, PyObject *pymeth, const std::vector< TPyArg > &args)
 
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 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]

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

◆ CallConstructor() [2/2]

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

Definition at line 23 of file TPyArg.cxx.

◆ CallDestructor() [1/2]

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

Definition at line 60 of file TPyArg.cxx.

◆ CallDestructor() [2/2]

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

Definition at line 54 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: