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

A confirm-guarded action waiting for an answer. More...

#include <collection.hpp>

Public Member Functions

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

Public Attributes

std::size_t action = 0
 Index into CollectionModel::actions().
std::string rowKey
 The row it was fired on (empty for a collection action).

Detailed Description

A confirm-guarded action waiting for an answer.

Definition at line 268 of file collection.hpp.

Member Function Documentation

◆ operator==()

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

Member-wise equality.

Parameters
otherThe other pending action.
Returns
true when action and row match.

Member Data Documentation

◆ action

std::size_t morph::forms::PendingConfirm::action = 0

Index into CollectionModel::actions().

Definition at line 270 of file collection.hpp.

◆ rowKey

std::string morph::forms::PendingConfirm::rowKey

The row it was fired on (empty for a collection action).

Definition at line 272 of file collection.hpp.


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