MCPcopy Create free account
hub / github.com/Vector35/debugger / ModuleItem

Class ModuleItem

ui/moduleswidget.h:37–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35using namespace std;
36
37class ModuleItem
38{
39private:
40 uint64_t m_address;
41 size_t m_size;
42 std::string m_name;
43 std::string m_path;
44
45public:
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
57Q_DECLARE_METATYPE(ModuleItem);
58

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected