Logo ROOT   6.16/01
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//______________________________________________________________________________
21class TColumnView : public TChair {
22
23public:
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
#define b(i)
Definition: RSha256.hxx:100
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:324
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:37
Definition: TChair.h:27
virtual ~TColumnView()
destructor
Definition: TColumnView.cxx:33
TColumnView(const char *colName="", TTable *table=0)
constructor
Definition: TColumnView.cxx:26
TH1 * Histogram(const char *selection="")
Create a histogram from the context menu.
Definition: TColumnView.cxx:53
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
The TH1 histogram class.
Definition: TH1.h:56
Definition: TTable.h:48
void table()
Definition: table.C:85