![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
[FILES] section handler — secondary file references. More...
#include <vector>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::input |
Functions | |
| void | openswmm::input::handle_files (SimulationContext &ctx, const std::vector< std::string > &lines) |
Parse the [FILES] section into ctx.files. | |
[FILES] section handler — secondary file references.
Parses the legacy SWMM5 [FILES] section into SimulationContext::files. Row format:
Where FileType ∈ {RAINFALL, RUNOFF, RDII, INFLOWS, OUTFLOWS,
HOTSTART}. The optional date/time tokens apply only to
`SAVE HOTSTART` and are stored on the `hotstart_save_datetime`
field as a fractional-day SWMM date.
Multi-row `SAVE HOTSTART` (legacy supported up to 10) is not
yet honoured: each new SAVE row overwrites the previous slot.
Lift to a vector when a real workflow needs it.
FilesSpec struct.