morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::table::SortKey Struct Reference

One key of a sort chain. More...

#include <sort.hpp>

Public Member Functions

bool operator== (SortKey const &other) const =default
 Member-wise equality.

Public Attributes

std::string column
 The column's id.
SortDirection dir = SortDirection::Ascending
 The key's direction.

Detailed Description

One key of a sort chain.

Definition at line 58 of file sort.hpp.

Member Function Documentation

◆ operator==()

bool morph::table::SortKey::operator== ( SortKey const & other) const
nodiscarddefault

Member-wise equality.

Parameters
otherThe key to compare with.
Returns
true when column and direction match.

Member Data Documentation

◆ column

std::string morph::table::SortKey::column

The column's id.

Definition at line 60 of file sort.hpp.

◆ dir

SortDirection morph::table::SortKey::dir = SortDirection::Ascending

The key's direction.

Definition at line 62 of file sort.hpp.


The documentation for this struct was generated from the following file: