RootModule.cxx File Reference

#include "PyROOT.h"
#include "PyStrings.h"
#include "PyRootType.h"
#include "ObjectProxy.h"
#include "MethodProxy.h"
#include "TemplateProxy.h"
#include "PropertyProxy.h"
#include "PyBufferFactory.h"
#include "TCustomPyTypes.h"
#include "RootWrapper.h"
#include "Utility.h"
#include "Adapters.h"
#include "TROOT.h"
#include "TClass.h"
#include "TObject.h"
#include "TBufferFile.h"
#include <string>

Go to the source code of this file.

Defines

#define PYROOT_INIT_ERROR   return

Functions

PyObjectLookupRootEntity (PyObject *pyname, PyObject *args)
PyDictEntry * RootLookDictString (PyDictObject *mp, PyObject *key, Long_t hash)
PyObjectSetRootLazyLookup (PyObject *, PyObject *args)
PyObjectMakeRootTemplateClass (PyObject *, PyObject *args)
void * GetObjectProxyAddress (PyObject *, PyObject *args)
PyObjectAddressOf (PyObject *dummy, PyObject *args)
PyObjectAsCObject (PyObject *dummy, PyObject *args)
PyObjectBindObject_ (void *addr, PyObject *pyname)
PyObjectBindObject (PyObject *, PyObject *args)
PyObjectMakeNullPointer (PyObject *, PyObject *args)
PyObjectObjectProxyExpand (PyObject *, PyObject *args)
PyObjectSetMemoryPolicy (PyObject *, PyObject *args)
PyObjectSetSignalPolicy (PyObject *, PyObject *args)
PyObjectSetOwnership (PyObject *, PyObject *args)
void initlibPyROOT ()

Variables

PyObjectgRootModule = 0
static PyMethodDef gPyROOTMethods []


Define Documentation

#define PYROOT_INIT_ERROR   return

Definition at line 479 of file RootModule.cxx.

Referenced by initlibPyROOT().


Function Documentation

PyObject* @41::AddressOf ( PyObject dummy,
PyObject args 
) [static]

Definition at line 218 of file RootModule.cxx.

References GetObjectProxyAddress().

PyObject* @41::AsCObject ( PyObject dummy,
PyObject args 
) [static]

Definition at line 228 of file RootModule.cxx.

References GetObjectProxyAddress().

PyObject* @41::BindObject ( PyObject ,
PyObject args 
) [static]

Definition at line 266 of file RootModule.cxx.

References argc, BindObject_(), and PY_SSIZE_T_FORMAT.

PyObject* @41::BindObject_ ( void *  addr,
PyObject pyname 
) [static]

Definition at line 239 of file RootModule.cxx.

References PyROOT::BindRootObjectNoCast(), TClass::GetClass(), PyROOT::PyStrings::gName, kFALSE, PyROOT_PyUnicode_AsString, and PyROOT_PyUnicode_Check.

Referenced by BindObject(), and MakeNullPointer().

void* @41::GetObjectProxyAddress ( PyObject ,
PyObject args 
) [static]

Definition at line 174 of file RootModule.cxx.

References PyROOT::ObjectProxy::fObject, PyROOT::PyStrings::gClass, PyROOT::PyStrings::gDict, PyROOT::PropertyProxy::GetAddress(), PyROOT::ObjectProxy_Check(), PyROOT::PropertyProxy_Check(), pyname, PyROOT_PyUnicode_AsString, and PyROOT_PyUnicode_Type.

Referenced by AddressOf(), and AsCObject().

void initlibPyROOT (  ) 

Definition at line 480 of file RootModule.cxx.

References PyROOT::CreatePyStrings(), PyROOT::gDictLookupOrg, gPyROOTMethods, gROOT, gRootModule, PyROOT::Utility::InitProxy(), PyROOT::InitRoot(), TROOT::IsBatch(), PyROOT::Utility::kFast, PyROOT::Utility::kSafe, l, PyROOT::MethodProxy_Type, PyROOT::ObjectProxy_Type, PyROOT::PropertyProxy_Type, PYROOT_INIT_ERROR, PyROOT::PyRootType_Type, SetSignalPolicy(), PyROOT::TCustomFloat_Type, PyROOT::TCustomInstanceMethod_Type, PyROOT::TCustomInt_Type, and PyROOT::TemplateProxy_Type.

PyObject* @41::LookupRootEntity ( PyObject pyname,
PyObject args 
) [static]

Definition at line 43 of file RootModule.cxx.

References PyROOT::BindRootObject(), TROOT::FindObject(), PyROOT::GetRootGlobalFromString(), gROOT, gRootModule, name, object, PyROOT_PyUnicode_AsString, and PyROOT_PyUnicode_CheckExact.

Referenced by RootLookDictString().

PyObject* @41::MakeNullPointer ( PyObject ,
PyObject args 
) [static]

Definition at line 296 of file RootModule.cxx.

References argc, BindObject_(), and PY_SSIZE_T_FORMAT.

PyObject* @41::MakeRootTemplateClass ( PyObject ,
PyObject args 
) [static]

Definition at line 148 of file RootModule.cxx.

References PyROOT::Utility::BuildTemplateName(), name, pyname, PyROOT_PyUnicode_AsString, and PyROOT_PyUnicode_FromString.

PyObject* @41::ObjectProxyExpand ( PyObject ,
PyObject args 
) [static]

Definition at line 317 of file RootModule.cxx.

References PyROOT::BindRootObject(), buf, TClass::GetClass(), kFALSE, TBuffer::kRead, TBuffer::kWrite, PyBytes_AS_STRING, PyBytes_GET_SIZE, PyBytes_Type, pyname, and result().

PyDictEntry* @41::RootLookDictString ( PyDictObject *  mp,
PyObject key,
Long_t  hash 
) [static]

Definition at line 85 of file RootModule.cxx.

References PyROOT::gDictLookupActive, PyROOT::gDictLookupOrg, kFALSE, kTRUE, LookupRootEntity(), NULL, PyROOT::PropertyProxy_Check(), Py_TYPE, and val.

Referenced by SetRootLazyLookup().

PyObject* @41::SetMemoryPolicy ( PyObject ,
PyObject args 
) [static]

Definition at line 353 of file RootModule.cxx.

References l.

PyObject* @41::SetOwnership ( PyObject ,
PyObject args 
) [static]

Definition at line 387 of file RootModule.cxx.

References PyROOT::ObjectProxy_Type.

PyObject* @41::SetRootLazyLookup ( PyObject ,
PyObject args 
) [static]

Definition at line 135 of file RootModule.cxx.

References RootLookDictString().

PyObject* @41::SetSignalPolicy ( PyObject ,
PyObject args 
) [static]

Definition at line 370 of file RootModule.cxx.

References l.

Referenced by initlibPyROOT().


Variable Documentation

PyMethodDef gPyROOTMethods[] [static]

Definition at line 404 of file RootModule.cxx.

Referenced by initlibPyROOT().

PyObject* gRootModule = 0

Definition at line 34 of file RootModule.cxx.


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