![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Internal C++ API for in-place node and link type conversion. More...
#include "../core/SimulationContext.hpp"#include "../data/NodeData.hpp"#include "../data/LinkData.hpp"#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | openswmm::edit::ConversionResult |
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::edit |
Functions | |
| ConversionResult | openswmm::edit::convert_node (SimulationContext &ctx, int idx, NodeType new_type) |
Convert a node in-place to new_type. | |
| ConversionResult | openswmm::edit::convert_link (SimulationContext &ctx, int idx, LinkType new_type) |
Convert a link in-place to new_type. | |
Internal C++ API for in-place node and link type conversion.
Provides conversion between node subtypes (JUNCTION/OUTFALL/STORAGE/ DIVIDER) and between link subtypes (CONDUIT/PUMP/ORIFICE/WEIR/OUTLET). Common fields are preserved; type-specific fields are cleared and new-type defaults are applied.