21#ifndef OPENSWMMVIS_INLET_INLETPROVIDER_H
22#define OPENSWMMVIS_INLET_INLETPROVIDER_H
102 QString
name() const noexcept {
return m_name; }
Definition inletprovider.h:95
void setGrateType(GrateType v)
Definition inletprovider.cpp:123
double slotWidth() const noexcept
Definition inletprovider.h:118
const InletDesignData & design() const noexcept
Whole-design snapshot (undo + engine flush).
Definition inletprovider.h:106
void setDesign(const InletDesignData &d)
Replace every design field at once. Emits paramsChanged() once if anything actually changed.
Definition inletprovider.cpp:95
ThroatType throat() const noexcept
Definition inletprovider.h:116
QString curveId() const
Definition inletprovider.h:119
void setGrateLength(double v)
Definition inletprovider.cpp:109
void setSplashVeloc(double v)
Definition inletprovider.cpp:137
GrateType grateType() const noexcept
Definition inletprovider.h:111
double curbLength() const noexcept
Definition inletprovider.h:114
void setSlotWidth(double v)
Definition inletprovider.cpp:172
void setCurbHeight(double v)
Definition inletprovider.cpp:151
double curbHeight() const noexcept
Definition inletprovider.h:115
void setGrateWidth(double v)
Definition inletprovider.cpp:116
QString name() const noexcept
Definition inletprovider.h:102
double grateLength() const noexcept
Definition inletprovider.h:109
void setThroat(ThroatType v)
Definition inletprovider.cpp:158
double grateWidth() const noexcept
Definition inletprovider.h:110
double splashVeloc() const noexcept
Definition inletprovider.h:113
~InletProvider() override
InletCurveKind curveKind() const noexcept
Definition inletprovider.h:120
void setSlotLength(double v)
Definition inletprovider.cpp:165
InletType type() const noexcept
Definition inletprovider.h:108
double slotLength() const noexcept
Definition inletprovider.h:117
void setCurbLength(double v)
Definition inletprovider.cpp:144
void setCurveId(QString v)
Definition inletprovider.cpp:179
void setType(InletType v)
Definition inletprovider.cpp:102
double openArea() const noexcept
Definition inletprovider.h:112
void setOpenArea(double v)
Definition inletprovider.cpp:130
void setCurveKind(InletCurveKind v)
Definition inletprovider.cpp:186
QString comments() const
Definition inletprovider.h:103
void setName(QString newName)
Definition inletprovider.cpp:80
void nameChanged(QString prev, QString now)
void setComments(QString text)
Definition inletprovider.cpp:88
DiagramType t
Definition diagramspec.cpp:20
int b
local residual indices, a < b
Definition meshquadmatch.cpp:46
int a
Definition meshquadmatch.cpp:46
Definition inletprovider.h:27
InletCurveKind
Custom-inlet capture-curve flavour. Values match SWMM_InletCurveKind.
Definition inletprovider.h:61
@ Diversion
captured flow vs approach flow
@ Rating
captured flow vs water depth
GrateType
Grate bar pattern (HEC-22). Values match SWMM_GrateType.
Definition inletprovider.h:41
QString inletTypeLabel(InletType t)
Legacy editor label for a type ("GRATE", "CURB OPENING", "COMBINATION", "SLOTTED DRAIN",...
Definition inletprovider.cpp:28
QString grateTypeLabel(GrateType t)
HEC-22 grate name ("P_BAR-50", "CURVED_VANE", "GENERIC", …).
Definition inletprovider.cpp:58
bool operator==(const InletDesignData &a, const InletDesignData &b)
Field-by-field equality — used by setDesign to suppress no-op notifications and by the undo commands ...
Definition inletprovider.cpp:11
bool operator!=(const InletDesignData &a, const InletDesignData &b)
Definition inletprovider.h:157
InletType
Inlet design type. Values match SWMM_InletType.
Definition inletprovider.h:30
const char * inletTypeKeyword(InletType t)
[INLETS] type keyword handed to swmm_inlet_add. A COMBINATION design is created as a GRATE and then p...
Definition inletprovider.cpp:42
ThroatType
Curb-opening throat orientation. Values match SWMM_ThroatType.
Definition inletprovider.h:53
QVector< int > v
pool vertex indices
Definition pslgminsize.cpp:159
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
QString text
Definition queryparser.cpp:35
Every parameter of one inlet design, mirroring SWMM_InletDesign. Snapshot type for the undo commands ...
Definition inletprovider.h:70
double openArea
GENERIC only, fraction (0,1].
Definition inletprovider.h:77
InletType type
Definition inletprovider.h:71
double grateLength
Definition inletprovider.h:74
double curbLength
Definition inletprovider.h:81
QString curveId
Definition inletprovider.h:90
GrateType grateType
Definition inletprovider.h:76
double slotLength
Definition inletprovider.h:86
InletCurveKind curveKind
Definition inletprovider.h:91
double curbHeight
Definition inletprovider.h:82
double grateWidth
Definition inletprovider.h:75
double splashVeloc
GENERIC only.
Definition inletprovider.h:78
ThroatType throat
Definition inletprovider.h:83
double slotWidth
Definition inletprovider.h:87