|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
The services an engine sorts and filters with. A null member is replaced by its default. More...
#include <data_source.hpp>
Public Member Functions | |
| std::shared_ptr< TextCollator const > | collatorOrDefault () const |
| The collator to use. | |
| std::shared_ptr< DateParser const > | datesOrDefault () const |
| The date parser to use. | |
| Services | forTask () const |
| The services one task uses: collator and parser cloned when they are not safe to share, defaults filled in. | |
Public Attributes | |
| std::shared_ptr< TextCollator const > | collator |
| Text order and matching; null means CodePointCollator. | |
| std::shared_ptr< DateParser const > | dates |
| Date parsing; null means IsoDateParser. | |
| std::map< std::string, CellComparator, std::less<> > | comparators |
| Comparators for Custom columns, by the name ColumnInfo::comparator gives. | |
| std::shared_ptr< ProgressSink > | progress |
| Optional progress receiver. | |
The services an engine sorts and filters with. A null member is replaced by its default.
Definition at line 396 of file data_source.hpp.
|
inlinenodiscard |
The collator to use.
Definition at line 408 of file data_source.hpp.
|
inlinenodiscard |
The date parser to use.
Definition at line 415 of file data_source.hpp.
|
inlinenodiscard |
The services one task uses: collator and parser cloned when they are not safe to share, defaults filled in.
Definition at line 423 of file data_source.hpp.
| std::shared_ptr<TextCollator const> morph::table::Services::collator |
Text order and matching; null means CodePointCollator.
Definition at line 398 of file data_source.hpp.
| std::shared_ptr<DateParser const> morph::table::Services::dates |
Date parsing; null means IsoDateParser.
Definition at line 400 of file data_source.hpp.
| std::map<std::string, CellComparator, std::less<> > morph::table::Services::comparators |
Comparators for Custom columns, by the name ColumnInfo::comparator gives.
Definition at line 402 of file data_source.hpp.
| std::shared_ptr<ProgressSink> morph::table::Services::progress |
Optional progress receiver.
Definition at line 404 of file data_source.hpp.