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.h
Go to the documentation of this file.
1
20#ifndef NODECOMPOUNDEDITREF_H
21#define NODECOMPOUNDEDITREF_H
22
23#include <QMetaType>
24#include <QString>
25
26#include <openswmm/engine/openswmm_callbacks.h> // SWMM_Engine typedef
27
28class SWMMModelLayer;
29
32{
47
48 SWMM_Engine engine = nullptr;
49 QString nodeName;
51 QString summary;
58
59 bool operator==(const NodeCompoundEditRef &other) const noexcept
60 {
61 return engine == other.engine && nodeName == other.nodeName
62 && kind == other.kind && summary == other.summary
63 && layer == other.layer;
64 }
65};
66
67Q_DECLARE_METATYPE(NodeCompoundEditRef)
68
69
74
75#endif // NODECOMPOUNDEDITREF_H
Renders the SWMM network elements (nodes, links, subcatchments, rain gages) for one OpenSWMMEngine mo...
Definition swmmmodellayer.h:133
void registerNodeCompoundEditRefConverter()
Definition nodecompoundeditref.cpp:9
void * SWMM_Engine
Definition objectdefaultsapplier.h:19
Definition nodecompoundeditref.h:32
SWMMModelLayer * layer
Definition nodecompoundeditref.h:57
QString summary
Short text shown in the cell.
Definition nodecompoundeditref.h:51
QString nodeName
Owning node id.
Definition nodecompoundeditref.h:49
Kind
Definition nodecompoundeditref.h:36
@ Dwf
[DWF] per-node entries (per constituent)
Definition nodecompoundeditref.h:38
@ GroundwaterSources
Definition nodecompoundeditref.h:45
@ Rdii
[RDII] per-node UH-group assignment + area
Definition nodecompoundeditref.h:39
@ Treatment
[TREATMENT] per-node per-pollutant expression
Definition nodecompoundeditref.h:40
@ Inflows
[INFLOWS] per-node entries (per constituent)
Definition nodecompoundeditref.h:37
SWMM_Engine engine
Engine handle (borrow, not owned)
Definition nodecompoundeditref.h:48
Kind kind
Definition nodecompoundeditref.h:50
bool operator==(const NodeCompoundEditRef &other) const noexcept
Definition nodecompoundeditref.h:59