Logo ROOT  
Reference Guide
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...
 
const char * GetColumnHeader (UInt_t column) override
 Return a name for the header at column. More...
 
UInt_t GetNColumns () override
 
UInt_t GetNRows () override
 
const char * GetRowHeader (UInt_t row) override
 Return a name for the header at row. More...
 
Double_t GetValue (UInt_t row, UInt_t column) override
 Return the value of the double in row,column of the data. More...
 
const char * GetValueAsString (UInt_t row, UInt_t column) override
 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

TString fBuffer
 
Double_t ** fData
 
UInt_t fNColumns
 
UInt_t fNRows
 

#include <TGSimpleTableInterface.h>

Inheritance diagram for TGSimpleTableInterface:
[legend]

Constructor & Destructor Documentation

◆ TGSimpleTableInterface()

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

TGSimpleTableInterfac constructor.

Definition at line 31 of file TGSimpleTableInterface.cxx.

◆ ~TGSimpleTableInterface()

TGSimpleTableInterface::~TGSimpleTableInterface ( )
virtual

TGSimpleTableInterface destructor.

Definition at line 40 of file TGSimpleTableInterface.cxx.

Member Function Documentation

◆ GetColumnHeader()

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

Return a name for the header at column.

Implements TVirtualTableInterface.

Definition at line 83 of file TGSimpleTableInterface.cxx.

◆ GetNColumns()

UInt_t TGSimpleTableInterface::GetNColumns ( )
inlineoverridevirtual

Implements TVirtualTableInterface.

Definition at line 38 of file TGSimpleTableInterface.h.

◆ GetNRows()

UInt_t TGSimpleTableInterface::GetNRows ( )
inlineoverridevirtual

Implements TVirtualTableInterface.

Definition at line 37 of file TGSimpleTableInterface.h.

◆ GetRowHeader()

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

Return a name for the header at row.

Implements TVirtualTableInterface.

Definition at line 74 of file TGSimpleTableInterface.cxx.

◆ GetValue()

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

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

Implements TVirtualTableInterface.

Definition at line 47 of file TGSimpleTableInterface.cxx.

◆ GetValueAsString()

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

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

Implements TVirtualTableInterface.

Definition at line 63 of file TGSimpleTableInterface.cxx.

Member Data Documentation

◆ fBuffer

TString TGSimpleTableInterface::fBuffer
private

Definition at line 24 of file TGSimpleTableInterface.h.

◆ fData

Double_t** TGSimpleTableInterface::fData
private

Definition at line 21 of file TGSimpleTableInterface.h.

◆ fNColumns

UInt_t TGSimpleTableInterface::fNColumns
private

Definition at line 23 of file TGSimpleTableInterface.h.

◆ fNRows

UInt_t TGSimpleTableInterface::fNRows
private

Definition at line 22 of file TGSimpleTableInterface.h.

Libraries for TGSimpleTableInterface:
[legend]

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