51 Error(
"TGSimpleTableInterface",
"Non existing value requested.");
54 if (
fData ==
nullptr) {
55 Error(
"TGSimpleTableInterface",
"Non existing table data.");
58 return fData[row][column];
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
TGSimpleTableInterface is a very simple implementation of a TVirtualTableInterface.
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.
TGSimpleTableInterface(Double_t **data, UInt_t nrows=2, UInt_t ncolumns=2)
TGSimpleTableInterface constructor.
Double_t GetValue(UInt_t row, UInt_t column) override
Return the value of the double in row,column of the data.
const char * GetRowHeader(UInt_t row) override
Return a name for the header at row.
~TGSimpleTableInterface() override
TGSimpleTableInterface destructor.
const char * GetColumnHeader(UInt_t column) override
Return a name for the header at column.
const char * Data() const
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.