OpenASIP  2.0
Public Member Functions | List of all members
MemoryContents Class Reference

#include <MemoryContents.hh>

Inheritance diagram for MemoryContents:
Inheritance graph
Collaboration diagram for MemoryContents:
Collaboration graph

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::MAUValueTable
 Type for a set of values in a basic array type. More...
 
typedef std::vector< Memory::MAUValueVector
 Type for a set of values in a std::vector container. More...
 

Detailed Description

Models the data contained in memory.

Definition at line 48 of file MemoryContents.hh.

Constructor & Destructor Documentation

◆ MemoryContents()

MemoryContents::MemoryContents ( std::size_t  size)
inline

Definition at line 50 of file MemoryContents.hh.

◆ ~MemoryContents()

virtual MemoryContents::~MemoryContents ( )
inlinevirtual

Definition at line 52 of file MemoryContents.hh.

52 { }

The documentation for this class was generated from the following file:
PagedArray< Memory::MAU, MEM_CHUNK_SIZE, 0 >