library: libTreeViewer #include "TTVSession.h"

# TTVRecord

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

## class TTVRecord : public TObject

| Inheritance Chart:

`TObject`

<-

`TTVRecord`

        public:

                              TTVRecord()
                              TTVRecord(const TTVRecord&)
                              ~TTVRecord()
               static TClass* Class()
                         void ExecuteUserCode()
                         void FormFrom(TTreeViewer* tv)
          virtual const char* GetName() const
                  const char* GetUserCode() const
                  const char* GetX() const
                  const char* GetY() const
                  const char* GetZ() const
                       Bool_t HasUserCode() const
              virtual TClass* IsA() const
                       Bool_t MustExecuteCode() const
                   TTVRecord& operator=(const TTVRecord&)
                         void PlugIn(TTreeViewer* tv)
                         void SaveSource(ofstream& out)
                         void SetAutoexec(Bool_t autoexec = kTRUE)
                         void SetCut(const char* cut = "", const char* cal = "-empty-")
                         void SetName(const char* name = "")
                         void SetOption(const char* option = "")
                         void SetRC(Bool_t redirect = kFALSE, Bool_t cut = kTRUE)
                         void SetUserCode(const char* code, Bool_t autoexec = kTRUE)
                         void SetX(const char* x = "", const char* xal = "-empty-")
                         void SetY(const char* y = "", const char* yal = "-empty-")
                         void SetZ(const char* z = "", const char* zal = "-empty-")
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        public:

          TString fName            name of this record
          TString fX
          TString fXAlias          X expression and alias
          TString fY
          TString fYAlias          Y expression and alias
          TString fZ
          TString fZAlias          Z expression and alias
          TString fCut
          TString fCutAlias        cut expression and alias
          TString fOption          graphic option
           Bool_t fScanRedirected  redirect switch
           Bool_t fCutEnabled      true if current cut is active
          TString fUserCode        command executed when record is conected
           Bool_t fAutoexec        autoexecute user code command

## Class Description

TTVRecord()

     TTVRecord default constructor

void ExecuteUserCode()

     Execute user-defined code

void FormFrom(TTreeViewer *tv)

void PlugIn(TTreeViewer *tv)

     Change treeviewer status to this record

void SaveSource(ofstream &out)

### Inline Functions

                   void ~TTVRecord()
            const char* GetX() const
            const char* GetY() const
            const char* GetZ() const
            const char* GetName() const
            const char* GetUserCode() const
                 Bool_t HasUserCode() const
                 Bool_t MustExecuteCode() const
                   void SetAutoexec(Bool_t autoexec = kTRUE)
                   void SetName(const char* name = "")
                   void SetX(const char* x = "", const char* xal = "-empty-")
                   void SetY(const char* y = "", const char* yal = "-empty-")
                   void SetZ(const char* z = "", const char* zal = "-empty-")
                   void SetCut(const char* cut = "", const char* cal = "-empty-")
                   void SetOption(const char* option = "")
                   void SetRC(Bool_t redirect = kFALSE, Bool_t cut = kTRUE)
                   void SetUserCode(const char* code, Bool_t autoexec = kTRUE)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
              TTVRecord TTVRecord(const TTVRecord&)
             TTVRecord& operator=(const TTVRecord&)

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. *