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 Class Reference

#include <gisobjectref.h>

Collaboration diagram for GisObjectRef:

Static Public Member Functions

static QString layerKey (const QString &layerId)
 "gis::<layerId>" — the bus-side key for one feature layer.
 
static SWMMObjectRef feature (const QString &layerId, long long fid)
 Build a SelectionManager ref naming feature fid on the layer with layerId.
 
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 name is malformed or the ref is not a Feature.
 

Member Function Documentation

◆ feature()

SWMMObjectRef GisObjectRef::feature ( const QString &  layerId,
long long  fid 
)
static

Build a SelectionManager ref naming feature fid on the layer with layerId.

Here is the call graph for this function:

◆ layerKey()

QString GisObjectRef::layerKey ( const QString &  layerId)
static

"gis::<layerId>" — the bus-side key for one feature layer.

Here is the caller graph for this function:

◆ parseFeature()

bool GisObjectRef::parseFeature ( const SWMMObjectRef ref,
QString *  outLayerId,
long long *  outFid 
)
static

Parse a feature ref name. Returns true and fills the outs on success; false (outs untouched) if the name is malformed or the ref is not a Feature.


The documentation for this class was generated from the following files: