TTVSession Class Reference

#include <TTVSession.h>

Inheritance diagram for TTVSession:

TObject TObject List of all members.

Public Member Functions

 TTVSession (TTreeViewer *tv)
 ~TTVSession ()
virtual const char * GetName () const
void SetName (const char *name)
void SetRecordName (const char *name)
TTVRecordAddRecord (Bool_t fromFile=kFALSE)
Int_t GetEntries ()
TTVRecordGetCurrent ()
TTVRecordGetRecord (Int_t i)
TTVRecordFirst ()
TTVRecordLast ()
TTVRecordNext ()
TTVRecordPrevious ()
void RemoveLastRecord ()
void Show (TTVRecord *rec)
void SaveSource (ofstream &out)
void UpdateRecord (const char *name)
 TTVSession (TTreeViewer *tv)
 ~TTVSession ()
virtual const char * GetName () const
void SetName (const char *name)
void SetRecordName (const char *name)
TTVRecordAddRecord (Bool_t fromFile=kFALSE)
Int_t GetEntries ()
TTVRecordGetCurrent ()
TTVRecordGetRecord (Int_t i)
TTVRecordFirst ()
TTVRecordLast ()
TTVRecordNext ()
TTVRecordPrevious ()
void RemoveLastRecord ()
void Show (TTVRecord *rec)
void SaveSource (ofstream &out)
void UpdateRecord (const char *name)

Private Attributes

TClonesArrayfList
TString fName
TTreeViewerfViewer
Int_t fCurrent
Int_t fRecords
TClonesArrayfList
TTreeViewerfViewer

Detailed Description

Definition at line 71 of file TTVSession.h.


Constructor & Destructor Documentation

TTVSession::TTVSession ( TTreeViewer tv  ) 

TTVSession::~TTVSession (  ) 

Definition at line 135 of file TTVSession.cxx.

References TClonesArray::Delete(), and fList.

TTVSession::TTVSession ( TTreeViewer tv  ) 

TTVSession::~TTVSession (  ) 


Member Function Documentation

virtual const char* TTVSession::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 83 of file TTVSession.h.

References fName.

void TTVSession::SetName ( const char *  name  )  [inline]

Definition at line 84 of file TTVSession.h.

References fName.

void TTVSession::SetRecordName ( const char *  name  ) 

Definition at line 191 of file TTVSession.cxx.

References fCurrent, fViewer, GetRecord(), TTreeViewer::SetCurrentRecord(), TTVRecord::SetName(), and TTreeViewer::UpdateCombo().

Referenced by AddRecord(), TTreeViewer::SetRecordName(), and UpdateRecord().

TTVRecord * TTVSession::AddRecord ( Bool_t  fromFile = kFALSE  ) 

Definition at line 143 of file TTVSession.cxx.

References fCurrent, fList, TTVRecord::FormFrom(), fRecords, fViewer, TTVRecord::GetX(), TTVRecord::GetY(), TTVRecord::GetZ(), kFALSE, kTRUE, list, name, and SetRecordName().

Referenced by TTreeViewer::ProcessMessage().

Int_t TTVSession::GetEntries (  )  [inline]

Definition at line 87 of file TTVSession.h.

References fRecords.

Referenced by TTreeViewer::UpdateCombo().

TTVRecord* TTVSession::GetCurrent (  )  [inline]

Definition at line 88 of file TTVSession.h.

References fCurrent, and GetRecord().

Referenced by TTreeViewer::SetUserCode().

TTVRecord * TTVSession::GetRecord ( Int_t  i  ) 

Definition at line 169 of file TTVSession.cxx.

References TTreeViewer::ActivateButtons(), fCurrent, fList, fRecords, fViewer, kFALSE, kTRUE, TTreeViewer::SetCurrentRecord(), and TObjArray::UncheckedAt().

Referenced by First(), GetCurrent(), Last(), Next(), Previous(), TTreeViewer::ProcessMessage(), RemoveLastRecord(), SaveSource(), SetRecordName(), and TTreeViewer::UpdateCombo().

TTVRecord* TTVSession::First (  )  [inline]

Definition at line 90 of file TTVSession.h.

References GetRecord().

Referenced by TTreeViewer::ProcessMessage().

TTVRecord* TTVSession::Last (  )  [inline]

Definition at line 91 of file TTVSession.h.

References fRecords, and GetRecord().

Referenced by TTreeViewer::ProcessMessage().

TTVRecord* TTVSession::Next (  )  [inline]

Definition at line 92 of file TTVSession.h.

References fCurrent, and GetRecord().

Referenced by TTreeViewer::ProcessMessage().

TTVRecord* TTVSession::Previous (  )  [inline]

Definition at line 93 of file TTVSession.h.

References fCurrent, and GetRecord().

Referenced by TTreeViewer::ProcessMessage().

void TTVSession::RemoveLastRecord (  ) 

Definition at line 203 of file TTVSession.cxx.

References TTreeViewer::ActivateButtons(), fCurrent, fList, fRecords, fViewer, GetRecord(), kFALSE, TClonesArray::RemoveAt(), TObjArray::UncheckedAt(), and TTreeViewer::UpdateCombo().

Referenced by TTreeViewer::RemoveLastRecord().

void TTVSession::Show ( TTVRecord rec  ) 

Definition at line 222 of file TTVSession.cxx.

References TTreeViewer::ExecuteDraw(), TTVRecord::ExecuteUserCode(), fViewer, TTVRecord::GetName(), TTVRecord::HasUserCode(), TTVRecord::MustExecuteCode(), TTVRecord::PlugIn(), and TTreeViewer::SetHistogramTitle().

Referenced by TTreeViewer::ProcessMessage().

void TTVSession::SaveSource ( ofstream &  out  ) 

Definition at line 232 of file TTVSession.cxx.

References fRecords, GetRecord(), i, and TTVRecord::SaveSource().

Referenced by TTreeViewer::SaveSource().

void TTVSession::UpdateRecord ( const char *  name  ) 

Definition at line 248 of file TTVSession.cxx.

References fCurrent, fList, TTVRecord::FormFrom(), fViewer, SetRecordName(), and TObjArray::UncheckedAt().

Referenced by TTreeViewer::UpdateRecord().

virtual const char* TTVSession::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 83 of file TTVSession.h.

References fName.

void TTVSession::SetName ( const char *  name  )  [inline]

Definition at line 84 of file TTVSession.h.

References fName.

void TTVSession::SetRecordName ( const char *  name  ) 

TTVRecord* TTVSession::AddRecord ( Bool_t  fromFile = kFALSE  ) 

Int_t TTVSession::GetEntries (  )  [inline]

Definition at line 87 of file TTVSession.h.

References fRecords.

TTVRecord* TTVSession::GetCurrent (  )  [inline]

Definition at line 88 of file TTVSession.h.

References fCurrent, and GetRecord().

TTVRecord* TTVSession::GetRecord ( Int_t  i  ) 

TTVRecord* TTVSession::First (  )  [inline]

Definition at line 90 of file TTVSession.h.

References GetRecord().

TTVRecord* TTVSession::Last (  )  [inline]

Definition at line 91 of file TTVSession.h.

References fRecords, and GetRecord().

TTVRecord* TTVSession::Next (  )  [inline]

Definition at line 92 of file TTVSession.h.

References fCurrent, and GetRecord().

TTVRecord* TTVSession::Previous (  )  [inline]

Definition at line 93 of file TTVSession.h.

References fCurrent, and GetRecord().

void TTVSession::RemoveLastRecord (  ) 

void TTVSession::Show ( TTVRecord rec  ) 

void TTVSession::SaveSource ( ofstream &  out  ) 

void TTVSession::UpdateRecord ( const char *  name  ) 


Member Data Documentation

TClonesArray* TTVSession::fList [private]

Definition at line 74 of file TTVSession.h.

Referenced by AddRecord(), GetRecord(), RemoveLastRecord(), UpdateRecord(), and ~TTVSession().

TString TTVSession::fName [private]

Definition at line 75 of file TTVSession.h.

Referenced by GetName(), and SetName().

TTreeViewer* TTVSession::fViewer [private]

Definition at line 76 of file TTVSession.h.

Referenced by AddRecord(), GetRecord(), RemoveLastRecord(), SetRecordName(), Show(), and UpdateRecord().

Int_t TTVSession::fCurrent [private]

Definition at line 77 of file TTVSession.h.

Referenced by AddRecord(), GetCurrent(), GetRecord(), Next(), Previous(), RemoveLastRecord(), SetRecordName(), and UpdateRecord().

Int_t TTVSession::fRecords [private]

Definition at line 78 of file TTVSession.h.

Referenced by AddRecord(), GetEntries(), GetRecord(), Last(), RemoveLastRecord(), and SaveSource().

TClonesArray* TTVSession::fList [private]

Definition at line 74 of file TTVSession.h.

TTreeViewer* TTVSession::fViewer [private]

Definition at line 76 of file TTVSession.h.


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