StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TColumnView.h
1 // @(#)root/table:$Id$
2 // Author: Valery Fine(fine@bnl.gov) 13/03/2000
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TColumnView
13 #define ROOT_TColumnView
14 
15 #include "TChair.h"
16 
17 //______________________________________________________________________________
18 //
19 // TColumnView - helper class to browse the TTable objects via ROOT TBrowser
20 //______________________________________________________________________________
21 class TColumnView : public TChair {
22 
23 public:
24  TColumnView(const char *colName="", TTable *table=0);
25  virtual ~TColumnView();
26  virtual void Browse(TBrowser *b);
27  TH1 *Histogram(const char *selection=""); // *MENU*
28  virtual Bool_t IsFolder() const;
29  ClassDef(TColumnView,0) // Helper to represent one TTable column
30 };
31 
32 #endif
virtual ~TColumnView()
destructor
Definition: TColumnView.cxx:33
virtual Bool_t IsFolder() const
Treat the column with the pointer to the "Ptr" as a "folder".
Definition: TColumnView.cxx:66
virtual void Browse(TBrowser *b)
Create a column histogram for the simple column.
Definition: TColumnView.cxx:39
Definition: TChair.h:27
Definition: TTable.h:48
TH1 * Histogram(const char *selection="")
Create a histogram from the context menu.
Definition: TColumnView.cxx:53
TColumnView(const char *colName="", TTable *table=0)
constructor
Definition: TColumnView.cxx:26