![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QString>#include <vector>Go to the source code of this file.
Classes | |
| struct | CulvertCodeInfo |
Functions | |
| const std::vector< CulvertCodeInfo > & | culvertCodes () |
| QString | culvertCodeLabel (int code) |
docs/ATTRIBUTE_EDITOR_WIRING_PLAN_2026-06-04.md Phase 0 — single source of truth for the FHWA HDS-5 culvert inlet-geometry codes (1..57; 0 = no culvert / no inlet control). Transcribed from the legacy selector tree in SWMM-GUI/Epaswmm5/Dculvert.dfm so the Property Browser combobox, the Attribute Table enum column, and any future UI all show the same labels.
Labels are deliberately ASCII-only: a previous revision routed UTF-8 literals through QString::fromLatin1, baking mojibake into the culvert combobox (see plan §2, encoding hygiene rule).
| QString culvertCodeLabel | ( | int | code | ) |
Short display label for a code, e.g. "3) Circular Concrete: Groove end projecting". Returns "(none)" for code <= 0 and "Code N" for an unknown positive code.
| const std::vector< CulvertCodeInfo > & culvertCodes | ( | ) |
All 57 codes in ascending order (code 0 "(none)" is NOT included — callers prepend it so they control its wording).