|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
One selectable value of an Enum or a Choice. More...
#include <field_model.hpp>
Public Member Functions | |
| bool | operator== (ChoiceOption const &other) const =default |
| Member-wise equality. | |
Public Attributes | |
| std::string | valueJson |
| The value as the JSON literal the body carries ("\"Viewer\\"\"</tt>, <tt>\"9007199254740993\"). | |
| std::string | label |
| What the user sees. | |
One selectable value of an Enum or a Choice.
Definition at line 131 of file field_model.hpp.
|
default |
Member-wise equality.
| other | The other option. |
| std::string morph::forms::ChoiceOption::valueJson |
The value as the JSON literal the body carries ("\"Viewer\\"\"</tt>, <tt>\"9007199254740993\").
Definition at line 133 of file field_model.hpp.
| std::string morph::forms::ChoiceOption::label |
What the user sees.
Definition at line 135 of file field_model.hpp.