PyROOT Namespace Reference


Classes

class  TPyException
class  TPyROOTApplication
class  TReturnTypeAdapter
class  TMemberAdapter
class  TBaseAdapter
class  TScopeAdapter
class  TClassMethodHolder
class  TConstructorHolder
class  TConverter
class  TConstLongRefConverter
class  TConstDoubleRefConverter
class  TVoidConverter
class  TMacroConverter
class  TCStringConverter
class  TNonConstCStringConverter
class  TVoidArrayConverter
class  TLongLongArrayConverter
class  TRootObjectConverter
class  TStrictRootObjectConverter
class  TRootObjectPtrConverter
class  TVoidPtrRefConverter
class  TVoidPtrPtrConverter
class  TExecutor
class  TRootObjectExecutor
class  TRootObjectByValueExecutor
class  TRefExecutor
class  TRootObjectRefExecutor
class  TFunctionHolder
class  TMemoryRegulator
class  TMethodHolder
class  MethodProxy
class  ObjectProxy
class  PropertyProxy
class  TPyBufferFactory
class  PyCallable
class  PyRootClass
class  TTreeMemberFunction
class  TTreeBranch
class  TTreeSetBranchAddress
class  TChainSetBranchAddress
class  TemplateProxy
class  TSetItemHolder
union  TParameter

Namespaces

namespace  PyStrings
namespace  Utility

Typedefs

typedef TConverter *(*) ConverterFactory_t (Long_t user)
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
typedef PyDictEntry *(*) DictLookup_t (PyDictObject *, PyObject *, Long_t)

Functions

PyROOT::TConverterCreateConverter (const std::string &fullType, Long_t user)
 PYROOT_DECLARE_BASIC_CONVERTER (Long)
 PYROOT_DECLARE_BASIC_CONVERTER (LongRef)
 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 (IntRef)
 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_CONVERTER2 (Float, Double)
 PYROOT_DECLARE_BASIC_CONVERTER (DoubleRef)
 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)
PyROOT::TExecutorCreateExecutor (const std::string &fullType)
 PYROOT_DECLARE_BASIC_EXECUTOR (Bool)
 PYROOT_DECLARE_BASIC_EXECUTOR (Long)
 PYROOT_DECLARE_BASIC_EXECUTOR (Char)
 PYROOT_DECLARE_BASIC_EXECUTOR (Int)
 PYROOT_DECLARE_BASIC_EXECUTOR (ULong)
 PYROOT_DECLARE_BASIC_EXECUTOR (LongLong)
 PYROOT_DECLARE_BASIC_EXECUTOR (ULongLong)
 PYROOT_DECLARE_BASIC_EXECUTOR (Double)
 PYROOT_DECLARE_BASIC_EXECUTOR (Void)
 PYROOT_DECLARE_BASIC_EXECUTOR (CString)
 PYROOT_DECLARE_BASIC_EXECUTOR (VoidArray)
 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 (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 (Float)
 PYROOT_DECLARE_BASIC_REFEXECUTOR (Double)
 PYROOT_DECLARE_BASIC_REFEXECUTOR (STLString)
bool IsPseudoFunc (MethodProxy *pymeth)
Long_t HashSignature (PyObject *args)
int PriorityCmp (PyCallable *left, PyCallable *right)
PyObjectHandleReturn (MethodProxy *pymeth, PyObject *result)
PyObjectmp_name (MethodProxy *pymeth, void *)
PyObjectmp_module (MethodProxy *, void *)
PyObjectmp_doc (MethodProxy *pymeth, void *)
PyObjectmp_meth_func (MethodProxy *pymeth, void *)
PyObjectmp_meth_self (MethodProxy *pymeth, void *)
PyObjectmp_meth_class (MethodProxy *pymeth, void *)
PyObjectmp_func_closure (MethodProxy *, void *)
PyObjectmp_func_code (MethodProxy *pymeth, void *)
PyObjectmp_func_defaults (MethodProxy *pymeth, void *)
PyObjectmp_func_globals (MethodProxy *, void *)
PyObjectmp_getcreates (MethodProxy *pymeth, void *)
int mp_setcreates (MethodProxy *pymeth, PyObject *value, void *)
PyObjectmp_getmempolicy (MethodProxy *pymeth, void *)
int mp_setmempolicy (MethodProxy *pymeth, PyObject *value, void *)
PyObjectmp_getthreaded (MethodProxy *pymeth, void *)
int mp_setthreaded (MethodProxy *pymeth, PyObject *value, void *)
PyObjectmp_call (MethodProxy *pymeth, PyObject *args, PyObject *kwds)
MethodProxymp_descrget (MethodProxy *pymeth, ObjectProxy *pyobj, PyObject *)
MethodProxymp_new (PyTypeObject *, PyObject *, PyObject *)
void mp_dealloc (MethodProxy *pymeth)
long mp_hash (MethodProxy *pymeth)
int mp_traverse (MethodProxy *pymeth, visitproc visit, void *args)
int mp_clear (MethodProxy *pymeth)
PyObjectmp_richcompare (MethodProxy *self, MethodProxy *other, int op)
PyObjectmp_disp (MethodProxy *pymeth, PyObject *sigarg)
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)
void op_dealloc_nofree (ObjectProxy *pyobj)
PyObjectop_nonzero (ObjectProxy *self)
PyObjectop_reduce (ObjectProxy *self)
ObjectProxyop_new (PyTypeObject *subtype, PyObject *, PyObject *)
void op_dealloc (ObjectProxy *pyobj)
PyObjectop_richcompare (ObjectProxy *self, ObjectProxy *other, int op)
PyObjectop_repr (ObjectProxy *pyobj)
template<typename T>
Bool_t ObjectProxy_Check (T *object)
template<typename T>
Bool_t ObjectProxy_CheckExact (T *object)
PyObjectpp_get (PropertyProxy *pyprop, ObjectProxy *pyobj, PyObject *)
int pp_set (PropertyProxy *pyprop, ObjectProxy *pyobj, PyObject *value)
PropertyProxypp_new (PyTypeObject *pytype, PyObject *, PyObject *)
void pp_dealloc (PropertyProxy *pyprop)
template<typename T>
Bool_t PropertyProxy_Check (T *object)
template<typename T>
Bool_t PropertyProxy_CheckExact (T *object)
template<class T>
PropertyProxyPropertyProxy_New (const T &dmi)
PyObjectmeta_alloc (PyTypeObject *metatype, Py_ssize_t nitems)
void meta_dealloc (PyRootClass *pytype)
PyObjectpt_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
PyObjectpt_getattro (PyObject *pyclass, PyObject *pyname)
template<typename T>
Bool_t PyRootType_Check (T *object)
template<typename T>
Bool_t PyRootType_CheckExact (T *object)
Bool_t CreatePyStrings ()
PyObjectDestroyPyStrings ()
PyObjectTTreeGetAttr (ObjectProxy *self, PyObject *pyname)
Bool_t Pythonize (PyObject *pyclass, const std::string &name)
void InitRoot ()
template<class T, class B, class M>
int BuildRootClassDict (const T &klass, PyObject *pyclass)
template<class T, class B, class M>
PyObjectBuildRootClassBases (const T &klass)
PyObjectMakeRootClass (PyObject *, PyObject *args)
PyObjectMakeRootClassFromType (TClass *klass)
template<class T, class B, class M>
PyObjectMakeRootClassFromString (const std::string &fullname, PyObject *scope)
PyObjectGetRootGlobal (PyObject *, PyObject *args)
PyObjectGetRootGlobalFromString (const std::string &name)
PyObjectBindRootObjectNoCast (void *address, TClass *klass, Bool_t isRef)
PyObjectBindRootObject (void *address, TClass *klass, Bool_t isRef)
PyObjectBindRootGlobal (TGlobal *gbl)
PyObjectTCustomInstanceMethod_New (PyObject *func, PyObject *self, PyObject *pyclass)
static void im_dealloc (register PyMethodObject *im)
static PyObjectim_call (PyObject *meth, PyObject *args, PyObject *kw)
static PyObjectim_descr_get (PyObject *meth, PyObject *obj, PyObject *pyclass)
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)
TemplateProxytpp_new (PyTypeObject *, PyObject *, PyObject *)
void tpp_dealloc (TemplateProxy *pytmpl)
int tpp_traverse (TemplateProxy *pytmpl, visitproc visit, void *args)
int tpp_clear (TemplateProxy *pytmpl)
PyObjecttpp_call (TemplateProxy *pytmpl, PyObject *args, PyObject *kwds)
TemplateProxytpp_descrget (TemplateProxy *pytmpl, PyObject *pyobj, PyObject *)
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)
ULong_t PyLongOrInt_AsULong (PyObject *pyobject)
ULong64_t PyLongOrInt_AsULong64 (PyObject *pyobject)

Variables

R__EXTERN void * TPyExceptionMagic
R__EXTERN ConvFactories_t gConvFactories
R__EXTERN ExecFactories_t gExecFactories
PyGetSetDef mp_getset []
PyMethodDef mp_methods []
PyTypeObject MethodProxy_Type
R__EXTERN PyTypeObject MethodProxy_Type
PyMethodDef op_methods []
PyNumberMethods op_as_number
PyTypeObject ObjectProxy_Type
R__EXTERN PyTypeObject ObjectProxy_Type
PyTypeObject PropertyProxy_Type
R__EXTERN PyTypeObject PropertyProxy_Type
PyTypeObject PyRootType_Type
R__EXTERN PyTypeObject PyRootType_Type
PyTypeObject TCustomFloat_Type
PyTypeObject TCustomInt_Type
static PyMethodObject * free_list
static int numfree = 0
PyTypeObject TCustomInstanceMethod_Type
R__EXTERN PyTypeObject TCustomFloat_Type
R__EXTERN PyTypeObject TCustomInt_Type
R__EXTERN PyTypeObject TCustomInstanceMethod_Type
PyTypeObject TemplateProxy_Type
R__EXTERN PyTypeObject TemplateProxy_Type
R__EXTERN DictLookup_t gDictLookupOrg
R__EXTERN Bool_t gDictLookupActive


Typedef Documentation

typedef TPyBufferFactory PyROOT::BufFac_t

Definition at line 42 of file PyBufferFactory.h.

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

Definition at line 233 of file Converters.h.

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

Definition at line 234 of file Converters.h.

typedef PyDictEntry*(*) PyROOT::DictLookup_t(PyDictObject *, PyObject *, Long_t)

Definition at line 24 of file Utility.h.

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

Definition at line 125 of file Executors.h.

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

Definition at line 124 of file Executors.h.


Function Documentation

PyObject * PyROOT::BindRootGlobal ( TGlobal gbl  ) 

Definition at line 790 of file RootWrapper.cxx.

References BindRootObject(), BindRootObjectNoCast(), PyROOT::Utility::Compound(), G__BIT_ISENUM, TGlobal::GetAddress(), TClass::GetClass(), TGlobal::GetFullTypeName(), TGlobal::GetTypeName(), TClass::InheritsFrom(), and kTRUE.

Referenced by GetRootGlobalFromString().

PyObject * PyROOT::BindRootObject ( void *  address,
TClass klass,
Bool_t  isRef = kFALSE 
)

Definition at line 741 of file RootWrapper.cxx.

References BindRootObjectNoCast(), xmlio::Class, PyROOT::ObjectProxy::fFlags, TClass::GetActualClass(), GetObjectOffset(), TClass::IsTObject(), kFALSE, PyROOT::ObjectProxy::kIsReference, object, PyROOT::TMemoryRegulator::RegisterObject(), and PyROOT::TMemoryRegulator::RetrieveObject().

Referenced by AddToGlobalScope(), TPython::Bind(), BindRootGlobal(), PyROOT::TRootObjectRefExecutor::Execute(), PyROOT::TRootObjectExecutor::Execute(), PyROOT::TRootObjectConverter::FromMemory(), PyROOT::TRootObjectPtrConverter::FromMemory(), TPySelector::Init(), LookupRootEntity(), ObjectProxyExpand(), PyROOT::TTreeBranch::operator()(), TPySelector::SlaveBegin(), TCollectionIter(), TCollectionMul(), and TSeqCollectionGetItem().

PyObject * PyROOT::BindRootObjectNoCast ( void *  address,
TClass klass,
Bool_t  isRef = kFALSE 
)

Definition at line 677 of file RootWrapper.cxx.

References MakeRootClassFromType(), NULL, and PyROOT::ObjectProxy::Set().

Referenced by BindObject_(), BindRootGlobal(), BindRootObject(), PyROOT::TRootObjectByValueExecutor::Execute(), TPython::ObjectProxy_FromVoidPtr(), TClassDynamicCast(), TClassStaticCast(), and TTreeGetAttr().

template<class T, class B, class M>
PyObject * PyROOT::BuildRootClassBases ( const T klass  ) 

Definition at line 363 of file RootWrapper.cxx.

References B, name, ObjectProxy_Type, and size_t.

template<class T, class B, class M>
int PyROOT::BuildRootClassDict ( const T klass,
PyObject pyclass 
)

Definition at line 198 of file RootWrapper.cxx.

References PyROOT::Utility::Compound(), GetDataMemberAddress(), PyROOT::PropertyProxy::GetName(), kFALSE, kTRUE, PyROOT::Utility::MapOperatorName(), method, MethodProxy_New(), PropertyProxy_New(), Py_TYPE, ROOT::Reflex::Q, ROOT::Reflex::S, size_t, TemplateProxy_Check(), TemplateProxy_New(), and val.

TConverter * PyROOT::CreateConverter ( const std::string fullType,
Long_t  user = -1 
)

Definition at line 973 of file Converters.cxx.

References PyROOT::Utility::Compound(), G__BIT_ISCONSTANT, G__BIT_ISENUM, gConvFactories, TClass::GetClass(), h, kTRUE, result(), s, and TClassEdit::ShortType().

Referenced by PyROOT::TMethodHolder< T, M >::InitCallFunc_(), PyROOT::PropertyProxy::Set(), and TTreeGetAttr().

TExecutor * PyROOT::CreateExecutor ( const std::string fullType  ) 

Definition at line 290 of file Executors.cxx.

References PyROOT::Utility::Compound(), G__BIT_ISENUM, TClass::GetClass(), gExecFactories, h, result(), s, and TClassEdit::ShortType().

Referenced by PyROOT::TMethodHolder< T, M >::InitExecutor_().

Bool_t PyROOT::CreatePyStrings (  ) 

Definition at line 57 of file PyStrings.cxx.

References PyROOT::PyStrings::gAdd, PyROOT::PyStrings::gAt, PyROOT::PyStrings::gBase, PyROOT::PyStrings::gBases, PyROOT::PyStrings::gBegin, PyROOT::PyStrings::gBranch, PyROOT::PyStrings::gClass, PyROOT::PyStrings::gCppEq, PyROOT::PyStrings::gCppNe, PyROOT::PyStrings::gDeref, PyROOT::PyStrings::gDict, PyROOT::PyStrings::gDiv, PyROOT::PyStrings::gEmptyString, PyROOT::PyStrings::gEnd, PyROOT::PyStrings::gEq, PyROOT::PyStrings::gFirst, PyROOT::PyStrings::gFitFCN, PyROOT::PyStrings::gFollow, PyROOT::PyStrings::gGetItem, PyROOT::PyStrings::gInit, PyROOT::PyStrings::gIter, PyROOT::PyStrings::gLen, PyROOT::PyStrings::gLifeLine, PyROOT::PyStrings::gModule, PyROOT::PyStrings::gMRO, PyROOT::PyStrings::gMul, PyROOT::PyStrings::gName, PyROOT::PyStrings::gNe, PyROOT::PyStrings::gROOTns, PyROOT::PyStrings::gSecond, PyROOT::PyStrings::gSetBranchAddress, PyROOT::PyStrings::gSetFCN, PyROOT::PyStrings::gSize, PyROOT::PyStrings::gSub, PyROOT::PyStrings::gTClassDynCast, PyROOT::PyStrings::gTemplate, PyROOT::PyStrings::gTypeCode, PyROOT::PyStrings::gVectorAt, kFALSE, kTRUE, PYROOT__div__, PYROOT_INITIALIZE_STRING, PyROOT_PyUnicode_FromString, and size.

Referenced by initlibPyROOT().

PyObject * PyROOT::DestroyPyStrings (  ) 

Definition at line 105 of file PyStrings.cxx.

References PyROOT::PyStrings::gAdd, PyROOT::PyStrings::gAt, PyROOT::PyStrings::gBase, PyROOT::PyStrings::gBases, PyROOT::PyStrings::gBegin, PyROOT::PyStrings::gBranch, PyROOT::PyStrings::gClass, PyROOT::PyStrings::gCppEq, PyROOT::PyStrings::gCppNe, PyROOT::PyStrings::gDeref, PyROOT::PyStrings::gDict, PyROOT::PyStrings::gDiv, PyROOT::PyStrings::gEmptyString, PyROOT::PyStrings::gEnd, PyROOT::PyStrings::gEq, PyROOT::PyStrings::gFirst, PyROOT::PyStrings::gFitFCN, PyROOT::PyStrings::gFollow, PyROOT::PyStrings::gGetItem, PyROOT::PyStrings::gInit, PyROOT::PyStrings::gIter, PyROOT::PyStrings::gLen, PyROOT::PyStrings::gLifeLine, PyROOT::PyStrings::gModule, PyROOT::PyStrings::gMRO, PyROOT::PyStrings::gMul, PyROOT::PyStrings::gName, PyROOT::PyStrings::gNe, PyROOT::PyStrings::gROOTns, PyROOT::PyStrings::gSecond, PyROOT::PyStrings::gSetBranchAddress, PyROOT::PyStrings::gSetFCN, PyROOT::PyStrings::gSize, PyROOT::PyStrings::gSub, PyROOT::PyStrings::gTClassDynCast, PyROOT::PyStrings::gTemplate, PyROOT::PyStrings::gTypeCode, and PyROOT::PyStrings::gVectorAt.

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

Definition at line 630 of file RootWrapper.cxx.

References GetRootGlobalFromString(), and PyROOT_PyUnicode_AsString.

PyObject * PyROOT::GetRootGlobalFromString ( const std::string name  ) 

Definition at line 642 of file RootWrapper.cxx.

References BindRootGlobal(), TCollection::FindObject(), func(), TROOT::GetListOfGlobalFunctions(), TROOT::GetListOfGlobals(), gROOT, Cint::G__DataMemberInfo::IsValid(), kFALSE, kTRUE, MethodProxy_New(), Cint::G__DataMemberInfo::Name(), Cint::G__DataMemberInfo::Next(), and TIter::Next().

Referenced by GetRootGlobal(), LookupRootEntity(), and pt_getattro().

PyObject* PyROOT::@24::HandleReturn ( MethodProxy *  pymeth,
PyObject result 
) [inline, static]

Definition at line 75 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, PyROOT::ObjectProxy::GetObject(), PyROOT::PyStrings::gLifeLine, PyROOT::ObjectProxy::HoldOn(), PyROOT::MethodProxy::MethodInfo_t::kIsConstructor, PyROOT::MethodProxy::MethodInfo_t::kIsCreator, PyROOT::ObjectProxy::ObjectIsA(), ObjectProxy_Check(), result(), TClass::Size(), and TPyExceptionMagic.

Referenced by mp_call().

Long_t PyROOT::@24::HashSignature ( PyObject args  )  [inline, static]

Definition at line 53 of file MethodProxy.cxx.

References hash, i, and Py_TYPE.

Referenced by mp_call().

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

Definition at line 196 of file TCustomPyTypes.cxx.

References argc, func(), i, and result().

static void PyROOT::im_dealloc ( register PyMethodObject *  im  )  [static]

Definition at line 171 of file TCustomPyTypes.cxx.

References free_list, NULL, numfree, and PyMethod_MAXFREELIST.

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

Definition at line 241 of file TCustomPyTypes.cxx.

References NULL, and TCustomInstanceMethod_New().

void PyROOT::InitRoot (  ) 

Definition at line 181 of file RootWrapper.cxx.

References TSeqCollection::Add(), AddToGlobalScope(), TROOT::GetListOfCleanups(), gInterpreter, gROOT, gSystem, and m.

Referenced by initlibPyROOT().

bool PyROOT::@24::IsPseudoFunc ( MethodProxy *  pymeth  )  [inline, static]

Definition at line 34 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fSelf.

Referenced by mp_call(), mp_dealloc(), mp_disp(), mp_meth_class(), mp_meth_self(), mp_richcompare(), and mp_traverse().

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

Definition at line 412 of file RootWrapper.cxx.

References PyROOT_PyUnicode_AsString.

template<class T, class B, class M>
PyObject * PyROOT::MakeRootClassFromString ( const std::string fullname,
PyObject scope = 0 
)

Definition at line 441 of file RootWrapper.cxx.

References c, CreateNewROOTPythonClass(), ROOT::Reflex::FINAL, G__defined_tagname, PyROOT::PyStrings::gName, gPyClasses, gRootModule, PyROOT::PyStrings::gROOTns, PyROOT::PyStrings::gTemplate, kFALSE, kTRUE, LoadDictionaryForSTLType(), lookup(), name, NULL, PyROOT_PyUnicode_AsString, PyROOT_PyUnicode_FromString, Pythonize(), ROOT::Reflex::SCOPED, and T.

PyObject * PyROOT::MakeRootClassFromType ( TClass klass  ) 

Definition at line 423 of file RootWrapper.cxx.

References gPyClasses.

Referenced by BindRootObjectNoCast().

PyObject* PyROOT::@34::meta_alloc ( PyTypeObject *  metatype,
Py_ssize_t  nitems 
) [static]

Definition at line 22 of file PyRootType.cxx.

Referenced by pt_new().

void PyROOT::@34::meta_dealloc ( PyRootClass *  pytype  )  [static]

Definition at line 34 of file PyRootType.cxx.

References PyROOT::PyRootClass::fClass, and TClassRef::~TClassRef().

Referenced by pt_new().

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

Definition at line 75 of file MethodProxy.h.

References MethodProxy_Type.

Referenced by PyROOT::Utility::AddToClass(), PyROOT::Utility::AddUsingToClass(), and HasAttrDirect().

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

Definition at line 81 of file MethodProxy.h.

References MethodProxy_Type, and Py_TYPE.

Referenced by TPySelector::CallSelf().

MethodProxy* PyROOT::MethodProxy_New ( const std::string name,
PyCallable *  method 
) [inline]

Definition at line 95 of file MethodProxy.h.

References method, MethodProxy_New(), and p.

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

Definition at line 87 of file MethodProxy.h.

References MethodProxy_Type, and PyROOT::MethodProxy::Set().

Referenced by PyROOT::Utility::AddToClass(), BuildRootClassDict(), GetRootGlobalFromString(), MethodProxy_New(), pt_getattro(), and Pythonize().

PyObject* PyROOT::@24::mp_call ( MethodProxy *  pymeth,
PyObject args,
PyObject kwds 
) [static]

Definition at line 447 of file MethodProxy.cxx.

References errors, PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, PyROOT::Utility::gMemoryPolicy, HandleReturn(), HashSignature(), i, if(), IsPseudoFunc(), PyROOT::Utility::kHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsSorted, PyROOT::MethodProxy::MethodInfo_t::kIsStrict, PyROOT::MethodProxy::MethodInfo_t::kReleaseGIL, PyROOT::Utility::kStrict, m, PriorityCmp(), PyROOT_PyUnicode_AsString, result(), and TPyExceptionMagic.

int PyROOT::@24::mp_clear ( MethodProxy *  pymeth  )  [static]

Definition at line 633 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fSelf.

void PyROOT::@24::mp_dealloc ( MethodProxy *  pymeth  )  [static]

Definition at line 598 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, and IsPseudoFunc().

MethodProxy* PyROOT::@24::mp_descrget ( MethodProxy *  pymeth,
ObjectProxy *  pyobj,
PyObject  
) [static]

Definition at line 569 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, and MethodProxy_Type.

PyObject* PyROOT::@24::mp_disp ( MethodProxy *  pymeth,
PyObject sigarg 
) [static]

Definition at line 659 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, i, IsPseudoFunc(), mp_new(), Py_TYPE, PyROOT_PyUnicode_AsString, PyROOT_PyUnicode_Check, PyROOT_PyUnicode_FromFormat, and PyROOT::MethodProxy::Set().

PyObject* PyROOT::@24::mp_doc ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 122 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, i, PyROOT_PyUnicode_Append, PyROOT_PyUnicode_AppendAndDel, and PyROOT_PyUnicode_FromString.

PyObject* PyROOT::@24::mp_func_closure ( MethodProxy *  ,
void *   
) [static]

Definition at line 198 of file MethodProxy.cxx.

PyObject* PyROOT::@24::mp_func_code ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 205 of file MethodProxy.cxx.

References CO_NOFREE, PyROOT::MethodProxy::fMethodInfo, and PyROOT::MethodProxy::GetName().

PyObject* PyROOT::@24::mp_func_defaults ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 296 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo.

PyObject* PyROOT::@24::mp_func_globals ( MethodProxy *  ,
void *   
) [static]

Definition at line 324 of file MethodProxy.cxx.

PyObject* PyROOT::@24::mp_getcreates ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 334 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::kIsCreator.

PyObject* PyROOT::@24::mp_getmempolicy ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 363 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::Utility::kHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsStrict, and PyROOT::Utility::kStrict.

PyObject* PyROOT::@24::mp_getthreaded ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 394 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::kReleaseGIL.

long PyROOT::@24::mp_hash ( MethodProxy *  pymeth  )  [static]

Definition at line 617 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo.

PyObject* PyROOT::@24::mp_meth_class ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 181 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, and IsPseudoFunc().

PyObject* PyROOT::@24::mp_meth_func ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 146 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, and MethodProxy_Type.

PyObject* PyROOT::@24::mp_meth_self ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 163 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, and IsPseudoFunc().

PyObject* PyROOT::@24::mp_module ( MethodProxy *  ,
void *   
) [static]

Definition at line 115 of file MethodProxy.cxx.

References PyROOT::PyStrings::gROOTns.

PyObject* PyROOT::@24::mp_name ( MethodProxy *  pymeth,
void *   
) [static]

Definition at line 109 of file MethodProxy.cxx.

References PyROOT::MethodProxy::GetName(), and PyROOT_PyUnicode_FromString.

MethodProxy* PyROOT::@24::mp_new ( PyTypeObject *  ,
PyObject ,
PyObject  
) [static]

Definition at line 587 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::MethodProxy::fSelf, and MethodProxy_Type.

Referenced by mp_disp().

PyObject* PyROOT::@24::mp_richcompare ( MethodProxy *  self,
MethodProxy *  other,
int  op 
) [static]

Definition at line 642 of file MethodProxy.cxx.

References IsPseudoFunc(), and Py_TYPE.

int PyROOT::@24::mp_setcreates ( MethodProxy *  pymeth,
PyObject value,
void *   
) [static]

Definition at line 341 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::kIsCreator.

int PyROOT::@24::mp_setmempolicy ( MethodProxy *  pymeth,
PyObject value,
void *   
) [static]

Definition at line 375 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, PyROOT::Utility::kHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsHeuristics, PyROOT::MethodProxy::MethodInfo_t::kIsStrict, and PyROOT::Utility::kStrict.

int PyROOT::@24::mp_setthreaded ( MethodProxy *  pymeth,
PyObject value,
void *   
) [static]

Definition at line 401 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fMethodInfo, and PyROOT::MethodProxy::MethodInfo_t::kReleaseGIL.

int PyROOT::@24::mp_traverse ( MethodProxy *  pymeth,
visitproc  visit,
void *  args 
) [static]

Definition at line 624 of file MethodProxy.cxx.

References PyROOT::MethodProxy::fSelf, and IsPseudoFunc().

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

Definition at line 73 of file ObjectProxy.h.

References ObjectProxy_Type.

Referenced by PyROOT::Utility::AddBinaryOperator(), ClassImp(), TPython::Eval(), PyROOT::TMethodHolder< T, M >::FilterArgs(), PyROOT::PropertyProxy::GetAddress(), GetObjectProxyAddress(), HandleReturn(), MapContains(), PyROOT::TMemoryRegulator::ObjectEraseCallback(), TPython::ObjectProxy_AsVoidPtr(), TPython::ObjectProxy_Check(), TPyReturn::operator void *(), PyROOT::TMethodHolder< T, M >::operator()(), PyROOT::TTreeSetBranchAddress::operator()(), PyROOT::TTreeBranch::operator()(), PairUnpack(), pp_get(), PyROOT::TMemoryRegulator::RecursiveRemove(), PyROOT::TRootObjectConverter::SetArg(), PyROOT::TVoidPtrPtrConverter::SetArg(), PyROOT::TVoidPtrRefConverter::SetArg(), PyROOT::TVoidArrayConverter::SetArg(), PyROOT::TRootObjectPtrConverter::SetArg(), TClassStaticCast(), TObjectCompare(), TObjectContains(), TObjectIsEqual(), TObjectIsNotEqual(), PyROOT::TRootObjectConverter::ToMemory(), PyROOT::TRootObjectPtrConverter::ToMemory(), and PyROOT::TVoidArrayConverter::ToMemory().

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

Definition at line 79 of file ObjectProxy.h.

References ObjectProxy_Type, and Py_TYPE.

Referenced by TPython::ObjectProxy_CheckExact().

void PyROOT::@26::op_dealloc ( ObjectProxy *  pyobj  )  [static]

Definition at line 108 of file ObjectProxy.cxx.

References op_dealloc_nofree(), and Py_TYPE.

void PyROOT::op_dealloc_nofree ( ObjectProxy *  pyobj  ) 

Definition at line 19 of file ObjectProxy.cxx.

References TClass::Destructor(), PyROOT::ObjectProxy::fFlags, PyROOT::ObjectProxy::fObject, PyROOT::ObjectProxy::kIsOwner, and PyROOT::ObjectProxy::ObjectIsA().

Referenced by op_dealloc(), and PyROOT::TMemoryRegulator::RecursiveRemove().

ObjectProxy* PyROOT::@26::op_new ( PyTypeObject *  subtype,
PyObject ,
PyObject  
) [static]

Definition at line 98 of file ObjectProxy.cxx.

References PyROOT::ObjectProxy::fFlags, and PyROOT::ObjectProxy::fObject.

PyObject* PyROOT::@26::op_nonzero ( ObjectProxy *  self  )  [static]

Definition at line 32 of file ObjectProxy.cxx.

References result().

PyObject* PyROOT::@26::op_reduce ( ObjectProxy *  self  )  [static]

Definition at line 41 of file ObjectProxy.cxx.

References TBuffer::Buffer(), PyROOT::ObjectProxy::GetObject(), gRootModule, TBuffer::kWrite, TBuffer::Length(), PyROOT::ObjectProxy::ObjectIsA(), PyBytes_FromString, PyBytes_FromStringAndSize, TBufferFile::Reset(), result(), and TBufferFile::WriteObjectAny().

PyObject* PyROOT::@26::op_repr ( ObjectProxy *  pyobj  )  [static]

Definition at line 143 of file ObjectProxy.cxx.

References PyROOT::ObjectProxy::fFlags, PyROOT::PyStrings::gDeref, PyROOT::ObjectProxy::kIsReference, name, PyROOT::ObjectProxy::ObjectIsA(), PyROOT_PyUnicode_AsString, PyROOT_PyUnicode_FromFormat, and PyROOT_PyUnicode_GET_SIZE.

PyObject* PyROOT::@26::op_richcompare ( ObjectProxy *  self,
ObjectProxy *  other,
int  op 
) [static]

Definition at line 115 of file ObjectProxy.cxx.

References PyROOT::ObjectProxy::fObject, and Py_TYPE.

void PyROOT::@28::pp_dealloc ( PropertyProxy *  pyprop  )  [static]

Definition at line 112 of file PropertyProxy.cxx.

References PyROOT::PropertyProxy::fConverter, PyROOT::PropertyProxy::fName, and Py_TYPE.

PyObject* PyROOT::@28::pp_get ( PropertyProxy *  pyprop,
ObjectProxy *  pyobj,
PyObject  
) [static]

Definition at line 29 of file PropertyProxy.cxx.

References PyROOT::PropertyProxy::fConverter, PyROOT::PropertyProxy::fProperty, PyROOT::TConverter::FromMemory(), PyROOT::PropertyProxy::GetAddress(), PyROOT::PropertyProxy::GetName(), PyROOT::PyStrings::gLifeLine, ObjectProxy_Check(), ptr, and result().

PropertyProxy* PyROOT::@28::pp_new ( PyTypeObject *  pytype,
PyObject ,
PyObject  
) [static]

Definition at line 102 of file PropertyProxy.cxx.

References PyROOT::PropertyProxy::fConverter, and PyROOT::PropertyProxy::fName.

int PyROOT::@28::pp_set ( PropertyProxy *  pyprop,
ObjectProxy *  pyobj,
PyObject value 
) [static]

Definition at line 69 of file PropertyProxy.cxx.

References PyROOT::PropertyProxy::fConverter, PyROOT::PropertyProxy::fProperty, G__BIT_ISSTATIC, PyROOT::PropertyProxy::GetAddress(), ptr, and PyROOT::TConverter::ToMemory().

int PyROOT::@24::PriorityCmp ( PyCallable *  left,
PyCallable *  right 
) [static]

Definition at line 69 of file MethodProxy.cxx.

References PyROOT::PyCallable::GetPriority().

Referenced by mp_call().

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

Definition at line 67 of file PropertyProxy.h.

References PropertyProxy_Type.

Referenced by GetObjectProxyAddress(), and RootLookDictString().

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

Definition at line 73 of file PropertyProxy.h.

References PropertyProxy_Type, and Py_TYPE.

template<class T>
PropertyProxy* PyROOT::PropertyProxy_New ( const T dmi  )  [inline]

Definition at line 80 of file PropertyProxy.h.

References PropertyProxy_Type, and PyROOT::PropertyProxy::Set().

Referenced by BuildRootClassDict().

PyObject* PyROOT::@34::pt_getattro ( PyObject pyclass,
PyObject pyname 
) [static]

Definition at line 77 of file PyRootType.cxx.

References PyROOT::TScopeAdapter::ByName(), PyROOT::TScopeAdapter::FunctionMemberAt(), PyROOT::TScopeAdapter::FunctionMemberSize(), GetRootGlobalFromString(), i, PyROOT::TScopeAdapter::IsNamespace(), m, MethodProxy_New(), name, PyROOT_PyUnicode_AsString, PyROOT_PyUnicode_CheckExact, size_t, and value.

PyObject* PyROOT::@34::pt_new ( PyTypeObject *  subtype,
PyObject args,
PyObject kwds 
) [static]

Definition at line 41 of file PyRootType.cxx.

References meta_alloc(), meta_dealloc(), PyROOT_PyUnicode_AsString, and result().

ULong_t PyROOT::PyLongOrInt_AsULong ( PyObject pyobject  ) 

Definition at line 128 of file Utility.cxx.

References i.

ULong64_t PyROOT::PyLongOrInt_AsULong64 ( PyObject pyobject  ) 

Definition at line 147 of file Utility.cxx.

References i.

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( DoubleArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( FloatArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( ULongArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( LongArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( UIntArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( IntArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( UShortArray   ) 

PyROOT::PYROOT_DECLARE_ARRAY_CONVERTER ( ShortArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( PyObject   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( DoubleRef   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Double   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( ULongLong   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( LongLong   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( ULong   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( IntRef   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( UChar   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Char   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Bool   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( LongRef   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER ( Long   ) 

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( Float  ,
Double   
)

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( UInt  ,
ULong   
)

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( Int  ,
Long   
)

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( UShort  ,
Long   
)

PyROOT::PYROOT_DECLARE_BASIC_CONVERTER2 ( Short  ,
Long   
)

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( PyObject   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Constructor   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( TGlobal   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( STLString   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( DoubleArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( FloatArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ULongArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( LongArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( UIntArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( IntArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( UShortArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ShortArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( VoidArray   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( CString   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Void   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Double   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ULongLong   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( LongLong   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( ULong   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Int   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Char   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Long   ) 

PyROOT::PYROOT_DECLARE_BASIC_EXECUTOR ( Bool   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( STLString   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Double   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Float   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( ULong   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Long   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( UInt   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Int   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( UShort   ) 

PyROOT::PYROOT_DECLARE_BASIC_REFEXECUTOR ( Short   ) 

PyROOT::PYROOT_DECLARE_STRING_CONVERTER ( STLString  ,
std::string   
)

PyROOT::PYROOT_DECLARE_STRING_CONVERTER ( TString  ,
TString   
)

template<typename T>
Bool_t PyROOT::PyRootType_Check ( T object  )  [inline]

Definition at line 51 of file PyRootType.h.

References PyRootType_Type.

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

Definition at line 57 of file PyRootType.h.

References Py_TYPE, and PyRootType_Type.

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

Definition at line 1823 of file Pythonize.cxx.

References PyROOT::Utility::AddBinaryOperator(), PyROOT::Utility::AddToClass(), PyROOT::Utility::AddUsingToClass(), CheckedGetItem(), DeRefGetAttr(), PyROOT::MethodProxy::fMethodInfo, FollowGetAttr(), PyROOT::PyStrings::gBegin, PyROOT::PyStrings::gBranch, PyROOT::PyStrings::gCppEq, PyROOT::PyStrings::gCppNe, PyROOT::PyStrings::gDeref, PyROOT::PyStrings::gEnd, GenObjectIsEqual(), GenObjectIsNotEqual(), PyROOT::PyStrings::gEq, gErrorIgnoreLevel, TClass::GetClass(), TClass::GetClassInfo(), TClass::GetMethodAllAny(), TFunction::GetReturnTypeName(), PyROOT::PyStrings::gFollow, PyROOT::PyStrings::gGetItem, PyROOT::PyStrings::gInit, PyROOT::PyStrings::gIter, PyROOT::PyStrings::gLen, PyROOT::PyStrings::gName, PyROOT::PyStrings::gNe, PyROOT::PyStrings::gSetBranchAddress, PyROOT::PyStrings::gSize, PyROOT::PyStrings::gVectorAt, HasAttrDirect(), IsTemplatedSTLClass(), kFALSE, kTRUE, MapContains(), method, MethodProxy_New(), PairUnpack(), PyROOT_PyUnicode_AsString, ReturnThree(), ReturnTwo(), StlIterIsEqual(), StlIterIsNotEqual(), StlIterNext(), StlSequenceIter(), TClassDynamicCast(), TClassStaticCast(), TClonesArraySetItem(), TCollectionAdd(), TCollectionCount(), TCollectionExtend(), TCollectionIMul(), TCollectionIter(), TCollectionMul(), TCollectionRemove(), TDirectoryGetObject(), TDirectoryWriteObject(), TFunctionCall(), THNIMul(), TIterIter(), TIterNext(), TObjectCompare(), TObjectContains(), TObjectIsEqual(), TObjectIsNotEqual(), TObjStringLength(), TSeqCollectionDelItem(), TSeqCollectionGetItem(), TSeqCollectionIndex(), TSeqCollectionInsert(), TSeqCollectionPop(), TSeqCollectionReverse(), TSeqCollectionSetItem(), TSeqCollectionSort(), TTreeGetAttr(), and VectorGetItem().

Referenced by MakeRootClassFromString().

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

Definition at line 22 of file TCustomPyTypes.h.

References TCustomFloat_Type.

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

Definition at line 28 of file TCustomPyTypes.h.

References Py_TYPE, and TCustomFloat_Type.

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

Definition at line 52 of file TCustomPyTypes.h.

References TCustomInstanceMethod_Type.

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

Definition at line 58 of file TCustomPyTypes.h.

References Py_TYPE, and TCustomInstanceMethod_Type.

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

Definition at line 134 of file TCustomPyTypes.cxx.

References free_list, NULL, TCustomInstanceMethod_Type, and void.

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.

References TCustomInt_Type.

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

Definition at line 43 of file TCustomPyTypes.h.

References Py_TYPE, and TCustomInt_Type.

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

Definition at line 45 of file TemplateProxy.h.

References TemplateProxy_Type.

Referenced by BuildRootClassDict().

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

Definition at line 51 of file TemplateProxy.h.

References Py_TYPE, and TemplateProxy_Type.

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

Definition at line 57 of file TemplateProxy.h.

References PyROOT::TemplateProxy::Set(), and TemplateProxy_Type.

Referenced by BuildRootClassDict().

PyObject* PyROOT::@46::tpp_call ( TemplateProxy *  pytmpl,
PyObject args,
PyObject kwds 
) [static]

Definition at line 72 of file TemplateProxy.cxx.

References PyROOT::Utility::BuildTemplateName(), PyROOT::TemplateProxy::fPyName, PyROOT::TemplateProxy::fSelf, pyname, and PyROOT_PyUnicode_AsString.

int PyROOT::@46::tpp_clear ( TemplateProxy *  pytmpl  )  [static]

Definition at line 57 of file TemplateProxy.cxx.

References PyROOT::TemplateProxy::fPyClass, PyROOT::TemplateProxy::fPyName, PyROOT::TemplateProxy::fSelf, and NULL.

void PyROOT::@46::tpp_dealloc ( TemplateProxy *  pytmpl  )  [static]

Definition at line 26 of file TemplateProxy.cxx.

TemplateProxy* PyROOT::@46::tpp_descrget ( TemplateProxy *  pytmpl,
PyObject pyobj,
PyObject  
) [static]

Definition at line 107 of file TemplateProxy.cxx.

References PyROOT::TemplateProxy::fPyClass, PyROOT::TemplateProxy::fPyName, PyROOT::TemplateProxy::fSelf, and TemplateProxy_Type.

TemplateProxy* PyROOT::@46::tpp_new ( PyTypeObject *  ,
PyObject ,
PyObject  
) [static]

Definition at line 14 of file TemplateProxy.cxx.

References PyROOT::TemplateProxy::fPyClass, PyROOT::TemplateProxy::fPyName, PyROOT::TemplateProxy::fSelf, NULL, and TemplateProxy_Type.

int PyROOT::@46::tpp_traverse ( TemplateProxy *  pytmpl,
visitproc  visit,
void *  args 
) [static]

Definition at line 33 of file TemplateProxy.cxx.

References PyROOT::TemplateProxy::fPyClass, PyROOT::TemplateProxy::fPyName, and PyROOT::TemplateProxy::fSelf.

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

Definition at line 1087 of file Pythonize.cxx.

References TObjArray::At(), BindRootObjectNoCast(), xmlio::Class, CreateConverter(), TClass::DynamicCast(), TObjArray::First(), PyROOT::TConverter::FromMemory(), TBranch::GetAddress(), TTree::GetBranch(), TClass::GetClass(), TBranch::GetClassName(), TTree::GetLeaf(), TBranch::GetLeaf(), TLeaf::GetLeafCount(), TLeaf::GetLenStatic(), TBranch::GetListOfLeaves(), TNamed::GetName(), TLeaf::GetNdata(), PyROOT::ObjectProxy::GetObject(), TCollection::GetSize(), TLeaf::GetTypeName(), TLeaf::GetValuePointer(), TObjArray::Last(), name, PyROOT::ObjectProxy::ObjectIsA(), PyROOT_PyUnicode_AsString, and value.

Referenced by Pythonize().


Variable Documentation

PyMethodObject* PyROOT::free_list [static]

Definition at line 128 of file TCustomPyTypes.cxx.

Referenced by im_dealloc(), and TCustomInstanceMethod_New().

PyROOT::ConvFactories_t PyROOT::gConvFactories

Definition at line 235 of file Converters.h.

Referenced by CreateConverter().

Bool_t PyROOT::gDictLookupActive

Definition at line 26 of file Utility.h.

Referenced by TPyClassGenerator::GetClass(), and RootLookDictString().

PyROOT::DictLookup_t PyROOT::gDictLookupOrg

Definition at line 25 of file Utility.h.

Referenced by initlibPyROOT(), and RootLookDictString().

PyROOT::ExecFactories_t PyROOT::gExecFactories

Definition at line 126 of file Executors.h.

Referenced by CreateExecutor(), and PyROOT::TConstructorHolder< T, M >::InitExecutor_().

R__EXTERN PyTypeObject PyROOT::MethodProxy_Type

Definition at line 72 of file MethodProxy.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::MethodProxy_Type

Definition at line 707 of file MethodProxy.cxx.

Referenced by MethodProxy_Check(), MethodProxy_CheckExact(), MethodProxy_New(), mp_descrget(), mp_meth_func(), and mp_new().

PyGetSetDef PyROOT::mp_getset[] [static]

Initial value:

 {
      { (char*)"__name__",   (getter)mp_name,   NULL, NULL, NULL },
      { (char*)"__module__", (getter)mp_module, NULL, NULL, NULL },
      { (char*)"__doc__",    (getter)mp_doc,    NULL, NULL, NULL },

   
   
   
      { (char*)"im_func",  (getter)mp_meth_func,  NULL, NULL, NULL },
      { (char*)"im_self",  (getter)mp_meth_self,  NULL, NULL, NULL },
      { (char*)"im_class", (getter)mp_meth_class, NULL, NULL, NULL },

      { (char*)"func_closure",  (getter)mp_func_closure,  NULL, NULL, NULL },
      { (char*)"func_code",     (getter)mp_func_code,     NULL, NULL, NULL },
      { (char*)"func_defaults", (getter)mp_func_defaults, NULL, NULL, NULL },
      { (char*)"func_globals",  (getter)mp_func_globals,  NULL, NULL, NULL },
      { (char*)"func_doc",      (getter)mp_doc,           NULL, NULL, NULL },
      { (char*)"func_name",     (getter)mp_name,          NULL, NULL, NULL },

      { (char*)"_creates", (getter)mp_getcreates, (setter)mp_setcreates,
            (char*)"For ownership rules of result: if true, objects are python-owned", NULL },
      { (char*)"_mempolicy", (getter)mp_getmempolicy, (setter)mp_setmempolicy,
            (char*)"For argument ownership rules: like global, either heuristic or strict", NULL },
      { (char*)"_threaded", (getter)mp_getthreaded, (setter)mp_setthreaded,
            (char*)"If true, releases GIL on call into C++", NULL },
      { (char*)NULL, NULL, NULL, NULL, NULL }
   }

Definition at line 418 of file MethodProxy.cxx.

PyMethodDef PyROOT::mp_methods[] [static]

Initial value:

 {
      { (char*)"disp", (PyCFunction)mp_disp, METH_O, (char*)"select overload for dispatch" },
      { (char*)NULL, NULL, 0, NULL }
   }

Definition at line 698 of file MethodProxy.cxx.

int PyROOT::numfree = 0 [static]

Definition at line 129 of file TCustomPyTypes.cxx.

Referenced by im_dealloc().

R__EXTERN PyTypeObject PyROOT::ObjectProxy_Type

Definition at line 70 of file ObjectProxy.h.

Referenced by GenObjectIsEqual(), GenObjectIsNotEqual(), initlibPyROOT(), SetOwnership(), TClassDynamicCast(), TClassStaticCast(), TClonesArraySetItem(), TDirectoryGetObject(), TDirectoryWriteObject(), TObjectIsEqual(), and TObjectIsNotEqual().

PyTypeObject PyROOT::ObjectProxy_Type

Definition at line 255 of file ObjectProxy.cxx.

Referenced by BuildRootClassBases(), CreateNewROOTPythonClass(), ObjectProxy_Check(), and ObjectProxy_CheckExact().

PyNumberMethods PyROOT::op_as_number [static]

Definition at line 193 of file ObjectProxy.cxx.

PyMethodDef PyROOT::op_methods[] [static]

Initial value:

 {
      { (char*)"__nonzero__", (PyCFunction)op_nonzero, METH_NOARGS, NULL },
      { (char*)"__bool__",    (PyCFunction)op_nonzero, METH_NOARGS, NULL }, 
      { (char*)"__reduce__",  (PyCFunction)op_reduce,  METH_NOARGS, NULL },
      { (char*)NULL, NULL, 0, NULL }
   }

Definition at line 89 of file ObjectProxy.cxx.

R__EXTERN PyTypeObject PyROOT::PropertyProxy_Type

Definition at line 64 of file PropertyProxy.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::PropertyProxy_Type

Definition at line 125 of file PropertyProxy.cxx.

Referenced by PropertyProxy_Check(), PropertyProxy_CheckExact(), and PropertyProxy_New().

R__EXTERN PyTypeObject PyROOT::PyRootType_Type

Definition at line 48 of file PyRootType.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::PyRootType_Type

Definition at line 143 of file PyRootType.cxx.

Referenced by CreateNewROOTPythonClass(), 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 19 of file TCustomPyTypes.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::TCustomFloat_Type

Definition at line 16 of file TCustomPyTypes.cxx.

Referenced by TCustomFloat_Check(), and TCustomFloat_CheckExact().

R__EXTERN PyTypeObject PyROOT::TCustomInstanceMethod_Type

Definition at line 49 of file TCustomPyTypes.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::TCustomInstanceMethod_Type

Definition at line 262 of file TCustomPyTypes.cxx.

Referenced by TCustomInstanceMethod_Check(), TCustomInstanceMethod_CheckExact(), and TCustomInstanceMethod_New().

R__EXTERN PyTypeObject PyROOT::TCustomInt_Type

Definition at line 34 of file TCustomPyTypes.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::TCustomInt_Type

Definition at line 72 of file TCustomPyTypes.cxx.

Referenced by TCustomInt_Check(), and TCustomInt_CheckExact().

R__EXTERN PyTypeObject PyROOT::TemplateProxy_Type

Definition at line 42 of file TemplateProxy.h.

Referenced by initlibPyROOT().

PyTypeObject PyROOT::TemplateProxy_Type

Definition at line 130 of file TemplateProxy.cxx.

Referenced by TemplateProxy_Check(), TemplateProxy_CheckExact(), TemplateProxy_New(), tpp_descrget(), and tpp_new().

R__EXTERN void* PyROOT::TPyExceptionMagic

Definition at line 46 of file TPyException.h.

Referenced by PyROOT::TMethodHolder< T, M >::CallFast(), PyROOT::TMethodHolder< T, M >::Execute(), HandleReturn(), mp_call(), PyROOT::TMethodHolder< T, M >::operator()(), ClassImp::TManageMagic::TManageMagic(), and ClassImp::TManageMagic::~TManageMagic().


Generated on Tue Jul 5 16:56:31 2011 for ROOT_528-00b_version by  doxygen 1.5.1