|
| | CellEdits (RowPatcher &patcher, EditCommit commit, Engine *engine=nullptr) |
| | Builds the committer.
|
|
| CellEdits (CellEdits const &)=delete |
|
CellEdits & | operator= (CellEdits const &)=delete |
|
| CellEdits (CellEdits &&)=delete |
|
CellEdits & | operator= (CellEdits &&)=delete |
| | ~CellEdits () |
| | Ends the engine edit of every row with an edit in flight or settling: its completion will be ignored, so nothing else would.
|
| void | commit (EditRequest request) |
| | Commits an edit: now, or after the row's earlier edits settle.
|
| bool | stale (RowId const &row, std::string_view column) const |
| | Whether a cell has an edit committed and not yet settled.
|
| std::optional< std::string > | error (RowId const &row, std::string_view column) const |
| | The error a cell shows, until its next edit succeeds.
|
| std::size_t | unsettled () const |
| | Edits committed and not yet settled, across rows.
|
Commits cell edits row by row, in order.
Owner-affine. A completion that arrives after the CellEdits is destroyed is ignored, and destroying it ends the engine edit of every row it still has in flight. The commit function, the patcher and the engine's handlers may commit again, or destroy this object, from inside a call it makes.
Definition at line 71 of file edits.hpp.