22 std::size_t mRow = -1;
23 std::size_t mColumn = -1;
39 std::size_t getRow()
const
44 std::size_t getColumn()
const
50 return std::tie(mRow, mColumn) == std::tie(rhs.mRow, rhs.mColumn);
54 return !(rhs == *
this);
58 return hash() < other.hash();
61 [[nodiscard]]
inline uint64_t hash()
const {
62 uint64_t hash = uint32_t(mRow);
64 hash |= uint32_t(mColumn);
70inline std::ostream& operator<<(std::ostream& o,
const AListModelIndex& index) {
71 o <<
"{ " << index.getRow();
72 if (index.getColumn() != -1) {
73 o <<
", " << index.getColumn();
Definition: AListModelIndex.h:20