Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TVirtualTableInterface.h
Go to the documentation of this file.
1 // Author: Roel Aaij 21/07/2007
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_TVirtualTableInterface
12 #define ROOT_TVirtualTableInterface
13 
14 #include "Rtypes.h"
15 
16 
17 class TVirtualTableInterface {
18 
19 public:
20  TVirtualTableInterface() {;}
21  virtual ~TVirtualTableInterface() {;}
22 
23  virtual Double_t GetValue(UInt_t row, UInt_t column) = 0;
24  virtual const char *GetValueAsString(UInt_t row, UInt_t column) = 0;
25  virtual const char *GetRowHeader(UInt_t row) = 0;
26  virtual const char *GetColumnHeader(UInt_t column) = 0;
27  virtual UInt_t GetNRows() = 0;
28  virtual UInt_t GetNColumns() = 0;
29 
30  ClassDef(TVirtualTableInterface, 0)
31 };
32 
33 #endif