One entry of a choice list (workplans/FEATURE_LAYER_ROLES_AND_FIELDS_PLAN_2026-09-30.md P2).
More...
#include <featuretypes.h>
|
| QString | value |
| | Stored token.
|
| |
| QString | label |
| | Shown in combos; empty means "show the value".
|
| |
One entry of a choice list (workplans/FEATURE_LAYER_ROLES_AND_FIELDS_PLAN_2026-09-30.md P2).
The VALUE is what the table stores: a stable token ("triangles", "TS_STAGE"), never a translated label (plan Q5).
◆ displayLabel()
| QString openswmmvis::feature::FieldChoice::displayLabel |
( |
| ) |
const |
|
inline |
- Returns
- Nonempty explicit label, otherwise the stable stored choice token.
◆ operator!=()
| bool openswmmvis::feature::FieldChoice::operator!= |
( |
const FieldChoice & |
o | ) |
const |
|
inline |
Test whether stored field/schema values differ.
- Parameters
-
| [in] | o | Value to compare without mutation. |
- Returns
- Logical negation of operator==; schema/choice order remains significant.
◆ operator==()
| bool openswmmvis::feature::FieldChoice::operator== |
( |
const FieldChoice & |
o | ) |
const |
|
inline |
Compare complete stored field/schema values.
- Parameters
-
| [in] | o | Value to compare without mutation. |
- Returns
- True for equal stored fields, including choice order/editor hints where present.
◆ label
| QString openswmmvis::feature::FieldChoice::label |
Shown in combos; empty means "show the value".
◆ value
| QString openswmmvis::feature::FieldChoice::value |
The documentation for this struct was generated from the following file:
- /home/runner/work/openswmm.gui/openswmm.gui/include/feature/featuretypes.h