#define DEFAULT_PAGE_SIZE
uint32_t IndexType
Type used for indexing the array. Currently, limited to 32 bits.
ValueType ** pageTable_
Storage for the data pages. Created pages are stored in table from which they are found with address ...
PagedArray & operator=(const PagedArray &)
Assignment not allowed.
void read(IndexType index, ValueVector &data, size_t size)
size_t allocatedMemory() const
ValueType * ValueTable
Type for a set of values in a basic array type.
void read(IndexType index, ValueVector &data)
PagedArray(const PagedArray &)
Copying not allowed.
ValueType readData(IndexType index)
std::size_t pageTableSize_
Size of the page table.
PagedArray(std::size_t size)
std::vector< ValueType > ValueVector
Type for a set of values in a std::vector container.
void write(IndexType index, const ValueTable data, std::size_t size)
void read(IndexType index, ValueTable data, size_t size)
void writeData(IndexType index, const ValueType &data)