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
subcatchcompoundeditref.h
Go to the documentation of this file.
1
14#ifndef SUBCATCHCOMPOUNDEDITREF_H
15#define SUBCATCHCOMPOUNDEDITREF_H
16
17#include <QMetaType>
18#include <QString>
19
20#include <openswmm/engine/openswmm_callbacks.h> // SWMM_Engine typedef
21
22class SWMMModelLayer;
23
26{
27 enum Kind {
28 LandUse = 0,
32 };
33
34 SWMM_Engine engine = nullptr;
35 QString subName;
37 QString summary;
38 SWMMModelLayer *layer = nullptr;
39
40 bool operator==(const SubcatchCompoundEditRef &other) const noexcept
41 {
42 return engine == other.engine && subName == other.subName
43 && kind == other.kind && summary == other.summary
44 && layer == other.layer;
45 }
46};
47
48Q_DECLARE_METATYPE(SubcatchCompoundEditRef)
49
50
52
53#endif // SUBCATCHCOMPOUNDEDITREF_H
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133
void * SWMM_Engine
Definition objectdefaultsapplier.h:19
Definition subcatchcompoundeditref.h:26
QString summary
Short text shown in the cell.
Definition subcatchcompoundeditref.h:37
SWMM_Engine engine
Engine handle (borrow, not owned)
Definition subcatchcompoundeditref.h:34
bool operator==(const SubcatchCompoundEditRef &other) const noexcept
Definition subcatchcompoundeditref.h:40
Kind
Definition subcatchcompoundeditref.h:27
@ LidUsage
[LID_USAGE] LID controls assigned to the subcatch
Definition subcatchcompoundeditref.h:30
@ Groundwater
[GROUNDWATER] aquifer + flow routing params
Definition subcatchcompoundeditref.h:29
@ LandUse
[COVERAGES] per-landuse coverage percents
Definition subcatchcompoundeditref.h:28
@ Loadings
[LOADINGS] initial pollutant buildup (iter. 4)
Definition subcatchcompoundeditref.h:31
Kind kind
Definition subcatchcompoundeditref.h:36
SWMMModelLayer * layer
Owning layer (borrow) for pickers.
Definition subcatchcompoundeditref.h:38
QString subName
Owning subcatchment id.
Definition subcatchcompoundeditref.h:35
void registerSubcatchCompoundEditRefConverter()
Definition subcatchcompoundeditref.cpp:11