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