simulavr  1.1.0
Data Class Reference

Hold data memory block and symbol informations. More...

#include <memory.h>

Inheritance diagram for Data:

Public Member Functions

 Data ()
 
void WriteMem (const unsigned char *, unsigned int offset, unsigned int size)
 
- Public Member Functions inherited from Memory
 Memory (int size)
 
virtual ~Memory ()
 
std::string GetSymbolAtAddress (unsigned int add)
 
unsigned int GetAddressAtSymbol (const std::string &s)
 
void AddSymbol (std::pair< unsigned int, std::string > p)
 
unsigned int GetSize ()
 

Additional Inherited Members

- Public Attributes inherited from Memory
unsigned char * myMemory
 
std::multimap< unsigned int, std::string > sym
 
- Protected Attributes inherited from Memory
unsigned int size
 

Detailed Description

Hold data memory block and symbol informations.

Data class is a derived class from Memory, at the moment it's only used for hold symbols informations about data. NO memory space is allocated! myMemory will be initialized to NULL!

Definition at line 95 of file memory.h.

Constructor & Destructor Documentation

◆ Data()

Data::Data ( )
inline

Creates the data memory block

Definition at line 98 of file memory.h.

Member Function Documentation

◆ WriteMem()

void Data::WriteMem ( const unsigned char *  ,
unsigned int  offset,
unsigned int  size 
)
inlinevirtual

Write memory data to memory

Implements Memory.

Definition at line 99 of file memory.h.


The documentation for this class was generated from the following file: