![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <saveaspathnormalizer.h>
Public Attributes | |
| QString | inpPath |
| bool | isProject = false |
| bool | wasNormalized = false |
Result of normalizeSaveAsPath.
| QString openswmmvis::SaveAsPathResult::inpPath |
Canonical path to pass to SWMMVisProjectWindow::saveAs.
<stem>.inp (the .inp the engine actually writes; the .oswp sidecar is written next to it by the caller using ProjectSerializer::sidecarPathFor).<ext>.<ext> duplications collapsed (still ending in whatever writable extension the user picked — .inp, .gpkg, etc.). | bool openswmmvis::SaveAsPathResult::isProject = false |
True iff the dialog's original (post-collapse) extension is .oswp — i.e. the user intended a project-file save. The caller uses this to drive sidecar-only logic (e.g. picking the .oswp filename to round-trip).
| bool openswmmvis::SaveAsPathResult::wasNormalized = false |
True iff at least one duplicate-extension layer was collapsed. The caller can surface a debug log when set; not user-visible.