PandA-2024.02
Public Member Functions | Private Attributes
memory_symbol Class Reference

#include <memory_symbol.hpp>

Public Member Functions

 memory_symbol (unsigned int var, const std::string &_name, unsigned long long _address, unsigned int funId)
 Constructor. More...
 
 ~memory_symbol ()=default
 Destructor. More...
 
void set_symbol_name (const std::string &_symbol_name)
 Sets the actual name for the variable symbol. More...
 
std::string get_symbol_name () const
 Returns the current name for the variable symbol. More...
 
void set_name (const std::string &_name)
 Sets the actual name for the variable. More...
 
std::string get_name () const
 Returns the current name for the variable. More...
 
void set_address (unsigned long long _address)
 Sets the actual address for the variable. More...
 
unsigned long long int get_address () const
 Gets the current address for the variable. More...
 
unsigned int get_variable () const
 Gets the current the variable. More...
 
bool notEQ (const memory_symbol &ref) const
 

Private Attributes

unsigned int variable
 identifier of the variable More...
 
std::string symbol_name
 name of the symbol More...
 
std::string name
 name of the variable More...
 
unsigned long long int address
 current variable address More...
 

Detailed Description

Definition at line 54 of file memory_symbol.hpp.

Constructor & Destructor Documentation

◆ memory_symbol()

memory_symbol::memory_symbol ( unsigned int  var,
const std::string &  _name,
unsigned long long  _address,
unsigned int  funId 
)
inline

Constructor.

Definition at line 72 of file memory_symbol.hpp.

References ~memory_symbol().

Here is the call graph for this function:

◆ ~memory_symbol()

memory_symbol::~memory_symbol ( )
default

Destructor.

Referenced by memory_symbol().

Here is the caller graph for this function:

Member Function Documentation

◆ get_address()

unsigned long long int memory_symbol::get_address ( ) const
inline

Gets the current address for the variable.

Definition at line 128 of file memory_symbol.hpp.

References address.

◆ get_name()

std::string memory_symbol::get_name ( ) const
inline

Returns the current name for the variable.

Definition at line 112 of file memory_symbol.hpp.

References name.

◆ get_symbol_name()

std::string memory_symbol::get_symbol_name ( ) const
inline

Returns the current name for the variable symbol.

Definition at line 96 of file memory_symbol.hpp.

References symbol_name.

◆ get_variable()

unsigned int memory_symbol::get_variable ( ) const
inline

Gets the current the variable.

Definition at line 136 of file memory_symbol.hpp.

References variable.

◆ notEQ()

bool memory_symbol::notEQ ( const memory_symbol ref) const
inline

Definition at line 141 of file memory_symbol.hpp.

References address, name, symbol_name, and variable.

◆ set_address()

void memory_symbol::set_address ( unsigned long long  _address)
inline

Sets the actual address for the variable.

Definition at line 120 of file memory_symbol.hpp.

◆ set_name()

void memory_symbol::set_name ( const std::string &  _name)
inline

Sets the actual name for the variable.

Definition at line 104 of file memory_symbol.hpp.

◆ set_symbol_name()

void memory_symbol::set_symbol_name ( const std::string &  _symbol_name)
inline

Sets the actual name for the variable symbol.

Definition at line 88 of file memory_symbol.hpp.

Field Documentation

◆ address

unsigned long long int memory_symbol::address
private

current variable address

Definition at line 66 of file memory_symbol.hpp.

Referenced by get_address(), and notEQ().

◆ name

std::string memory_symbol::name
private

name of the variable

Definition at line 63 of file memory_symbol.hpp.

Referenced by get_name(), and notEQ().

◆ symbol_name

std::string memory_symbol::symbol_name
private

name of the symbol

Definition at line 60 of file memory_symbol.hpp.

Referenced by get_symbol_name(), and notEQ().

◆ variable

unsigned int memory_symbol::variable
private

identifier of the variable

Definition at line 57 of file memory_symbol.hpp.

Referenced by get_variable(), and notEQ().


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

Generated on Mon Feb 12 2024 13:03:57 for PandA-2024.02 by doxygen 1.8.13