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
gisobjectref.h
Go to the documentation of this file.
1
21#ifndef OPENSWMMVIS_LAYERS_GISOBJECTREF_H
22#define OPENSWMMVIS_LAYERS_GISOBJECTREF_H
23
25
26#include <QString>
27
29{
30public:
32 static QString layerKey(const QString &layerId);
33
36 static SWMMObjectRef feature(const QString &layerId, long long fid);
37
41 static bool parseFeature(const SWMMObjectRef &ref,
42 QString *outLayerId,
43 long long *outFid);
44};
45
46#endif // OPENSWMMVIS_LAYERS_GISOBJECTREF_H
Definition gisobjectref.h:29
static QString layerKey(const QString &layerId)
"gis::<layerId>" — the bus-side key for one feature layer.
Definition gisobjectref.cpp:9
static SWMMObjectRef feature(const QString &layerId, long long fid)
Build a SelectionManager ref naming feature fid on the layer with layerId.
Definition gisobjectref.cpp:14
static bool parseFeature(const SWMMObjectRef &ref, QString *outLayerId, long long *outFid)
Parse a feature ref name. Returns true and fills the outs on success; false (outs untouched) if the n...
Definition gisobjectref.cpp:21
EdgeRef ref
Definition pslgminsize.cpp:377
Identifies a single SWMM object.
Definition selectionmanager.h:32