#include <importtargetregistry.h>
◆ ImportTargetRegistry()
| openswmmvis::import::ImportTargetRegistry::ImportTargetRegistry |
( |
| ) |
|
|
delete |
◆ allKinds()
| QVector< TargetKind > openswmmvis::import::ImportTargetRegistry::allKinds |
( |
| ) |
|
|
static |
All kinds in dialog display order.
◆ attribute()
Lookup one attribute by key; returns an entry with empty key when key is unknown for kind.
◆ attributesFor()
The mappable attributes of kind in display order. "name" is always first and always required. Link kinds additionally carry "fromNode"/"toNode" rows (required-ness of those is decided dynamically by the endpoint-resolution options — the planner treats them as optional inputs; see ImportMapping).
◆ isLinkKind()
| bool openswmmvis::import::ImportTargetRegistry::isLinkKind |
( |
TargetKind |
k | ) |
|
|
static |
◆ isNodeKind()
| bool openswmmvis::import::ImportTargetRegistry::isNodeKind |
( |
TargetKind |
k | ) |
|
|
static |
True for Junction / Outfall / Storage / Divider. RainGage is a point kind but NOT a node kind (separate engine namespace).
◆ isPointKind()
| bool openswmmvis::import::ImportTargetRegistry::isPointKind |
( |
TargetKind |
k | ) |
|
|
static |
Point-geometry sources: node kinds + RainGage.
◆ kindLabel()
| QString openswmmvis::import::ImportTargetRegistry::kindLabel |
( |
TargetKind |
k | ) |
|
|
static |
Translated display label, e.g. "Rain Gage".
◆ swmmLinkType()
| int openswmmvis::import::ImportTargetRegistry::swmmLinkType |
( |
TargetKind |
k | ) |
|
|
static |
SWMM_LinkType code (0=Conduit, 1=Pump, 2=Orifice, 3=Weir, 4=Outlet); -1 when k is not a link kind.
◆ swmmNodeType()
| int openswmmvis::import::ImportTargetRegistry::swmmNodeType |
( |
TargetKind |
k | ) |
|
|
static |
SWMM_NodeType code (0=Junction, 1=Outfall, 2=Storage, 3=Divider); -1 when k is not a node kind.
The documentation for this class was generated from the following files: