morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::table::RowPatcher Class Referenceabstract

Replaces a row by key; what a committed cell edit patches. More...

#include <data_source.hpp>

Inheritance diagram for morph::table::RowPatcher:
morph::table::VectorSource

Public Member Functions

virtual bool patchRow (RowId const &key, std::vector< Cell > cells)=0
 Replaces the cells of the row keyed id.

Detailed Description

Replaces a row by key; what a committed cell edit patches.

Definition at line 797 of file data_source.hpp.

Member Function Documentation

◆ patchRow()

virtual bool morph::table::RowPatcher::patchRow ( RowId const & key,
std::vector< Cell > cells )
pure virtual

Replaces the cells of the row keyed id.

Parameters
keyThe row's key.
cellsThe new cells.
Returns
false when no row has that key.

Implemented in morph::table::VectorSource.


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