|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
How a session reads numbers, dates and text. More...
#include <form_session.hpp>
Public Attributes | |
| render::NumericLocale | locale {} |
| How numbers are typed and shown. It holds views: the strings it names must outlive the session. | |
| std::string | bcp47 = "en" |
| The locale translations are resolved in. | |
| render::TranslationProvider | translations |
| The host's catalog; empty means every label is the schema's literal. | |
| int | displayOffsetMinutes = 0 |
| The display zone for date-times, in minutes east of UTC. | |
| std::function< bool(std::string_view bodyJson)> | accepts |
| An extra readiness gate over the assembled body; empty means none. Form<A> puts the action's own validate() here. | |
How a session reads numbers, dates and text.
Definition at line 52 of file form_session.hpp.
| render::NumericLocale morph::forms::FormSessionOptions::locale {} |
How numbers are typed and shown. It holds views: the strings it names must outlive the session.
Definition at line 54 of file form_session.hpp.
| std::string morph::forms::FormSessionOptions::bcp47 = "en" |
The locale translations are resolved in.
Definition at line 56 of file form_session.hpp.
| render::TranslationProvider morph::forms::FormSessionOptions::translations |
The host's catalog; empty means every label is the schema's literal.
Definition at line 58 of file form_session.hpp.
| int morph::forms::FormSessionOptions::displayOffsetMinutes = 0 |
The display zone for date-times, in minutes east of UTC.
Definition at line 60 of file form_session.hpp.
| std::function<bool(std::string_view bodyJson)> morph::forms::FormSessionOptions::accepts |
An extra readiness gate over the assembled body; empty means none. Form<A> puts the action's own validate() here.
Definition at line 63 of file form_session.hpp.