00001 // Author: Roel Aaij 21/07/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_TVirtualTableInterface 00012 #define ROOT_TVirtualTableInterface 00013 00014 #ifndef ROOT_Rtypes 00015 #include "Rtypes.h" 00016 #endif 00017 00018 00019 class TVirtualTableInterface { 00020 00021 public: 00022 TVirtualTableInterface() {;} 00023 virtual ~TVirtualTableInterface() {;} 00024 00025 virtual Double_t GetValue(UInt_t row, UInt_t column) = 0; 00026 virtual const char *GetValueAsString(UInt_t row, UInt_t column) = 0; 00027 virtual const char *GetRowHeader(UInt_t row) = 0; 00028 virtual const char *GetColumnHeader(UInt_t column) = 0; 00029 virtual UInt_t GetNRows() = 0; 00030 virtual UInt_t GetNColumns() = 0; 00031 00032 ClassDef(TVirtualTableInterface, 0) 00033 }; 00034 00035 #endif