library: libTreeViewer #include "TTVSession.h"

# TTVSession

class description - source file - inheritance tree (.pdf)

## class TTVSession : public TObject

| Inheritance Chart:
`TObject`
| <- | `TTVSession` |

        public:

                              TTVSession(TTreeViewer* tv)
                              TTVSession(const TTVSession&)
                              ~TTVSession()
                   TTVRecord* AddRecord(Bool_t fromFile = kFALSE)
               static TClass* Class()
                   TTVRecord* First()
                   TTVRecord* GetCurrent()
                        Int_t GetEntries()
          virtual const char* GetName() const
                   TTVRecord* GetRecord(Int_t i)
              virtual TClass* IsA() const
                   TTVRecord* Last()
                   TTVRecord* Next()
                  TTVSession& operator=(const TTVSession&)
                   TTVRecord* Previous()
                         void RemoveLastRecord()
                         void SaveSource(ofstream& out)
                         void SetName(const char* name)
                         void SetRecordName(const char* name)
                         void Show(TTVRecord* rec)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
                         void UpdateRecord(const char* name)

### Data Members

        private:

          TClonesArray* fList     list of TV records
                TString fName     name of this session
           TTreeViewer* fViewer   associated tree viewer
                  Int_t fCurrent  index of current record
                  Int_t fRecords  number of records

## Class Description

TTVSession(TTreeViewer *tv)

~TTVSession()

TTVRecord* AddRecord(Bool_t fromFile)

TTVRecord* GetRecord(Int_t i)

void SetRecordName(const char *name)

void RemoveLastRecord()

    --- Remove current record from list

void Show(TTVRecord *rec)

void SaveSource(ofstream &out)

void UpdateRecord(const char *name)

    --- Updates current record according to new X, Y, Z settings

### Inline Functions

            const char* GetName() const
                   void SetName(const char* name)
                  Int_t GetEntries()
             TTVRecord* GetCurrent()
             TTVRecord* First()
             TTVRecord* Last()
             TTVRecord* Next()
             TTVRecord* Previous()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             TTVSession TTVSession(const TTVSession&)
            TTVSession& operator=(const TTVSession&)

Last update: root/treeviewer:$Name: $:$Id: TTVSession.cxx,v 1.5 2003/11/25 13:17:33 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *