00001 // Author: Roel Aaij 30/08/2007 00002 00003 /************************************************************************* 00004 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00005 * All rights reserved. * 00006 * * 00007 * For the licensing terms see $ROOTSYS/LICENSE. * 00008 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00009 *************************************************************************/ 00010 00011 #ifndef ROOT_TGTreeTable 00012 #define ROOT_TGTreeTable 00013 00014 #ifndef ROOT_TGTable 00015 #include "TGTable.h" 00016 #endif 00017 00018 class TTreeTableInterface; 00019 class TTree; 00020 00021 class TGTreeTable : public TGTable { 00022 00023 private: 00024 TTree *fTree; // Pointer to the tree 00025 00026 protected: 00027 00028 public: 00029 TGTreeTable(TGWindow *p = 0, Int_t id = -1, TTree *tree = 0, 00030 const char *expression = 0, const char *selection = 0, 00031 const char *option = 0, UInt_t nrows = 50, UInt_t ncolumns = 10); 00032 ~TGTreeTable(); 00033 00034 ClassDef(TGTreeTable, 0) // A TGTable that owns it's TTreeTableIngeface. 00035 }; 00036 00037 #endif