![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Configuration parsed from the [FILES] section.
More...
#include <SimulationContext.hpp>
Public Attributes | |
| std::string | path |
| double | datetime = 0.0 |
Configuration parsed from the [FILES] section.
Mirrors legacy SWMM5's Frainfall, Frunoff, Frdii, Finflows, Foutflows, FhotstartInput, FhotstartOutputs structs (see legacy/engine/iface.c). Each kind has an (mode, path) pair; modes that the legacy parser doesn't accept (e.g. RAINFALL only ever reads USE) are still stored so a faithful round-trip is possible — validation can flag illegal combinations later.
Multi-save HOTSTART (legacy supported up to 10 SAVE rows with optional datetimes) is now honoured: hotstart_saves is a vector and the parser appends per row. The C API's singular HOTSTART_SAVE_PATH / _DATETIME keys operate on slot 0 as a back-compat sugar for GUI clients that only surface a single hot-start save.
| double openswmm::HotstartSaveEntry::datetime = 0.0 |
Optional SAVE HOTSTART datetime as a SWMM decimal day. 0.0 means "no datetime — write at end of run".
| std::string openswmm::HotstartSaveEntry::path |