OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
SpatialHandler.hpp
Go to the documentation of this file.
1
12#ifndef OPENSWMM_ENGINE_SPATIAL_HANDLER_HPP
13#define OPENSWMM_ENGINE_SPATIAL_HANDLER_HPP
14
15#include <vector>
16#include <string>
17
18namespace openswmm { struct SimulationContext; }
19
20namespace openswmm::input {
21
23void handle_map(SimulationContext& ctx, const std::vector<std::string>& lines);
24
26void handle_vertices(SimulationContext& ctx, const std::vector<std::string>& lines);
27
29void handle_polygons(SimulationContext& ctx, const std::vector<std::string>& lines);
30
32void handle_symbols(SimulationContext& ctx, const std::vector<std::string>& lines);
33
37void handle_tags(SimulationContext& ctx, const std::vector<std::string>& lines);
38
39} /* namespace openswmm::input */
40
41#endif /* OPENSWMM_ENGINE_SPATIAL_HANDLER_HPP */
Definition CatchmentHandler.cpp:45
void handle_polygons(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [POLYGONS] — fills spatial.subcatch_polygon_x/y.
Definition SpatialHandler.cpp:112
void handle_tags(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [TAGS] — writes per-index tags onto ctx.nodes.tags / ctx.links.tags / ctx.subcatches....
Definition SpatialHandler.cpp:170
void handle_symbols(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [SYMBOLS] — fills spatial.gage_x/y.
Definition SpatialHandler.cpp:143
void handle_vertices(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [VERTICES] — fills spatial.link_vertices_x/y.
Definition SpatialHandler.cpp:81
void handle_map(SimulationContext &ctx, const std::vector< std::string > &lines)
Parse [MAP] — fills spatial.map_x1/y1/x2/y2 and map_units.
Definition SpatialHandler.cpp:53
Definition NodeCoupling.cpp:15