OpenASIP
2.0
|
#include <MemoryContents.hh>
Public Member Functions | |
MemoryContents (std::size_t size) | |
virtual | ~MemoryContents () |
Public Member Functions inherited from PagedArray< Memory::MAU, MEM_CHUNK_SIZE, 0 > | |
PagedArray (std::size_t size) | |
virtual | ~PagedArray () |
void | write (IndexType index, const ValueTable data, std::size_t size) |
void | writeData (IndexType index, const Memory::MAU &data) |
Memory::MAU | readData (IndexType index) |
void | read (IndexType index, ValueVector &data, size_t size) |
void | read (IndexType index, ValueVector &data) |
void | read (IndexType index, ValueTable data, size_t size) |
size_t | allocatedMemory () const |
void | clear () |
Additional Inherited Members | |
Public Types inherited from PagedArray< Memory::MAU, MEM_CHUNK_SIZE, 0 > | |
typedef Memory::MAU * | ValueTable |
Type for a set of values in a basic array type. More... | |
typedef std::vector< Memory::MAU > | ValueVector |
Type for a set of values in a std::vector container. More... | |
Models the data contained in memory.
Definition at line 48 of file MemoryContents.hh.
|
inline |
Definition at line 50 of file MemoryContents.hh.
|
inlinevirtual |
Definition at line 52 of file MemoryContents.hh.