33#ifndef TTA_MEMORY_GRID_TABLE_HH
34#define TTA_MEMORY_GRID_TABLE_HH
54 virtual wxString
GetValue(
int row,
int col);
57 virtual void SetValue(
int row,
int col,
const wxString& value);
void writeValue(int row, int column, UIntWord memoryValue)
Word start_
Start address of the memory range to display.
int mauSize_
Size of MAU in bits.
void setNumberOfColumns(unsigned columns)
virtual wxString GetValue(int row, int col)
wxString memoryContents(ULongWord addr)
virtual wxString GetRowLabelValue(int row)
virtual int GetNumberCols()
static const Word MAX_ROWS
Maximum number of rows to display in the window.
void findAddress(Word addr, int &row, int &col)
DataMode dataMode_
Current data mode of the window (hex/binary/int...).
virtual wxString GetColLabelValue(int col)
unsigned sizeOfCell() const
Memory & memory_
Memory to access.
Word cellAddress(int row, int column) const
void setDataMode(DataMode mode)
Word end_
End address of the memory range to display.
void setSizeMode(SizeMode mode)
static const std::string NOT_AVAILABLE
String that is displayed in a cell that is not in the current AS.
virtual int GetNumberRows()
SizeMode sizeMode_
Current size mode of the window (1/2/4... MAUs per cell).
virtual ~MemoryGridTable()
virtual void SetValue(int row, int col, const wxString &value)
virtual bool IsEmptyCell(int row, int col)
unsigned numberOfColumns_
Current number of columns in the grid.