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

One listed row. More...

#include <collection.hpp>

Public Member Functions

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

Public Attributes

table::RowId id
 The row's identity for the table engine: an int64 key, or its text when it is not one.
std::string key
 The row key as exact text (every digit kept): what open, fire and the views address a row by.
std::string json
 The row as JSON, every integer digit kept.
std::vector< std::string > cells
 The visible columns' formatted cells, in column order.

Detailed Description

One listed row.

Definition at line 252 of file collection.hpp.

Member Function Documentation

◆ operator==()

bool morph::forms::CollectionRow::operator== ( CollectionRow const & other) const
default

Member-wise equality.

Parameters
otherThe other row.
Returns
true when every member matches.

Member Data Documentation

◆ id

table::RowId morph::forms::CollectionRow::id

The row's identity for the table engine: an int64 key, or its text when it is not one.

Definition at line 254 of file collection.hpp.

◆ key

std::string morph::forms::CollectionRow::key

The row key as exact text (every digit kept): what open, fire and the views address a row by.

Definition at line 256 of file collection.hpp.

◆ json

std::string morph::forms::CollectionRow::json

The row as JSON, every integer digit kept.

Definition at line 258 of file collection.hpp.

◆ cells

std::vector<std::string> morph::forms::CollectionRow::cells

The visible columns' formatted cells, in column order.

Definition at line 260 of file collection.hpp.


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