![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <dataobjectref.h>
Public Types | |
| enum | Kind { TidalCurve = 0 , AnyCurve = 1 , TimeSeries = 2 , Pattern = 3 , UnitHydrograph = 4 , Pollutant = 5 , RainGage = 6 , StorageCurve = 7 , SubcatchOutlet = 8 , Node = 9 , Subcatchment = 10 , Aquifer = 11 , Inlet = 12 , CaptureNode = 13 } |
Public Member Functions | |
| bool | operator== (const DataObjectRef &other) const noexcept |
Public Attributes | |
| SWMM_Engine | engine = nullptr |
| Engine handle (borrow) | |
| SWMMModelLayer * | layer = nullptr |
| For "…" → create-new flow. | |
| Kind | kind = TimeSeries |
| int | typeLock = -1 |
| Pattern: 0=MONTHLY 1=DAILY 2=HOURLY 3=WEEKEND; -1 = any. | |
| QString | currentName |
| Currently-assigned object id; empty = unassigned. | |
| int | hostNodeIdx = -1 |
Identifies one data object referenced from a property cell.
| enum DataObjectRef::Kind |
Which family of data object this cell points at. Drives both the combo population filter and the editor dialog that "…" launches. Extend as new picker callsites land.
|
inlinenoexcept |
| QString DataObjectRef::currentName |
Currently-assigned object id; empty = unassigned.
| SWMM_Engine DataObjectRef::engine = nullptr |
Engine handle (borrow)
| int DataObjectRef::hostNodeIdx = -1 |
CaptureNode only: node index of the inlet junction whose capture node is being chosen. Lets a map pick be written through the layer even after the property grid has closed the cell editor (it does so the moment the map takes focus). Not part of equality.
| Kind DataObjectRef::kind = TimeSeries |
| SWMMModelLayer* DataObjectRef::layer = nullptr |
For "…" → create-new flow.
| int DataObjectRef::typeLock = -1 |
Pattern: 0=MONTHLY 1=DAILY 2=HOURLY 3=WEEKEND; -1 = any.