OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
NodesHandler.hpp
Go to the documentation of this file.
1
12#ifndef OPENSWMM_ENGINE_NODES_HANDLER_HPP
13#define OPENSWMM_ENGINE_NODES_HANDLER_HPP
14
15#include <vector>
16#include <string>
17
18namespace openswmm { struct SimulationContext; }
19
20namespace openswmm::input {
21
23void handle_junctions(SimulationContext& ctx, const std::vector<std::string>& lines);
24
26void handle_outfalls(SimulationContext& ctx, const std::vector<std::string>& lines);
27
29void handle_dividers(SimulationContext& ctx, const std::vector<std::string>& lines);
30
32void handle_storage(SimulationContext& ctx, const std::vector<std::string>& lines);
33
35void handle_coordinates(SimulationContext& ctx, const std::vector<std::string>& lines);
36
37} /* namespace openswmm::input */
38
39#endif /* OPENSWMM_ENGINE_NODES_HANDLER_HPP */
Definition CatchmentHandler.cpp:44
void handle_coordinates(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [COORDINATES] — fills spatial.node_x / node_y.
Definition NodesHandler.cpp:293
void handle_outfalls(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [OUTFALLS] — sets outfall-specific fields for nodes of type OUTFALL.
Definition NodesHandler.cpp:148
void handle_storage(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [STORAGE] — adds storage nodes and their geometry.
Definition NodesHandler.cpp:249
void handle_dividers(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [DIVIDERS] — sets divider-specific fields.
Definition NodesHandler.cpp:191
void handle_junctions(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [JUNCTIONS] into NodeData + node_names.
Definition NodesHandler.cpp:122
Definition Controls.cpp:24