Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
TGSimpleTableInterface Class Reference

Definition at line 18 of file TGSimpleTableInterface.h.

Public Member Functions

 TGSimpleTableInterface (Double_t **data, UInt_t nrows=2, UInt_t ncolumns=2)
 TGSimpleTableInterfac constructor. More...
 
virtual ~TGSimpleTableInterface ()
 TGSimpleTableInterface destructor. More...
 
virtual const char * GetColumnHeader (UInt_t column)
 Return a name for the header at column. More...
 
virtual UInt_t GetNColumns ()
 
virtual UInt_t GetNRows ()
 
virtual const char * GetRowHeader (UInt_t row)
 Return a name for the header at row. More...
 
virtual Double_t GetValue (UInt_t row, UInt_t column)
 Return the value of the double in row,column of the data. More...
 
virtual const char * GetValueAsString (UInt_t row, UInt_t column)
 Return the value of the double in row,column of the data as a string. More...
 
- Public Member Functions inherited from TVirtualTableInterface
 TVirtualTableInterface ()
 
virtual ~TVirtualTableInterface ()
 

Private Attributes

Double_t ** fData
 
UInt_t fNColumns
 
UInt_t fNRows
 

#include <TGSimpleTableInterface.h>

Inheritance diagram for TGSimpleTableInterface:
[legend]

Constructor & Destructor Documentation

TGSimpleTableInterface::TGSimpleTableInterface ( Double_t **  data,
UInt_t  nrows = 2,
UInt_t  ncolumns = 2 
)

TGSimpleTableInterfac constructor.

Definition at line 35 of file TGSimpleTableInterface.cxx.

TGSimpleTableInterface::~TGSimpleTableInterface ( )
virtual

TGSimpleTableInterface destructor.

Definition at line 44 of file TGSimpleTableInterface.cxx.

Member Function Documentation

const char * TGSimpleTableInterface::GetColumnHeader ( UInt_t  column)
virtual

Return a name for the header at column.

Implements TVirtualTableInterface.

Definition at line 83 of file TGSimpleTableInterface.cxx.

virtual UInt_t TGSimpleTableInterface::GetNColumns ( )
inlinevirtual

Implements TVirtualTableInterface.

Definition at line 37 of file TGSimpleTableInterface.h.

virtual UInt_t TGSimpleTableInterface::GetNRows ( )
inlinevirtual

Implements TVirtualTableInterface.

Definition at line 36 of file TGSimpleTableInterface.h.

const char * TGSimpleTableInterface::GetRowHeader ( UInt_t  row)
virtual

Return a name for the header at row.

Implements TVirtualTableInterface.

Definition at line 75 of file TGSimpleTableInterface.cxx.

Double_t TGSimpleTableInterface::GetValue ( UInt_t  row,
UInt_t  column 
)
virtual

Return the value of the double in row,column of the data.

Implements TVirtualTableInterface.

Definition at line 51 of file TGSimpleTableInterface.cxx.

const char * TGSimpleTableInterface::GetValueAsString ( UInt_t  row,
UInt_t  column 
)
virtual

Return the value of the double in row,column of the data as a string.

Implements TVirtualTableInterface.

Definition at line 65 of file TGSimpleTableInterface.cxx.

Member Data Documentation

Double_t** TGSimpleTableInterface::fData
private

Definition at line 21 of file TGSimpleTableInterface.h.

UInt_t TGSimpleTableInterface::fNColumns
private

Definition at line 23 of file TGSimpleTableInterface.h.

UInt_t TGSimpleTableInterface::fNRows
private

Definition at line 22 of file TGSimpleTableInterface.h.


The documentation for this class was generated from the following files: