![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Legacy HSF v4 binary hot-start file — parser + materialiser. More...
#include "HotstartFormat.hpp"#include "core/FileIO.hpp"#include <cstdint>#include <cstdio>#include <cstring>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::gpkg |
| namespace | openswmm::gpkg::formats |
Functions | |
| FormatResult | openswmm::gpkg::formats::parseHotstartHsf (const std::string &path, HotstartSnapshot &snapshot, const HsfLayout &layout={}) |
| Read legacy-layout hot-start records and preserve raw runoff/trailer bytes. | |
| FormatResult | openswmm::gpkg::formats::writeHotstartHsf (const std::string &path, const HotstartSnapshot &snapshot) |
| Write retained legacy hot-start routing records and opaque raw sections. | |
Legacy HSF v4 binary hot-start file — parser + materialiser.
See HotstartFormat.hpp for the scope and field-mapping rules. The binary layout mirrors src/legacy/engine/hotstart.c (saveRouting/readRouting) for the routing-state portion.