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

#include <nodecompoundeditref.h>

Collaboration diagram for NodeCompoundEditRef:

Public Types

enum  Kind {
  Inflows = 0 ,
  Dwf ,
  Rdii ,
  Treatment ,
  GroundwaterSources
}
 

Public Member Functions

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

Public Attributes

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

Detailed Description

Identifies one editable compound attribute on a single node.

Member Enumeration Documentation

◆ Kind

Which legacy SWMM concept this cell wraps. The order mirrors the layout in legacy Fproped.pas so the Property Browser rows read top-to-bottom in the same order users have seen for decades.

Enumerator
Inflows 

[INFLOWS] per-node entries (per constituent)

Dwf 

[DWF] per-node entries (per constituent)

Rdii 

[RDII] per-node UH-group assignment + area

Treatment 

[TREATMENT] per-node per-pollutant expression

GroundwaterSources 

Read-only navigation: subcatchments whose [GROUNDWATER] receiving node is this node (AQUIFER_GROUNDWATER_EXCHANGE plan G5). The button opens GroundwaterExchangeDialog for the pick; the data is owned by the subcatchment.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ engine

SWMM_Engine NodeCompoundEditRef::engine = nullptr

Engine handle (borrow, not owned)

◆ kind

Kind NodeCompoundEditRef::kind = Inflows

◆ layer

SWMMModelLayer* NodeCompoundEditRef::layer = nullptr

Owning model layer (borrow). DB.4 — needed by the dialog's picker buttons so they can call layer->createDataObject(...) to materialise a new time series / pattern / UH inline. May be null when constructed in test contexts; pickers handle null gracefully by disabling the "..." button.

◆ nodeName

QString NodeCompoundEditRef::nodeName

Owning node id.

◆ summary

QString NodeCompoundEditRef::summary

Short text shown in the cell.


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