|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
One field of an action body: a member of the action, and the expression that fills it. More...
#include <author.hpp>
Public Member Functions | |
| template<typename Member, typename V> requires detail::Operand<V> && (detail::assignable<typename detail::ValueOf<V>::type, Member>()) | |
| BodyField (Member Action::*member, V const &value) | |
| A field: a member pointer of the action, so a renamed field or another action's field is a compile error, and a value that can stand for the member's type. | |
| std::string const & | name () const noexcept |
| The field's JSON name. | |
| Json const & | json () const noexcept |
| The field's expression. | |
One field of an action body: a member of the action, and the expression that fills it.
| Action | The action. |
Definition at line 1471 of file author.hpp.
|
inline |
A field: a member pointer of the action, so a renamed field or another action's field is a compile error, and a value that can stand for the member's type.
| Member | The member's type. |
| V | The value's C++ type: a handle or a constant. |
| member | The member. |
| value | The value. |
Definition at line 1481 of file author.hpp.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |