29 #ifndef __MEM_RUBY_COMMON_DATABLOCK_HH__
30 #define __MEM_RUBY_COMMON_DATABLOCK_HH__
61 uint8_t
getByte(
int whichByte)
const;
70 void print(std::ostream& out)
const;
118 return obj1.
equal(obj2);
121 #endif // __MEM_RUBY_COMMON_DATABLOCK_HH__
void copyPartial(const DataBlock &dblk, int offset, int len)
bool operator==(const DataBlock &obj1, const DataBlock &obj2)
uint8_t getByte(int whichByte) const
void setByte(int whichByte, uint8_t data)
bool equal(const DataBlock &obj) const
void print(std::ostream &out) const
DataBlock & operator=(const DataBlock &obj)
void assign(uint8_t *data)
const uint8_t * getData(int offset, int len) const
void atomicPartial(const DataBlock &dblk, const WriteMask &mask)
void setData(const uint8_t *data, int offset, int len)
std::ostream & operator<<(std::ostream &out, const DataBlock &obj)
uint8_t * getDataMod(int offset)