TGSimpleTableInterface is a very simple implementation of a TVirtualTableInterface.
This interface provides a TGTable with data from a two dimensional array of doubles in memory. It is mostly meant as an example implementation for a TVirtualTableInterface.
Definition at line 18 of file TGSimpleTableInterface.h.
Public Member Functions | |
TGSimpleTableInterface (Double_t **data, UInt_t nrows=2, UInt_t ncolumns=2) | |
TGSimpleTableInterface constructor. | |
virtual | ~TGSimpleTableInterface () |
TGSimpleTableInterface destructor. | |
const char * | GetColumnHeader (UInt_t column) override |
Return a name for the header at column. | |
UInt_t | GetNColumns () override |
UInt_t | GetNRows () override |
const char * | GetRowHeader (UInt_t row) override |
Return a name for the header at row. | |
Double_t | GetValue (UInt_t row, UInt_t column) override |
Return the value of the double in row,column of the data. | |
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. | |
TClass * | IsA () const override |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TVirtualTableInterface | |
TVirtualTableInterface () | |
virtual | ~TVirtualTableInterface () |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TVirtualTableInterface | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Attributes | |
TString | fBuffer |
Double_t ** | fData |
UInt_t | fNColumns |
UInt_t | fNRows |
#include <TGSimpleTableInterface.h>
TGSimpleTableInterface::TGSimpleTableInterface | ( | Double_t ** | data, |
UInt_t | nrows = 2 , |
||
UInt_t | ncolumns = 2 |
||
) |
TGSimpleTableInterface constructor.
Definition at line 32 of file TGSimpleTableInterface.cxx.
|
virtual |
TGSimpleTableInterface destructor.
Definition at line 41 of file TGSimpleTableInterface.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 40 of file TGSimpleTableInterface.h.
|
inlinestatic |
Definition at line 40 of file TGSimpleTableInterface.h.
|
overridevirtual |
Return a name for the header at column.
Implements TVirtualTableInterface.
Definition at line 84 of file TGSimpleTableInterface.cxx.
|
inlineoverridevirtual |
Implements TVirtualTableInterface.
Definition at line 38 of file TGSimpleTableInterface.h.
|
inlineoverridevirtual |
Implements TVirtualTableInterface.
Definition at line 37 of file TGSimpleTableInterface.h.
|
overridevirtual |
Return a name for the header at row.
Implements TVirtualTableInterface.
Definition at line 75 of file TGSimpleTableInterface.cxx.
Return the value of the double in row,column of the data.
Implements TVirtualTableInterface.
Definition at line 48 of file TGSimpleTableInterface.cxx.
Return the value of the double in row,column of the data as a string.
Implements TVirtualTableInterface.
Definition at line 64 of file TGSimpleTableInterface.cxx.
|
inlineoverridevirtual |
Reimplemented from TVirtualTableInterface.
Definition at line 40 of file TGSimpleTableInterface.h.
|
overridevirtual |
Reimplemented from TVirtualTableInterface.
|
inline |
Definition at line 40 of file TGSimpleTableInterface.h.
|
private |
Definition at line 24 of file TGSimpleTableInterface.h.
|
private |
Definition at line 21 of file TGSimpleTableInterface.h.
|
private |
Definition at line 23 of file TGSimpleTableInterface.h.
|
private |
Definition at line 22 of file TGSimpleTableInterface.h.