![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Shared column enumeration + single-column reader for external multi-column series files (CSV / TSV / PCSWMM .tsf). More...
#include <QString>#include <QStringList>#include <QVector>Go to the source code of this file.
Classes | |
| struct | openswmmvis::ui::ExternalSeriesPoint |
| One parsed sample: SWMM DateTime (days since 1899-12-30) + value. More... | |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Functions | |
| QStringList | openswmmvis::ui::readHeaders (const QString &path, QString *errorOut=nullptr, bool *fabricatedOut=nullptr) |
| Enumerate the value-column names of path (time column excluded). | |
| int | openswmmvis::ui::readColumn (const QString &path, const QString &columnSelector, QVector< ExternalSeriesPoint > &pointsOut, QStringList *headersOut=nullptr, QString *errorOut=nullptr, bool *fabricatedOut=nullptr) |
| Read one column of path into pointsOut. | |
| QString | openswmmvis::ui::reconcileColumnSelector (const QString &path, const QString ¤t) |
| The column selector path should carry, given current. | |
Shared column enumeration + single-column reader for external multi-column series files (CSV / TSV / PCSWMM .tsf).
Extracted from TimeseriesEditorDialog::loadExternalFileIntoProvider_'s inline header-vs-data probe so the timeseries dialog and the rain-gage editors share one implementation (spec §4 task 1, workplans/MULTICOLUMN_SERIES_SINGLE_READ_2026-08-17.md). Format detection mirrors the engine's MultiColumnSeriesFile.cpp: