21#ifndef STORAGESHAPEGEOM_H
22#define STORAGESHAPEGEOM_H
24#include <QCoreApplication>
57 {
"CONICAL",
kStorageConicalId,
"Major Axis Length",
"Minor Axis Width",
"Side Slope (run/rise)" },
67 if (r.engineId == engineId)
return &r;
85 const char *lbl =
nullptr;
93 ? QCoreApplication::translate(
"StorageShape", lbl)
Definition aquiferprovider.h:21
constexpr int kStorageFunctionalId
Definition storageshapegeom.h:42
constexpr int kStoragePyramidalId
Definition storageshapegeom.h:46
constexpr int kStorageParaboloidId
Definition storageshapegeom.h:45
const StorageShapeRow * findStorageShapeRow(int engineId)
Definition storageshapegeom.h:64
bool storageShapeIsGeometric(int shapeId)
Definition storageshapegeom.h:74
constexpr int kStorageCylindricalId
Definition storageshapegeom.h:43
bool storageGeomApplies(int shapeId, int ordinal)
Definition storageshapegeom.h:99
constexpr int kStorageTabularId
Engine ids, spelled out so call sites don't hard-code magic numbers.
Definition storageshapegeom.h:41
constexpr StorageShapeRow kStorageShapes[]
Definition storageshapegeom.h:53
QString storageGeomLabel(int shapeId, int ordinal)
Definition storageshapegeom.h:82
constexpr int kStorageConicalId
Definition storageshapegeom.h:44
Definition storageshapegeom.h:32
const char * name
"PYRAMIDAL", … (engine keyword; PARABOLOID is "PARABOLIC").
Definition storageshapegeom.h:33
const char * param2Label
Definition storageshapegeom.h:36
int engineId
SWMM_StorageShape numeric.
Definition storageshapegeom.h:34
const char * param3Label
Definition storageshapegeom.h:37
const char * param1Label
"" when unused.
Definition storageshapegeom.h:35