50 Error(
"TGSimpleTableInterface",
"Non existing value requested.");
53 if (
fData ==
nullptr) {
54 Error(
"TGSimpleTableInterface",
"Non existing table data.");
57 return fData[row][column];
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
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.
virtual ~TGSimpleTableInterface()
TGSimpleTableInterface destructor.
TGSimpleTableInterface(Double_t **data, UInt_t nrows=2, UInt_t ncolumns=2)
TGSimpleTableInterfac 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.
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.