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 File Reference
#include "selection/selectionmanager.h"
#include <QString>
Include dependency graph for gisobjectref.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GisObjectRef
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

SVBC round B — helpers to build / parse SWMMObjectRef names for GIS vector features, the mesh::MeshObjectRef idiom applied to imported feature layers.

The encoded form is: gis::<layerId>#f<fid>

Where <layerId> is OpenSWMMVisLayer::layerId() — the panel's existing per-layer key ("gis:<layerId>" combo payloads), stable for the layer's lifetime and unique when several sublayers come from one datasource. The parse splits on the LAST "#f", so a layerId containing '#' cannot confuse it. Kept free of GISVectorLayer includes so it unit-tests without widget/GDAL deps.