OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
openswmm::edit Namespace Reference

Classes

struct  CascadeEntry
 Describes one object that was impacted (deleted or nullified) during a cascade deletion. More...
 
struct  CascadeResult
 Aggregate cascade result for one deletion operation. More...
 
struct  ConversionResult
 

Functions

CascadeResult analyze_node_impact (const SimulationContext &ctx, int node_idx)
 
CascadeResult analyze_link_impact (const SimulationContext &ctx, int link_idx)
 
CascadeResult analyze_subcatch_impact (const SimulationContext &ctx, int sc_idx)
 
CascadeResult analyze_gage_impact (const SimulationContext &ctx, int gage_idx)
 
CascadeResult analyze_table_impact (const SimulationContext &ctx, int table_idx)
 
CascadeResult analyze_transect_impact (const SimulationContext &ctx, int transect_idx)
 
CascadeResult delete_link (SimulationContext &ctx, int link_idx)
 
CascadeResult delete_node (SimulationContext &ctx, int node_idx)
 
CascadeResult delete_subcatch (SimulationContext &ctx, int sc_idx)
 
CascadeResult delete_gage (SimulationContext &ctx, int gage_idx)
 
CascadeResult delete_table (SimulationContext &ctx, int table_idx)
 
CascadeResult delete_transect (SimulationContext &ctx, int transect_idx)
 
ConversionResult convert_node (SimulationContext &ctx, int idx, NodeType new_type)
 Convert a node in-place to new_type.
 
ConversionResult convert_link (SimulationContext &ctx, int idx, LinkType new_type)
 Convert a link in-place to new_type.
 

Function Documentation

◆ analyze_gage_impact()

CascadeResult openswmm::edit::analyze_gage_impact ( const SimulationContext ctx,
int  gage_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ analyze_link_impact()

CascadeResult openswmm::edit::analyze_link_impact ( const SimulationContext ctx,
int  link_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ analyze_node_impact()

CascadeResult openswmm::edit::analyze_node_impact ( const SimulationContext ctx,
int  node_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ analyze_subcatch_impact()

CascadeResult openswmm::edit::analyze_subcatch_impact ( const SimulationContext ctx,
int  sc_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ analyze_table_impact()

CascadeResult openswmm::edit::analyze_table_impact ( const SimulationContext ctx,
int  table_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ analyze_transect_impact()

CascadeResult openswmm::edit::analyze_transect_impact ( const SimulationContext ctx,
int  transect_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_link()

ConversionResult openswmm::edit::convert_link ( SimulationContext ctx,
int  idx,
LinkType  new_type 
)

Convert a link in-place to new_type.

Precondition
idx is valid; engine must be in BUILDING or OPENED state (not enforced here).
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_node()

ConversionResult openswmm::edit::convert_node ( SimulationContext ctx,
int  idx,
NodeType  new_type 
)

Convert a node in-place to new_type.

Precondition
idx is valid; engine must be in BUILDING or OPENED state (not enforced here).
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_gage()

CascadeResult openswmm::edit::delete_gage ( SimulationContext ctx,
int  gage_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_link()

CascadeResult openswmm::edit::delete_link ( SimulationContext ctx,
int  link_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_node()

CascadeResult openswmm::edit::delete_node ( SimulationContext ctx,
int  node_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_subcatch()

CascadeResult openswmm::edit::delete_subcatch ( SimulationContext ctx,
int  sc_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_table()

CascadeResult openswmm::edit::delete_table ( SimulationContext ctx,
int  table_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_transect()

CascadeResult openswmm::edit::delete_transect ( SimulationContext ctx,
int  transect_idx 
)
Here is the call graph for this function:
Here is the caller graph for this function: