![]() |
ROOT
6.06/09
Reference Guide
|
Definition at line 46 of file TGRedirectOutputGuard.h.
Public Member Functions | |
| TGRedirectOutputGuard (TGTextView *tv, const char *flog=0, const char *mode="a") | |
| Create output redirection guard. More... | |
| virtual | ~TGRedirectOutputGuard () |
| Destructor. More... | |
| void | Update () |
| Send to text frame the undisplayed content of the file. More... | |
Private Member Functions | |
| TGRedirectOutputGuard (const TGRedirectOutputGuard &) | |
| TGRedirectOutputGuard & | operator= (const TGRedirectOutputGuard &) |
Private Attributes | |
| TString | fLogFile |
| Bool_t | fTmpFile |
| TGTextView * | fTextView |
| FILE * | fLogFileRead |
#include <TGRedirectOutputGuard.h>
Collaboration diagram for TGRedirectOutputGuard:
|
private |
| TGRedirectOutputGuard::TGRedirectOutputGuard | ( | TGTextView * | tv, |
| const char * | flog = 0, |
||
| const char * | mode = "a" |
||
| ) |
Create output redirection guard.
The TGTextView instance should be initialized outside. Text is added to the existing text in the frame. If defined, 'flog' is interpreted as the path of a file where to save the output; in such a case 'mode' if the opening mode of the file (either "w" or "a"). By default a temporary file is used.
Definition at line 59 of file TGRedirectOutputGuard.cxx.
|
virtual |
Destructor.
Definition at line 113 of file TGRedirectOutputGuard.cxx.
|
private |
| void TGRedirectOutputGuard::Update | ( | ) |
Send to text frame the undisplayed content of the file.
Definition at line 133 of file TGRedirectOutputGuard.cxx.
Referenced by ~TGRedirectOutputGuard().
|
private |
Definition at line 49 of file TGRedirectOutputGuard.h.
Referenced by TGRedirectOutputGuard(), and ~TGRedirectOutputGuard().
|
private |
Definition at line 52 of file TGRedirectOutputGuard.h.
Referenced by TGRedirectOutputGuard(), Update(), and ~TGRedirectOutputGuard().
|
private |
Definition at line 51 of file TGRedirectOutputGuard.h.
Referenced by TGRedirectOutputGuard(), and Update().
|
private |
Definition at line 50 of file TGRedirectOutputGuard.h.
Referenced by TGRedirectOutputGuard(), and ~TGRedirectOutputGuard().