morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
session_common.hpp File Reference

Machinery shared by the two form session types: morph::flows::FlowSession (ordered wizard steps) and morph::forms::SectionSet (unordered sections). More...

#include <cstddef>
#include <glaze/glaze.hpp>
#include <string>
#include <string_view>
#include <tuple>
#include <type_traits>
#include <utility>
#include "../forms.hpp"

Go to the source code of this file.

Classes

struct  morph::forms::Bind< Field, Path >
 One field -> "<ActionTypeId>.<field>" prefill binding declared on a wizard step or an unordered section. More...

Detailed Description

Machinery shared by the two form session types: morph::flows::FlowSession (ordered wizard steps) and morph::forms::SectionSet (unordered sections).

Both declare their units the same way — a registered action, a title, and zero or more Bind prefill declarations — and both walk those declarations to emit a schema document. Only the sequencing differs, so the declaration vocabulary and the pack/tuple walkers live here rather than being written twice.

Definition in file session_common.hpp.