morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::author::CheckOptions Struct Reference

A validation across elements (spec 5 §6). More...

#include <author.hpp>

Public Attributes

std::string name
 The check's id.
Handle< bool > assertion
 The condition; false fails the check.
AnyHandle message
 The message added to each target's errors.
std::vector< Element > targets
 The elements the message attaches to.
bool blocking = false
 Whether a failure blocks ready.

Detailed Description

A validation across elements (spec 5 §6).

Definition at line 1724 of file author.hpp.

Member Data Documentation

◆ name

std::string morph::ui::author::CheckOptions::name

The check's id.

Definition at line 1726 of file author.hpp.

◆ assertion

Handle<bool> morph::ui::author::CheckOptions::assertion

The condition; false fails the check.

Definition at line 1728 of file author.hpp.

◆ message

AnyHandle morph::ui::author::CheckOptions::message

The message added to each target's errors.

Definition at line 1730 of file author.hpp.

◆ targets

std::vector<Element> morph::ui::author::CheckOptions::targets

The elements the message attaches to.

Definition at line 1732 of file author.hpp.

◆ blocking

bool morph::ui::author::CheckOptions::blocking = false

Whether a failure blocks ready.

Definition at line 1734 of file author.hpp.


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