morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::forms::Bind< Field, Path > Struct Template Reference

One field -> "<ActionTypeId>.<field>" prefill binding declared on a wizard step or an unordered section. More...

#include <session_common.hpp>

Static Public Member Functions

static constexpr std::string_view field () noexcept
 The action field name this binding fills.
static constexpr std::string_view path () noexcept
 The source path into captured values.

Detailed Description

template<morph::forms::FixedString Field, morph::forms::FixedString Path>
struct morph::forms::Bind< Field, Path >

One field -> "<ActionTypeId>.<field>" prefill binding declared on a wizard step or an unordered section.

A declaration, not a write. Nothing in the framework assigns a bound field: wizardSchemaJson/sectionGroupSchemaJson emit it for a renderer, and the captured value is read back through resolved().

Template Parameters
FieldThe action's field name to prefill.
PathSource path, "<ActionTypeId>.<field>", into captured values.

Definition at line 36 of file session_common.hpp.

Member Function Documentation

◆ field()

constexpr std::string_view morph::forms::Bind< Field, Path >::field ( )
inlinestaticnodiscardconstexprnoexcept

The action field name this binding fills.

Returns
The declared field name.

Definition at line 39 of file session_common.hpp.

◆ path()

constexpr std::string_view morph::forms::Bind< Field, Path >::path ( )
inlinestaticnodiscardconstexprnoexcept

The source path into captured values.

Returns
The declared "<ActionTypeId>.<field>" path.

Definition at line 43 of file session_common.hpp.


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