Logo ROOT   6.12/07
Reference Guide
Namespaces | Macros | Functions
Pythonize.cxx File Reference
#include "PyROOT.h"
#include "PyStrings.h"
#include "Pythonize.h"
#include "ObjectProxy.h"
#include "MethodProxy.h"
#include "RootWrapper.h"
#include "Utility.h"
#include "PyCallable.h"
#include "TPyBufferFactory.h"
#include "TFunctionHolder.h"
#include "Converters.h"
#include "TMemoryRegulator.h"
#include "TClass.h"
#include "TFunction.h"
#include "TInterpreter.h"
#include "TMethod.h"
#include "TClonesArray.h"
#include "TCollection.h"
#include "TDirectory.h"
#include "TError.h"
#include "TFile.h"
#include "TKey.h"
#include "TObject.h"
#include "TObjArray.h"
#include "TSeqCollection.h"
#include "TTree.h"
#include "TBranch.h"
#include "TBranchElement.h"
#include "TBranchObject.h"
#include "TLeaf.h"
#include "TLeafElement.h"
#include "TLeafObject.h"
#include "TStreamerElement.h"
#include "TStreamerInfo.h"
#include <stdexcept>
#include <string>
#include <utility>
#include <stdio.h>
#include <string.h>
Include dependency graph for Pythonize.cxx:

Namespaces

 PyROOT
 

Macros

#define PYROOT_IMPLEMENT_STRING_PYTHONIZATION(type, name)
 
#define PYROOT_IMPLEMENT_STRING_PYTHONIZATION_CMP(type, name)
 

Functions

static TClassOP2TCLASS (PyROOT::ObjectProxy *pyobj)
 
double PyROOT::TFNPyCallback (void *vpyfunc, Long_t npar, double *a0, double *a1)
 
void PyROOT::TMinuitPyCallback (void *vpyfunc, Long_t, Int_t &a0, Double_t *a1, Double_t &a2, Double_t *a3, Int_t a4)
 
PyObjectPyROOT::TTreeGetAttr (ObjectProxy *self, PyObject *pyname)
 

Macro Definition Documentation

◆ PYROOT_IMPLEMENT_STRING_PYTHONIZATION

#define PYROOT_IMPLEMENT_STRING_PYTHONIZATION (   type,
  name 
)

Definition at line 1160 of file Pythonize.cxx.

◆ PYROOT_IMPLEMENT_STRING_PYTHONIZATION_CMP

#define PYROOT_IMPLEMENT_STRING_PYTHONIZATION_CMP (   type,
  name 
)
Value:
PyObject* name##StringCompare( PyObject* self, PyObject* obj ) \
{ \
PyObject* data = name##GetData( self ); \
int result = 0; \
if ( data ) { \
result = PyObject_Compare( data, obj ); \
Py_DECREF( data ); \
} \
if ( PyErr_Occurred() ) \
return 0; \
return PyInt_FromLong( result ); \
}
#define PYROOT_IMPLEMENT_STRING_PYTHONIZATION(type, name)
Definition: Pythonize.cxx:1160
int type
Definition: TGX11.cxx:120
char name[80]
Definition: TGX11.cxx:109
_object PyObject
Definition: TPyArg.h:20

Definition at line 1209 of file Pythonize.cxx.

Function Documentation

◆ OP2TCLASS()

static TClass* OP2TCLASS ( PyROOT::ObjectProxy pyobj)
inlinestatic

Definition at line 55 of file Pythonize.cxx.