#include "TPyROOTApplication.h" |
PyROOT::TPyROOTApplication
class description - source file - inheritance tree (.pdf)
public:
PyROOT::TPyROOTApplication TPyROOTApplication(const char* acn, Int_t* argc, char** argv, Bool_t bLoadLibs = kTRUE)
PyROOT::TPyROOTApplication TPyROOTApplication(const PyROOT::TPyROOTApplication&)
virtual void ~TPyROOTApplication()
static TClass* Class()
static Bool_t CreatePyROOTApplication(Bool_t bLoadLibs = kTRUE)
static Bool_t InitCINTMessageCallback()
static Bool_t InitROOTGlobals()
virtual TClass* IsA() const
PyROOT::TPyROOTApplication& operator=(const PyROOT::TPyROOTApplication&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Setup interactive application
=============================
The TPyROOTApplication sets up the nuts and bolts for interactive ROOT use
from python, closely following TRint. Note that not everything is done here,
some bits (such as e.g. the use of exception hook for shell escapes) are more
easily done in python and you'll thus find them ROOT.py
The intended use of this class is from python only. It is used by default in
ROOT.py, so if you do not want to have a TApplication derived object created
for you, you'll need to load libPyROOT.so instead.
The static InitXYZ functions are used in conjunction with TPyROOTApplication
in ROOT.py, but they can be used independently.
TPyROOTApplication(
const char* acn, int* argc, char** argv, bool bLoadLibs ) :
TApplication( acn, argc, argv )
Create a TApplication derived for use with interactive ROOT from python. A
set of standard, often used libs is loaded if bLoadLibs is true (default).
Bool_t CreatePyROOTApplication( Bool_t bLoadLibs )
Create a TPyROOTApplication. Returns false if a gApplication is not null.
Bool_t InitROOTGlobals()
Setup the basic ROOT globals gBenchmark, gStyle, gProgname, if not already
set. Always returns true.
Bool_t InitCINTMessageCallback()
Install CINT message callback which will turn CINT error message into
python exceptions. Always returns true.
Inline Functions
void ~TPyROOTApplication()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
PyROOT::TPyROOTApplication TPyROOTApplication(const PyROOT::TPyROOTApplication&)
PyROOT::TPyROOTApplication& operator=(const PyROOT::TPyROOTApplication&)
Author: Wim Lavrijsen, February 2006
Last update: Thu Mar 9 23:37:41 2006
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.