|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A column's identity and kind. More...
#include <data_source.hpp>
Public Member Functions | |
| bool | operator== (ColumnInfo const &other) const =default |
| Member-wise equality. | |
Public Attributes | |
| std::string | id |
| The column's id, unique within the table (the row member's name). | |
| ColumnKind | kind = ColumnKind::Text |
| How the column's keys are built and compared. | |
| std::string | comparator |
| For a Custom column, the name of its comparator in Services::comparators. | |
| std::string | format |
| For a Date or DateTime column holding text, the format handed to the DateParser. | |
A column's identity and kind.
Definition at line 86 of file data_source.hpp.
|
nodiscarddefault |
Member-wise equality.
| other | The column to compare with. |
| std::string morph::table::ColumnInfo::id |
The column's id, unique within the table (the row member's name).
Definition at line 88 of file data_source.hpp.
| ColumnKind morph::table::ColumnInfo::kind = ColumnKind::Text |
How the column's keys are built and compared.
Definition at line 90 of file data_source.hpp.
| std::string morph::table::ColumnInfo::comparator |
For a Custom column, the name of its comparator in Services::comparators.
Definition at line 92 of file data_source.hpp.
| std::string morph::table::ColumnInfo::format |
For a Date or DateTime column holding text, the format handed to the DateParser.
Definition at line 94 of file data_source.hpp.