Began removal of platform/. The Monitor:: namespace is completely converted.
[aesalon.git] / src / monitor / elf / Symbol.h
blobbe34e08cb8cc841a3705d7dab19abf59136547a4
1 #ifndef AESALON_MONITOR_ELF_SYMBOL_H
2 #define AESALON_MONITOR_ELF_SYMBOL_H
4 #include <string>
6 #include "Types.h"
8 namespace Aesalon {
9 namespace Monitor {
10 namespace ELF {
12 class Symbol {
13 private:
14 std::string symbol_name;
15 Word address;
16 Word size;
17 public:
18 Symbol(std::string symbol_name, Word address, Word size) : symbol_name(symbol_name), address(address), size(size) {}
19 virtual ~Symbol() {}
21 Word get_address() const { return address; }
22 std::string get_symbol_name() const { return symbol_name; }
23 Word get_size() const { return size; }
26 } // namespace ELF
27 } // namespace Monitor
28 } // namespace Aesalon
30 #endif