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
LinkCompoundEditRef Struct Reference

#include <linkcompoundeditref.h>

Collaboration diagram for LinkCompoundEditRef:

Public Types

enum  Kind {
  XSection = 0 ,
  InletUsage
}
 

Public Member Functions

bool operator== (const LinkCompoundEditRef &other) const noexcept
 

Public Attributes

SWMM_Engine engine = nullptr
 Engine handle (borrow, not owned)
 
QString linkName
 Owning link id.
 
Kind kind = XSection
 
QString summary
 Short text shown in the cell.
 
SWMMModelLayerlayer = nullptr
 

Detailed Description

Identifies one editable compound attribute on a single link.

Member Enumeration Documentation

◆ Kind

Which legacy SWMM concept this cell wraps. Order matches the visual layout of ConduitProps rows 5/20 in SWMM-GUI/Epaswmm5/objprops.txt (Shape, Inlets).

Enumerator
XSection 

[XSECTIONS] per-link shape + geom1..4 + barrels

InletUsage 

[INLETS] per-conduit usage rows (placeholder)

Member Function Documentation

◆ operator==()

bool LinkCompoundEditRef::operator== ( const LinkCompoundEditRef other) const
inlinenoexcept

Member Data Documentation

◆ engine

SWMM_Engine LinkCompoundEditRef::engine = nullptr

Engine handle (borrow, not owned)

◆ kind

Kind LinkCompoundEditRef::kind = XSection

◆ layer

SWMMModelLayer* LinkCompoundEditRef::layer = nullptr

Owning model layer (borrow). Slice SC.1 — needed so the dialog's pages can route writes through applyLinkXsect / applyLinkCulvertCode so the Map + Attribute Table refresh via attributeChanged(linkName) without a second source of truth.

◆ linkName

QString LinkCompoundEditRef::linkName

Owning link id.

◆ summary

QString LinkCompoundEditRef::summary

Short text shown in the cell.


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