Go to the documentation of this file.
34 #ifndef TTA_DATA_SECTION_HH
35 #define TTA_DATA_SECTION_HH
59 virtual Byte byte(Word offset)
const;
65 virtual void writeValue(Word index, Word numOfMAUs,
unsigned long value);
66 virtual void writeValue(Word index, Word numOfMAUs,
signed long value);
68 virtual Word
length()
const;
static DataSection proto_
Prototype instance of section.
virtual Byte byte(const Chunk *chunk) const
virtual MinimumAddressableUnit MAU(Word index) const
virtual void addMAU(MinimumAddressableUnit aMAU)
virtual Section * clone() const
virtual void setByte(Word offset, Byte aByte)
virtual void addByte(Byte aByte)
std::vector< Byte > data_
Contains the data of data section.
Word MinimumAddressableUnit
Type for storing a MAU (must be unsigned type!). This limits the maximum size of the simulated minimu...
virtual bool isDataSection() const override
virtual SectionType type() const
virtual void setDataLength(Word length)
virtual Word length() const
virtual Chunk * chunk(SectionOffset offset) const
virtual void writeValue(Word index, Word numOfMAUs, unsigned long value)