MCPcopy Create free account
hub / github.com/Vector35/debugger / operator<

Method operator<

ui/stackwidget.cpp:45–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45bool DebugStackItem::operator<(const DebugStackItem& other) const
46{
47 if (m_offset < other.offset())
48 return true;
49 else if (m_offset > other.offset())
50 return false;
51 else if (m_address < other.address())
52 return true;
53 else if (m_address > other.address())
54 return false;
55 else if (m_value < other.value())
56 return true;
57 else if (m_value > other.value())
58 return false;
59 else if (m_valueStatus > other.valueStatus())
60 return false;
61 return m_hint < other.hint();
62}
63
64
65DebugStackListModel::DebugStackListModel(QWidget* parent, BinaryViewRef data, ViewFrame* view) :

Callers

nothing calls this directly

Calls 5

offsetMethod · 0.80
addressMethod · 0.45
valueMethod · 0.45
valueStatusMethod · 0.45
hintMethod · 0.45

Tested by

no test coverage detected