30 return {tag, row - 1};
38 return {tag_name, -1};
51 return row == other.
row && tag == other.
tag;
56 return !(*
this == other);
Aggregate to hold (tag, row) information for SessionModel.
bool operator!=(const TagRow &other) const
static TagRow append(const std::string &tag_name={})
Returns TagRow corresponding to the append to tag_name.
TagRow next() const
Constructs new tagrow representing next row in given tag.
static TagRow prepend(const std::string &tag_name={})
Returns TagRow corresponding to prepending to tag_name.
bool operator==(const TagRow &other) const
TagRow prev() const
Constructs new tagrow representing previous row in given tag.