|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Compound condition: the nested condition does not hold. Nests to any depth, and is usable directly as a top-level formRules entry, exactly like And/Or. More...
#include <forms.hpp>
Public Member Functions | |
| constexpr bool | test (const A &action) const noexcept |
Evaluates the condition against action. | |
| glz::generic_u64 | emitNode () const |
| Emits this condition's x-rules JSON node. | |
Public Attributes | |
| Cond | condition |
| The negated condition. | |
Static Public Attributes | |
| static constexpr detail::RuleKind | kind = detail::RuleKind::Not |
| The wire "kind" this node emits: "not". | |
| static constexpr bool | isCondition = true |
| Usable as a nested condition: this node's test() is a function of the action, so composing it into an and/or/not tree changes what that tree evaluates to. | |
| static constexpr bool | isPresentation = false |
| Validation rule (not presentation): participates in the gate when used as a top-level formRules entry. | |
Compound condition: the nested condition does not hold. Nests to any depth, and is usable directly as a top-level formRules entry, exactly like And/Or.
| A | Action type the nested condition ranges over. |
| Cond | Nested condition node type. |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscard |
| Cond morph::forms::Not< A, Cond >::condition |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |