SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SWMMModelLayer::SelectedElement Struct Reference

One selected element: its name plus a bitmask of the kinds (kKind*) the selection applies to. SWMM names are per-type namespaces — a rain gage and a subcatchment may legally share a name — so selection must carry the kind or a click on one lights up both. Order is preserved (the profile tool seeds its start/end nodes from shift-click order). More...

#include <swmmmodellayer.h>

Collaboration diagram for SWMMModelLayer::SelectedElement:

Public Member Functions

bool operator== (const SelectedElement &o) const
 

Public Attributes

QString name
 
quint8 kinds = 0
 

Detailed Description

One selected element: its name plus a bitmask of the kinds (kKind*) the selection applies to. SWMM names are per-type namespaces — a rain gage and a subcatchment may legally share a name — so selection must carry the kind or a click on one lights up both. Order is preserved (the profile tool seeds its start/end nodes from shift-click order).

Member Function Documentation

◆ operator==()

bool SWMMModelLayer::SelectedElement::operator== ( const SelectedElement o) const
inline

Member Data Documentation

◆ kinds

quint8 SWMMModelLayer::SelectedElement::kinds = 0

◆ name

QString SWMMModelLayer::SelectedElement::name

The documentation for this struct was generated from the following file: