44 #ifndef _MEMORY_SYMBOL_HPP_ 45 #define _MEMORY_SYMBOL_HPP_ 52 #define MEM_PREFIX "MEM_" 72 memory_symbol(
unsigned int var,
const std::string& _name,
unsigned long long _address,
unsigned int funId)
90 symbol_name = _symbol_name;
unsigned int variable
identifier of the variable
void set_address(unsigned long long _address)
Sets the actual address for the variable.
std::string name
name of the variable
void set_symbol_name(const std::string &_symbol_name)
Sets the actual name for the variable symbol.
unsigned long long int get_address() const
Gets the current address for the variable.
unsigned int get_variable() const
Gets the current the variable.
std::string symbol_name
name of the symbol
#define STR(s)
Macro which performs a lexical_cast to a string.
Auxiliary methods for manipulating string.
memory_symbol(unsigned int var, const std::string &_name, unsigned long long _address, unsigned int funId)
Constructor.
std::string get_symbol_name() const
Returns the current name for the variable symbol.
void set_name(const std::string &_name)
Sets the actual name for the variable.
Template definition of refcount.
std::string get_name() const
Returns the current name for the variable.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
bool notEQ(const memory_symbol &ref) const
~memory_symbol()=default
Destructor.
unsigned long long int address
current variable address