ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
PyROOT Namespace Reference

Namespaces

 PyStrings
 
 Utility
 

Classes

class  TPyException
 
class  TPyROOTApplication
 
class  TConverter
 
class  TVoidConverter
 
class  TCStringConverter
 
class  TNonConstCStringConverter
 
class  TNonConstUCStringConverter
 
class  TVoidArrayConverter
 
class  TLongLongArrayConverter
 
class  TCppObjectConverter
 
class  TStrictCppObjectConverter
 
class  TValueCppObjectConverter
 
class  TRefCppObjectConverter
 
class  TCppObjectPtrConverter
 
class  TCppObjectArrayConverter
 
class  TSTLIteratorConverter
 
class  TVoidPtrRefConverter
 
class  TVoidPtrPtrConverter
 
class  TNotImplementedConverter
 
class  TSmartPtrCppObjectConverter
 
class  TExecutor
 
class  TCppObjectExecutor
 
class  TCppObjectByValueExecutor
 
class  TRefExecutor
 
class  TCppObjectRefExecutor
 
class  TCppObjectPtrPtrExecutor
 
class  TCppObjectPtrRefExecutor
 
class  TCppObjectArrayExecutor
 
class  TCppObjectBySmartPtrExecutor
 
class  TCppObjectBySmartPtrPtrExecutor
 
class  TCppObjectBySmartPtrRefExecutor
 
class  MethodProxy
 
class  ObjectProxy
 
class  PropertyProxy
 
class  PyCallable
 
class  PyRootClass
 Type object to hold TClassRef instance (this is only semantically a presentation of PyRootType instances, not in a C++ sense) More...
 
struct  TParameter
 
struct  TCallContext
 
class  TClassMethodHolder
 
class  TConstructorHolder
 
class  TemplateProxy
 Template proxy object to return functions and methods. More...
 
class  TFunctionHolder
 
class  TMemoryRegulator
 
class  TMethodHolder
 
class  TPyBufferFactory
 Factory for python buffers of non-string type. More...
 
class  TSetItemHolder
 

Typedefs

typedef TConverter *(* ConverterFactory_t )(Long_t size)
 
typedef std::map< std::string,
ConverterFactory_t
ConvFactories_t
 
typedef TExecutor *(* ExecutorFactory_t )()
 
typedef std::map< std::string,
ExecutorFactory_t
ExecFactories_t
 
typedef TPyBufferFactory BufFac_t
 

Enumerations

enum  ETypeDetails {
  kNone = 0, kIsStaticData = 1, kIsEnumData = 2, kIsConstData = 4,
  kIsArrayType = 8
}
 

Functions

 PYROOT_DECLARE_BASIC_CONVERTER (Long)
 
 PYROOT_DECLARE_BASIC_CONVERTER (Bool)
 
 PYROOT_DECLARE_BASIC_CONVERTER (Char)
 
 PYROOT_DECLARE_BASIC_CONVERTER (UChar)
 
 PYROOT_DECLARE_BASIC_CONVERTER2 (Short, Long)
 
 PYROOT_DECLARE_BASIC_CONVERTER2 (UShort, Long)
 
 PYROOT_DECLARE_BASIC_CONVERTER2 (Int, Long)
 
 PYROOT_DECLARE_BASIC_CONVERTER (ULong)
 
 PYROOT_DECLARE_BASIC_CONVERTER2 (UInt, ULong)
 
 PYROOT_DECLARE_BASIC_CONVERTER (LongLong)
 
 PYROOT_DECLARE_BASIC_CONVERTER (ULongLong)
 
 PYROOT_DECLARE_BASIC_CONVERTER (Double)
 
 PYROOT_DECLARE_BASIC_CONVERTER (Float)
 
 PYROOT_DECLARE_BASIC_CONVERTER (LongDouble)
 
 PYROOT_DECLARE_REF_CONVERTER (Int)
 
 PYROOT_DECLARE_REF_CONVERTER (Long)
 
 PYROOT_DECLARE_REF_CONVERTER (Double)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (BoolArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (ShortArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (UShortArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (IntArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (UIntArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (LongArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (ULongArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (FloatArray)
 
 PYROOT_DECLARE_ARRAY_CONVERTER (DoubleArray)
 
 PYROOT_DECLARE_BASIC_CONVERTER (PyObject)
 
 PYROOT_DECLARE_STRING_CONVERTER (TString, TString)
 
 PYROOT_DECLARE_STRING_CONVERTER (STLString, std::string)
 
TConverterCreateConverter (const std::string &fullType, Long_t size=-1)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Bool)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (BoolConstRef)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Char)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (CharConstRef)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (UChar)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (UCharConstRef)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Int)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Long)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (ULong)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (LongLong)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (ULongLong)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Float)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Double)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (LongDouble)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Void)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (CString)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (VoidArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (BoolArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (ShortArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (UShortArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (IntArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (UIntArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (LongArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (ULongArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (FloatArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (DoubleArray)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (STLString)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (TGlobal)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (Constructor)
 
 PYROOT_DECLARE_BASIC_EXECUTOR (PyObject)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Bool)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Char)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (UChar)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Short)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (UShort)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Int)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (UInt)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Long)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (ULong)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (LongLong)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (ULongLong)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Float)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Double)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (LongDouble)
 
 PYROOT_DECLARE_BASIC_REFEXECUTOR (STLString)
 
TExecutorCreateExecutor (const std::string &fullType, Bool_t manage_smart_ptr=kTRUE)
 
template<typename T >
Bool_t MethodProxy_Check (T *object)
 
template<typename T >
Bool_t MethodProxy_CheckExact (T *object)
 
MethodProxyMethodProxy_New (const std::string &name, std::vector< PyCallable * > &methods)
 
MethodProxyMethodProxy_New (const std::string &name, PyCallable *method)
 
template<typename T >
Bool_t ObjectProxy_Check (T *object)
 
template<typename T >
Bool_t ObjectProxy_CheckExact (T *object)
 
void op_dealloc_nofree (ObjectProxy *)
 Destroy the held C++ object, if owned; does not deallocate the proxy. More...
 
template<typename T >
Bool_t PropertyProxy_Check (T *object)
 
template<typename T >
Bool_t PropertyProxy_CheckExact (T *object)
 
PropertyProxyPropertyProxy_New (Cppyy::TCppScope_t scope, Cppyy::TCppIndex_t idata)
 
PropertyProxyPropertyProxy_NewConstant (Cppyy::TCppScope_t scope, const std::string &name, void *address)
 
template<typename T >
Bool_t PyRootType_Check (T *object)
 
template<typename T >
Bool_t PyRootType_CheckExact (T *object)
 
Bool_t CreatePyStrings ()
 
PyObjectDestroyPyStrings ()
 Remove all cached python strings. More...
 
PyObjectTTreeGetAttr (ObjectProxy *self, PyObject *pyname)
 
void TMinuitPyCallback (void *vpyfunc, Long_t, Int_t &a0, Double_t *a1, Double_t &a2, Double_t *a3, Int_t a4)
 
double TFNPyCallback (void *vpyfunc, Long_t npar, double *a0, double *a1)
 
Bool_t Pythonize (PyObject *pyclass, const std::string &name)
 
void InitRoot ()
 
PyObjectGetScopeProxy (Cppyy::TCppScope_t)
 Retrieve scope proxy from the known ones. More...
 
PyObjectCreateScopeProxy (Cppyy::TCppScope_t)
 Convenience function with a lookup first through the known existing proxies. More...
 
PyObjectCreateScopeProxy (PyObject *, PyObject *args)
 Build a python shadow class for the named C++ class. More...
 
PyObjectCreateScopeProxy (const std::string &scope_name, PyObject *parent=0)
 Build a python shadow class for the named C++ class. More...
 
PyObjectGetCppGlobal (const std::string &name)
 try named global variable/enum (first ROOT, then Cling: sync is too slow) More...
 
PyObjectGetCppGlobal (PyObject *, PyObject *args)
 get the requested name More...
 
PyObjectBindCppObjectNoCast (Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, Bool_t isRef=kFALSE, Bool_t isValue=kFALSE)
 only known or knowable objects will be bound (null object is ok) More...
 
PyObjectBindCppObject (Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, Bool_t isRef=kFALSE)
 if the object is a null pointer, return a typed one (as needed for overloading) More...
 
PyObjectBindCppObject (Cppyy::TCppObject_t object, const std::string &clName, Bool_t isRef=kFALSE)
 
PyObjectBindCppObjectArray (Cppyy::TCppObject_t address, Cppyy::TCppType_t klass, Int_t size)
 TODO: this function exists for symmetry; need to figure out if it's useful. More...
 
PyObjectBindCppGlobal (TGlobal *)
 gbl == 0 means global does not exist (rather than gbl is NULL pointer) More...
 
Bool_t IsSorted (UInt_t flags)
 
Bool_t IsCreator (UInt_t flags)
 
Bool_t IsConstructor (UInt_t flags)
 
Bool_t ManagesSmartPtr (TCallContext *ctxt)
 
Bool_t ReleasesGIL (UInt_t flags)
 
Bool_t ReleasesGIL (TCallContext *ctxt)
 
Bool_t UseStrictOwnership (TCallContext *ctxt)
 
PyObjectTCustomInstanceMethod_New (PyObject *func, PyObject *self, PyObject *pyclass)
 
static void im_dealloc (PyMethodObject *im)
 from instancemethod, but with custom type (at issue is that instancemethod is not meant to be derived from) More...
 
static PyObjectim_call (PyObject *meth, PyObject *args, PyObject *kw)
 The mapping from a method to a function involves reshuffling of self back into the list of arguments. More...
 
static PyObjectim_descr_get (PyObject *meth, PyObject *obj, PyObject *pyclass)
 from instancemethod: don't rebind an already bound method, or an unbound method of a class that's not a base class of pyclass More...
 
template<typename T >
Bool_t TCustomFloat_Check (T *object)
 
template<typename T >
Bool_t TCustomFloat_CheckExact (T *object)
 
template<typename T >
Bool_t TCustomInt_Check (T *object)
 
template<typename T >
Bool_t TCustomInt_CheckExact (T *object)
 
template<typename T >
Bool_t TCustomInstanceMethod_Check (T *object)
 
template<typename T >
Bool_t TCustomInstanceMethod_CheckExact (T *object)
 
template<typename T >
Bool_t TemplateProxy_Check (T *object)
 
template<typename T >
Bool_t TemplateProxy_CheckExact (T *object)
 
TemplateProxyTemplateProxy_New (const std::string &name, PyObject *pyclass)
 
PyObjectTTupleOfInstances_New (Cppyy::TCppObject_t address, Cppyy::TCppType_t klass, Py_ssize_t nelems)
 
template<typename T >
Bool_t TTupleOfInstances_Check (T *object)
 
template<typename T >
Bool_t TTupleOfInstances_CheckExact (T *object)
 
ULong_t PyLongOrInt_AsULong (PyObject *pyobject)
 
ULong64_t PyLongOrInt_AsULong64 (PyObject *pyobject)
 Convert <pyobject> to C++ unsigned long long, with bounds checking. More...
 

Variables

R__EXTERN voidTPyExceptionMagic
 
R__EXTERN voidTPyCPPExceptionMagic
 
ConvFactories_t gConvFactories
 
R__EXTERN PyObjectgNullPtrObject = 0
 
ExecFactories_t gExecFactories
 
PyTypeObject MethodProxy_Type
 
R__EXTERN PyObjectgRootModule = 0
 
PyTypeObject ObjectProxy_Type
 
PyTypeObject PropertyProxy_Type
 
PyTypeObject PyRootType_Type
 
std::vector< std::pair
< Cppyy::TCppType_t,
Cppyy::TCppType_t > > 
gPinnedTypes
 
std::vector< Cppyy::TCppType_tgIgnorePinnings
 
PyTypeObject TCustomFloat_Type
 Custom builtins, detectable by type, for pass by ref. More...
 
PyTypeObject TCustomInt_Type
 
static PyMethodObject * free_list
 
static int numfree = 0
 
PyTypeObject TCustomInstanceMethod_Type
 
PyTypeObject TemplateProxy_Type
 
PyTypeObject TTupleOfInstances_Type
 Representation of C-style array of instances. More...
 
R__EXTERN dict_lookup_func gDictLookupOrg = 0
 
R__EXTERN Bool_t gDictLookupActive = kFALSE
 

Typedef Documentation

Definition at line 44 of file TPyBufferFactory.h.

typedef TConverter*(* PyROOT::ConverterFactory_t)(Long_t size)

Definition at line 32 of file Converters.cxx.

typedef std::map< std::string, ConverterFactory_t > PyROOT::ConvFactories_t

Definition at line 33 of file Converters.cxx.

typedef std::map< std::string, ExecutorFactory_t > PyROOT::ExecFactories_t

Definition at line 26 of file Executors.cxx.

typedef TExecutor*(* PyROOT::ExecutorFactory_t)()

Definition at line 25 of file Executors.cxx.

Enumeration Type Documentation

Enumerator
kNone 
kIsStaticData 
kIsEnumData 
kIsConstData 
kIsArrayType 

Definition at line 14 of file PropertyProxy.cxx.

Function Documentation

PyObject * PyROOT::BindCppGlobal ( TGlobal gbl)

gbl == 0 means global does not exist (rather than gbl is NULL pointer)

Definition at line 932 of file RootWrapper.cxx.

PyObject * PyROOT::BindCppObject ( Cppyy::TCppObject_t  object,
Cppyy::TCppType_t  klass,
Bool_t  isRef = kFALSE 
)
PyObject* PyROOT::BindCppObject ( Cppyy::TCppObject_t  object,
const std::string &  clName,
Bool_t  isRef = kFALSE 
)
inline

Definition at line 35 of file RootWrapper.h.

PyObject * PyROOT::BindCppObjectArray ( Cppyy::TCppObject_t  address,
Cppyy::TCppType_t  klass,
Int_t  size 
)

TODO: this function exists for symmetry; need to figure out if it's useful.

Definition at line 923 of file RootWrapper.cxx.

Referenced by BindCppGlobal(), PyROOT::TCppObjectArrayExecutor::Execute(), and PyROOT::TCppObjectArrayConverter::FromMemory().

PyObject * PyROOT::BindCppObjectNoCast ( Cppyy::TCppObject_t  object,
Cppyy::TCppType_t  klass,
Bool_t  isRef = kFALSE,
Bool_t  isValue = kFALSE 
)
PyROOT::TConverter * PyROOT::CreateConverter ( const std::string &  fullType,
Long_t  size = -1 
)
PyROOT::TExecutor * PyROOT::CreateExecutor ( const std::string &  fullType,
Bool_t  manage_smart_ptr = kTRUE 
)
Bool_t PyROOT::CreatePyStrings ( )

Definition at line 60 of file PyStrings.cxx.

Referenced by initlibPyROOT().

PyObject * PyROOT::CreateScopeProxy ( Cppyy::TCppScope_t  scope)

Convenience function with a lookup first through the known existing proxies.

Definition at line 521 of file RootWrapper.cxx.

Referenced by BindCppObjectNoCast(), BuildCppClassBases(), CreateScopeProxy(), PyROOT::TMethodHolder::GetScopeProxy(), and initlibPyROOT().

PyObject * PyROOT::CreateScopeProxy ( PyObject ,
PyObject args 
)

Build a python shadow class for the named C++ class.

Definition at line 533 of file RootWrapper.cxx.

PyObject * PyROOT::CreateScopeProxy ( const std::string &  scope_name,
PyObject parent = 0 
)

Build a python shadow class for the named C++ class.

Definition at line 545 of file RootWrapper.cxx.

PyObject * PyROOT::DestroyPyStrings ( )

Remove all cached python strings.

Definition at line 114 of file PyStrings.cxx.

PyObject * PyROOT::GetCppGlobal ( const std::string &  name)

try named global variable/enum (first ROOT, then Cling: sync is too slow)

Definition at line 785 of file RootWrapper.cxx.

Referenced by GetCppGlobal().

PyObject * PyROOT::GetCppGlobal ( PyObject ,
PyObject args 
)

get the requested name

Definition at line 772 of file RootWrapper.cxx.

PyObject * PyROOT::GetScopeProxy ( Cppyy::TCppScope_t  scope)

Retrieve scope proxy from the known ones.

Definition at line 504 of file RootWrapper.cxx.

Referenced by CreateScopeProxy().

static PyObject* PyROOT::im_call ( PyObject meth,
PyObject args,
PyObject kw 
)
static

The mapping from a method to a function involves reshuffling of self back into the list of arguments.

However, the pythonized methods will then have to undo that shuffling, which is inefficient. This method is the same as the one for the instancemethod object, except for the shuffling.

Definition at line 212 of file TCustomPyTypes.cxx.

static void PyROOT::im_dealloc ( PyMethodObject *  im)
static

from instancemethod, but with custom type (at issue is that instancemethod is not meant to be derived from)

Definition at line 184 of file TCustomPyTypes.cxx.

static PyObject* PyROOT::im_descr_get ( PyObject meth,
PyObject obj,
PyObject pyclass 
)
static

from instancemethod: don't rebind an already bound method, or an unbound method of a class that's not a base class of pyclass

Definition at line 255 of file TCustomPyTypes.cxx.

void PyROOT::InitRoot ( )

Definition at line 222 of file RootWrapper.cxx.

Referenced by initlibPyROOT().

Bool_t PyROOT::IsConstructor ( UInt_t  flags)
inline

Definition at line 69 of file TCallContext.h.

Bool_t PyROOT::IsCreator ( UInt_t  flags)
inline

Definition at line 65 of file TCallContext.h.

Bool_t PyROOT::IsSorted ( UInt_t  flags)
inline

Definition at line 61 of file TCallContext.h.

Bool_t PyROOT::ManagesSmartPtr ( TCallContext *  ctxt)
inline

Definition at line 73 of file TCallContext.h.

Referenced by PyROOT::TMethodHolder::InitExecutor_().

template<typename T >
Bool_t PyROOT::MethodProxy_Check ( T object)
inline
template<typename T >
Bool_t PyROOT::MethodProxy_CheckExact ( T object)
inline

Definition at line 69 of file MethodProxy.h.

Referenced by TPySelector::CallSelf(), if(), and TPython::MethodProxy_CheckExact().

MethodProxy* PyROOT::MethodProxy_New ( const std::string &  name,
std::vector< PyCallable * > &  methods 
)
inline
MethodProxy* PyROOT::MethodProxy_New ( const std::string &  name,
PyCallable *  method 
)
inline

Definition at line 84 of file MethodProxy.h.

template<typename T >
Bool_t PyROOT::ObjectProxy_Check ( T object)
inline
template<typename T >
Bool_t PyROOT::ObjectProxy_CheckExact ( T object)
inline

Definition at line 97 of file ObjectProxy.h.

Referenced by TPython::ObjectProxy_CheckExact().

void PyROOT::op_dealloc_nofree ( ObjectProxy *  pyobj)

Destroy the held C++ object, if owned; does not deallocate the proxy.

Definition at line 57 of file ObjectProxy.cxx.

Referenced by PyROOT::TMemoryRegulator::RecursiveRemove().

template<typename T >
Bool_t PyROOT::PropertyProxy_Check ( T object)
inline

Definition at line 50 of file PropertyProxy.h.

template<typename T >
Bool_t PyROOT::PropertyProxy_CheckExact ( T object)
inline

Definition at line 56 of file PropertyProxy.h.

PropertyProxy* PyROOT::PropertyProxy_New ( Cppyy::TCppScope_t  scope,
Cppyy::TCppIndex_t  idata 
)
inline

Definition at line 62 of file PropertyProxy.h.

Referenced by BindCppGlobal(), and GetCppGlobal().

PropertyProxy* PyROOT::PropertyProxy_NewConstant ( Cppyy::TCppScope_t  scope,
const std::string &  name,
void address 
)
inline

Definition at line 72 of file PropertyProxy.h.

ULong_t PyROOT::PyLongOrInt_AsULong ( PyObject pyobject)

Definition at line 145 of file Utility.cxx.

ULong64_t PyROOT::PyLongOrInt_AsULong64 ( PyObject pyobject)

Convert <pyobject> to C++ unsigned long long, with bounds checking.

Definition at line 166 of file Utility.cxx.

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( BoolArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( ShortArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( UShortArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( IntArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( UIntArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( LongArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( ULongArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( FloatArray  )
PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( DoubleArray  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Long  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Bool  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Char  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( UChar  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( ULong  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( LongLong  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( ULongLong  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Double  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Float  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( LongDouble  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( PyObject  )
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( Short  ,
Long   
)
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( UShort  ,
Long   
)
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( Int  ,
Long   
)
PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( UInt  ,
ULong   
)
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Bool  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( BoolConstRef  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Char  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( CharConstRef  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( UChar  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( UCharConstRef  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Int  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Long  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ULong  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( LongLong  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ULongLong  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Float  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Double  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( LongDouble  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Void  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( CString  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( VoidArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( BoolArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ShortArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( UShortArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( IntArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( UIntArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( LongArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ULongArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( FloatArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( DoubleArray  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( STLString  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( TGlobal  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Constructor  )
PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( PyObject  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Bool  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Char  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( UChar  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Short  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( UShort  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Int  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( UInt  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Long  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( ULong  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( LongLong  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( ULongLong  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Float  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Double  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( LongDouble  )
PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( STLString  )
PyROOT::PYROOT_DECLARE_REF_CONVERTER ( Int  )
PyROOT::PYROOT_DECLARE_REF_CONVERTER ( Long  )
PyROOT::PYROOT_DECLARE_REF_CONVERTER ( Double  )
PyROOT::PYROOT_DECLARE_STRING_CONVERTER ( TString  ,
TString   
)
PyROOT::PYROOT_DECLARE_STRING_CONVERTER ( STLString  ,
std::string   
)
template<typename T >
Bool_t PyROOT::PyRootType_Check ( T object)
inline

Definition at line 50 of file PyRootType.h.

Referenced by CreateScopeProxy().

template<typename T >
Bool_t PyROOT::PyRootType_CheckExact ( T object)
inline

Definition at line 56 of file PyRootType.h.

Bool_t PyROOT::Pythonize ( PyObject pyclass,
const std::string &  name 
)

Definition at line 2268 of file Pythonize.cxx.

Referenced by CreateScopeProxy().

Bool_t PyROOT::ReleasesGIL ( UInt_t  flags)
inline

Definition at line 77 of file TCallContext.h.

Bool_t PyROOT::ReleasesGIL ( TCallContext *  ctxt)
inline

Definition at line 81 of file TCallContext.h.

template<typename T >
Bool_t PyROOT::TCustomFloat_Check ( T object)
inline

Definition at line 22 of file TCustomPyTypes.h.

template<typename T >
Bool_t PyROOT::TCustomFloat_CheckExact ( T object)
inline

Definition at line 28 of file TCustomPyTypes.h.

template<typename T >
Bool_t PyROOT::TCustomInstanceMethod_Check ( T object)
inline

Definition at line 52 of file TCustomPyTypes.h.

template<typename T >
Bool_t PyROOT::TCustomInstanceMethod_CheckExact ( T object)
inline

Definition at line 58 of file TCustomPyTypes.h.

PyObject * PyROOT::TCustomInstanceMethod_New ( PyObject func,
PyObject self,
PyObject pyclass 
)

Definition at line 140 of file TCustomPyTypes.cxx.

Referenced by PyROOT::Utility::AddToClass(), and im_descr_get().

template<typename T >
Bool_t PyROOT::TCustomInt_Check ( T object)
inline

Definition at line 37 of file TCustomPyTypes.h.

template<typename T >
Bool_t PyROOT::TCustomInt_CheckExact ( T object)
inline

Definition at line 43 of file TCustomPyTypes.h.

template<typename T >
Bool_t PyROOT::TemplateProxy_Check ( T object)
inline

Definition at line 50 of file TemplateProxy.h.

Referenced by BuildScopeProxyDict().

template<typename T >
Bool_t PyROOT::TemplateProxy_CheckExact ( T object)
inline

Definition at line 56 of file TemplateProxy.h.

TemplateProxy* PyROOT::TemplateProxy_New ( const std::string &  name,
PyObject pyclass 
)
inline

Definition at line 62 of file TemplateProxy.h.

Referenced by BuildScopeProxyDict().

double PyROOT::TFNPyCallback ( void vpyfunc,
Long_t  npar,
double a0,
double a1 
)

Definition at line 1777 of file Pythonize.cxx.

void PyROOT::TMinuitPyCallback ( void vpyfunc,
Long_t  ,
Int_t a0,
Double_t a1,
Double_t a2,
Double_t a3,
Int_t  a4 
)

Definition at line 1747 of file Pythonize.cxx.

PyObject* PyROOT::TTreeGetAttr ( ObjectProxy self,
PyObject pyname 
)

Definition at line 1383 of file Pythonize.cxx.

Referenced by Pythonize().

template<typename T >
Bool_t PyROOT::TTupleOfInstances_Check ( T object)
inline

Definition at line 20 of file TTupleOfInstances.h.

template<typename T >
Bool_t PyROOT::TTupleOfInstances_CheckExact ( T object)
inline

Definition at line 26 of file TTupleOfInstances.h.

Referenced by PyROOT::TCppObjectArrayConverter::SetArg().

PyObject * PyROOT::TTupleOfInstances_New ( Cppyy::TCppObject_t  address,
Cppyy::TCppType_t  klass,
Py_ssize_t  nelems 
)

Definition at line 12 of file TTupleOfInstances.cxx.

Referenced by BindCppObjectArray().

Bool_t PyROOT::UseStrictOwnership ( TCallContext *  ctxt)
inline

Variable Documentation

PyMethodObject* PyROOT::free_list
static

Definition at line 134 of file TCustomPyTypes.cxx.

Referenced by im_dealloc(), and TCustomInstanceMethod_New().

ConvFactories_t PyROOT::gConvFactories

Definition at line 34 of file Converters.cxx.

Referenced by CreateConverter().

Bool_t PyROOT::gDictLookupActive = kFALSE

Definition at line 18 of file Utility.h.

Referenced by TPyClassGenerator::GetClass().

dict_lookup_func PyROOT::gDictLookupOrg = 0

Definition at line 15 of file Utility.h.

Referenced by initlibPyROOT().

ExecFactories_t PyROOT::gExecFactories

Definition at line 27 of file Executors.cxx.

Referenced by CreateExecutor().

R__EXTERN std::vector< Cppyy::TCppType_t > PyROOT::gIgnorePinnings

Definition at line 143 of file RootModule.cxx.

Referenced by BindCppObject().

PyObject * PyROOT::gNullPtrObject = 0
R__EXTERN std::vector< std::pair< Cppyy::TCppType_t, Cppyy::TCppType_t > > PyROOT::gPinnedTypes

Definition at line 142 of file RootModule.cxx.

Referenced by BindCppObject().

R__EXTERN PyObject * PyROOT::gRootModule = 0
R__EXTERN PyTypeObject PyROOT::MethodProxy_Type
int PyROOT::numfree = 0
static

Definition at line 135 of file TCustomPyTypes.cxx.

Referenced by im_dealloc().

R__EXTERN PyTypeObject PyROOT::ObjectProxy_Type
R__EXTERN PyTypeObject PyROOT::PropertyProxy_Type
R__EXTERN PyTypeObject PyROOT::PyRootType_Type

Definition at line 188 of file PyRootType.cxx.

Referenced by initlibPyROOT(), PyRootType_Check(), and PyRootType_CheckExact().

R__EXTERN PyTypeObject PyROOT::TCustomFloat_Type

Custom builtins, detectable by type, for pass by ref.

Author
WLAV
Date
12/13/2006
Version
1.0

Definition at line 16 of file TCustomPyTypes.cxx.

Referenced by initlibPyROOT(), TCustomFloat_Check(), and TCustomFloat_CheckExact().

R__EXTERN PyTypeObject PyROOT::TCustomInstanceMethod_Type
R__EXTERN PyTypeObject PyROOT::TCustomInt_Type

Definition at line 75 of file TCustomPyTypes.cxx.

Referenced by initlibPyROOT(), TCustomInt_Check(), and TCustomInt_CheckExact().

R__EXTERN PyTypeObject PyROOT::TemplateProxy_Type
R__EXTERN void* PyROOT::TPyCPPExceptionMagic
R__EXTERN void* PyROOT::TPyExceptionMagic
R__EXTERN PyTypeObject PyROOT::TTupleOfInstances_Type

Representation of C-style array of instances.

Author
WLAV
Date
02/10/2014
Version
1.0

Definition at line 39 of file TTupleOfInstances.cxx.

Referenced by initlibPyROOT(), TTupleOfInstances_Check(), TTupleOfInstances_CheckExact(), and TTupleOfInstances_New().