TProofLogElem Class Reference

#include <TProofLog.h>

Inheritance diagram for TProofLogElem:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Member Functions

 TProofLogElem (const char *ord, const char *url, TProofLog *logger)
virtual ~TProofLogElem ()
void Display (Int_t from=0, Int_t to=-1)
TMacroGetMacro () const
const char * GetRole ()
Int_t Grep (const char *txt, TString &res, Int_t from=0)
Bool_t IsMaster () const
Bool_t IsSubMaster () const
Bool_t IsWorker () const
void Print (Option_t *opt=0) const
void Prt (const char *what)
Int_t Retrieve (TProofLog::ERetrieveOpt opt=TProofLog::kTrailing, const char *pattern=0)
 TProofLogElem (const char *ord, const char *url, TProofLog *logger)
virtual ~TProofLogElem ()
void Display (Int_t from=0, Int_t to=-1)
TMacroGetMacro () const
const char * GetRole ()
Int_t Grep (const char *txt, TString &res, Int_t from=0)
Bool_t IsMaster () const
Bool_t IsSubMaster () const
Bool_t IsWorker () const
void Print (Option_t *opt=0) const
void Prt (const char *what)
Int_t Retrieve (TProofLog::ERetrieveOpt opt=TProofLog::kTrailing, const char *pattern=0)

Static Public Member Functions

static Long64_t GetMaxTransferSize ()
static void SetMaxTransferSize (Long64_t maxsz)
static Long64_t GetMaxTransferSize ()
static void SetMaxTransferSize (Long64_t maxsz)

Private Attributes

TProofLogfLogger
TMacrofMacro
Long64_t fSize
Long64_t fFrom
Long64_t fTo
TString fRole
TProofLogfLogger
TMacrofMacro

Static Private Attributes

static Long64_t fgMaxTransferSize

Detailed Description

Definition at line 85 of file TProofLog.h.


Constructor & Destructor Documentation

TProofLogElem::TProofLogElem ( const char *  ord,
const char *  url,
TProofLog logger 
)

Definition at line 316 of file TProofLog.cxx.

References fFrom, fLogger, fMacro, fRole, fSize, fTo, TNamed::GetName(), and TNamed::GetTitle().

TProofLogElem::~TProofLogElem (  )  [virtual]

Definition at line 341 of file TProofLog.cxx.

References fMacro, and SafeDelete.

TProofLogElem::TProofLogElem ( const char *  ord,
const char *  url,
TProofLog logger 
)

virtual TProofLogElem::~TProofLogElem (  )  [virtual]


Member Function Documentation

void TProofLogElem::Display ( Int_t  from = 0,
Int_t  to = -1 
)

Definition at line 434 of file TProofLog.cxx.

References TString::Data(), fMacro, TString::Form(), fRole, TMacro::GetListOfLines(), TObjString::GetName(), TNamed::GetName(), TCollection::GetSize(), TNamed::GetTitle(), i, kNPOS, TString::Length(), Prt(), and TString::Remove().

Referenced by TProofLog::Display(), and TProofLog::Save().

TMacro* TProofLogElem::GetMacro (  )  const [inline]

Definition at line 106 of file TProofLog.h.

References fMacro.

Referenced by TProofProgressMemoryPlot::DoAveragePlot(), TProofProgressMemoryPlot::DoMasterPlot(), and TProofProgressMemoryPlot::DoWorkerPlot().

const char* TProofLogElem::GetRole (  )  [inline]

Definition at line 107 of file TProofLog.h.

References TString::Data(), and fRole.

Referenced by TProofProgressMemoryPlot::DoAveragePlot(), and TProofProgressMemoryPlot::DoPlot().

Int_t TProofLogElem::Grep ( const char *  txt,
TString res,
Int_t  from = 0 
)

Definition at line 530 of file TProofLog.cxx.

References TList::At(), fMacro, TMacro::GetListOfLines(), TCollection::GetSize(), i, and nf.

Referenced by TProofLog::Grep().

Bool_t TProofLogElem::IsMaster (  )  const [inline]

Definition at line 109 of file TProofLog.h.

References fRole, kFALSE, and kTRUE.

Bool_t TProofLogElem::IsSubMaster (  )  const [inline]

Definition at line 110 of file TProofLog.h.

References fRole, kFALSE, and kTRUE.

Bool_t TProofLogElem::IsWorker (  )  const [inline]

Definition at line 111 of file TProofLog.h.

References fRole, kFALSE, and kTRUE.

Referenced by TProofProgressLog::BuildLogList().

void TProofLogElem::Print ( Option_t opt = 0  )  const [virtual]

Reimplemented from TNamed.

Definition at line 509 of file TProofLog.cxx.

References fMacro, fprintf(), TMacro::GetListOfLines(), TNamed::GetName(), TCollection::GetSize(), and TNamed::GetTitle().

Referenced by TProofLog::Print().

void TProofLogElem::Prt ( const char *  what  ) 

Definition at line 521 of file TProofLog.cxx.

References fLogger, and TProofLog::Prt().

Referenced by Display().

Int_t TProofLogElem::Retrieve ( TProofLog::ERetrieveOpt  opt = TProofLog::kTrailing,
const char *  pattern = 0 
)

Definition at line 365 of file TProofLog.cxx.

References TMacro::AddLine(), TString::Data(), TObject::Error(), fFrom, fgMaxTransferSize, fLogger, fMacro, TProofLog::fMgr, fTo, TNamed::GetTitle(), TProofMgr::IsValid(), TProofLog::kAll, TProofLog::kGrep, TProofLog::kLeading, len, Long64_t, TProofMgr::ReadBuffer(), SafeDelete, TObjString::String(), TString::Tokenize(), and TObject::Warning().

Referenced by TProofLog::Retrieve().

Long64_t TProofLogElem::GetMaxTransferSize (  )  [static]

Definition at line 349 of file TProofLog.cxx.

References fgMaxTransferSize.

Referenced by G__G__Proof_346_0_12(), and G__setup_memfuncTProofLogElem().

void TProofLogElem::SetMaxTransferSize ( Long64_t  maxsz  )  [static]

Definition at line 357 of file TProofLog.cxx.

References fgMaxTransferSize.

Referenced by G__G__Proof_346_0_13(), G__setup_memfuncTProofLogElem(), and TProofLog::SetMaxTransferSize().

void TProofLogElem::Display ( Int_t  from = 0,
Int_t  to = -1 
)

TMacro* TProofLogElem::GetMacro (  )  const [inline]

Definition at line 106 of file TProofLog.h.

References fMacro.

const char* TProofLogElem::GetRole (  )  [inline]

Definition at line 107 of file TProofLog.h.

References TString::Data(), and fRole.

Int_t TProofLogElem::Grep ( const char *  txt,
TString res,
Int_t  from = 0 
)

Bool_t TProofLogElem::IsMaster (  )  const [inline]

Definition at line 109 of file TProofLog.h.

References fRole, kFALSE, and kTRUE.

Bool_t TProofLogElem::IsSubMaster (  )  const [inline]

Definition at line 110 of file TProofLog.h.

References fRole, kFALSE, and kTRUE.

Bool_t TProofLogElem::IsWorker (  )  const [inline]

Definition at line 111 of file TProofLog.h.

References fRole, kFALSE, and kTRUE.

void TProofLogElem::Print ( Option_t opt = 0  )  const [virtual]

Reimplemented from TNamed.

void TProofLogElem::Prt ( const char *  what  ) 

Int_t TProofLogElem::Retrieve ( TProofLog::ERetrieveOpt  opt = TProofLog::kTrailing,
const char *  pattern = 0 
)

static Long64_t TProofLogElem::GetMaxTransferSize (  )  [static]

static void TProofLogElem::SetMaxTransferSize ( Long64_t  maxsz  )  [static]


Member Data Documentation

TProofLog* TProofLogElem::fLogger [private]

Definition at line 88 of file TProofLog.h.

Referenced by Prt(), Retrieve(), and TProofLogElem().

TMacro* TProofLogElem::fMacro [private]

Definition at line 89 of file TProofLog.h.

Referenced by Display(), GetMacro(), Grep(), Print(), Retrieve(), TProofLogElem(), and ~TProofLogElem().

Long64_t TProofLogElem::fSize [private]

Definition at line 90 of file TProofLog.h.

Referenced by TProofLogElem().

Long64_t TProofLogElem::fFrom [private]

Definition at line 91 of file TProofLog.h.

Referenced by Retrieve(), and TProofLogElem().

Long64_t TProofLogElem::fTo [private]

Definition at line 92 of file TProofLog.h.

Referenced by Retrieve(), and TProofLogElem().

TString TProofLogElem::fRole [private]

Definition at line 93 of file TProofLog.h.

Referenced by Display(), GetRole(), IsMaster(), IsSubMaster(), IsWorker(), and TProofLogElem().

Long64_t TProofLogElem::fgMaxTransferSize [static, private]

Definition at line 95 of file TProofLog.h.

Referenced by GetMaxTransferSize(), Retrieve(), and SetMaxTransferSize().

TProofLog* TProofLogElem::fLogger [private]

Definition at line 88 of file TProofLog.h.

TMacro* TProofLogElem::fMacro [private]

Definition at line 89 of file TProofLog.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:22 2011 for ROOT_528-00b_version by  doxygen 1.5.1