Logo ROOT   6.12/07
Reference Guide
TColumnView.h
Go to the documentation of this file.
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 void Browse(TBrowser *b)
Create a column histogram for the simple column.
Definition: TColumnView.cxx:39
Definition: TChair.h:27
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:320
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:37
The TH1 histogram class.
Definition: TH1.h:56
virtual Bool_t IsFolder() const
Treat the column with the pointer to the "Ptr" as a "folder".
Definition: TColumnView.cxx:66
Definition: TTable.h:48
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Definition: TRolke.cxx:630
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