| 35 | using namespace std; |
| 36 | |
| 37 | class ModuleItem |
| 38 | { |
| 39 | private: |
| 40 | uint64_t m_address; |
| 41 | size_t m_size; |
| 42 | std::string m_name; |
| 43 | std::string m_path; |
| 44 | |
| 45 | public: |
| 46 | ModuleItem(uint64_t address, size_t size, std::string name, std::string path); |
| 47 | uint64_t address() const { return m_address; } |
| 48 | uint64_t endAddress() const { return m_address + m_size; } |
| 49 | size_t size() const { return m_size; } |
| 50 | std::string name() const { return m_name; } |
| 51 | std::string path() const { return m_path; } |
| 52 | bool operator==(const ModuleItem& other) const; |
| 53 | bool operator!=(const ModuleItem& other) const; |
| 54 | bool operator<(const ModuleItem& other) const; |
| 55 | }; |
| 56 | |
| 57 | Q_DECLARE_METATYPE(ModuleItem); |
| 58 |
nothing calls this directly
no outgoing calls
no test coverage detected