00001 // @(#)root/table:$Id: TColumnView.h 21414 2007-12-17 14:15:59Z brun $ 00002 // Author: Valery Fine(fine@bnl.gov) 13/03/2000 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TColumnView 00013 #define ROOT_TColumnView 00014 00015 #include "TChair.h" 00016 00017 //______________________________________________________________________________ 00018 // 00019 // TColumnView - helper class to browse the TTable objects via ROOT TBrowser 00020 //______________________________________________________________________________ 00021 class TColumnView : public TChair { 00022 00023 public: 00024 TColumnView(const char *colName="", TTable *table=0); 00025 virtual ~TColumnView(); 00026 virtual void Browse(TBrowser *b); 00027 TH1 *Histogram(const char *selection=""); // *MENU* 00028 virtual Bool_t IsFolder() const; 00029 ClassDef(TColumnView,0) // Helper to represent one TTable column 00030 }; 00031 00032 #endif