![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Registry that maps SWMM section tags to handler functions. More...
#include <string>#include <string_view>#include <vector>#include <functional>#include <unordered_map>Go to the source code of this file.
Classes | |
| class | openswmm::input::SectionRegistry |
| Registry that maps section tags (e.g., "[JUNCTIONS]") to handlers. More... | |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::input |
Typedefs | |
| using | openswmm::input::SectionHandler = std::function< void(SimulationContext &, const std::vector< std::string > &)> |
| Handler function type for input file sections. | |
Registry that maps SWMM section tags to handler functions.
The SectionRegistry enables optional sections (R09): user code can register custom handler functions for new section tags. Built-in sections (NODES, LINKS, etc.) are registered at startup.
Handler signature: