#include "CPyCppyy.h"
#include "CPPInstance.h"
#include "CPPOverload.h"
#include "PyROOTPythonize.h"
#include "ProxyWrappers.h"
#include "Python.h"
#include "Utility.h"
#include "PyzCppHelpers.hxx"
#include "TClass.h"
#include "TKey.h"
#include "TDirectoryFile.h"
Functions | |
PyObject * | TDirectoryFileGetPyz (CPPInstance *self, PyObject *pynamecycle) |
Allow access to objects through the method Get() This concerns both TDirectoryFile and TFile, since the latter inherits the Get method from the former. More... | |
PyObject * TDirectoryFileGetPyz | ( | CPPInstance * | self, |
PyObject * | pynamecycle | ||
) |
Allow access to objects through the method Get() This concerns both TDirectoryFile and TFile, since the latter inherits the Get method from the former.
We decided not to inject this behavior directly in TDirectory because this one already has a templated method Get which, when invoked from Python, returns an object of the derived class (e.g. TH1F) and not a generic TObject. In case the object is not found, a null pointer is returned.
Definition at line 35 of file TDirectoryFilePyz.cxx.