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
importtargetregistry.h File Reference
#include <QCoreApplication>
#include <QMetaType>
#include <QString>
#include <QVector>
Include dependency graph for importtargetregistry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::import::EnumChoice
 
struct  openswmmvis::import::TargetAttribute
 
class  openswmmvis::import::ImportTargetRegistry
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::import
 

Enumerations

enum class  openswmmvis::import::TargetKind {
  openswmmvis::import::Junction = 0 ,
  openswmmvis::import::Outfall ,
  openswmmvis::import::Storage ,
  openswmmvis::import::Divider ,
  openswmmvis::import::RainGage ,
  openswmmvis::import::Conduit ,
  openswmmvis::import::Pump ,
  openswmmvis::import::Orifice ,
  openswmmvis::import::Weir ,
  openswmmvis::import::Outlet
}
 

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

FEATURE_LAYER_TO_SWMM_IMPORT — static schema registry for the "Import Feature Layer → SWMM Objects" dialog. Describes every importable SWMM target kind and its mappable attributes so the mapping table, planner, and executor all consume one source of truth. Pure Qt Core data — no engine, GDAL, or widget includes — so the planner unit tests stay dependency-light.

Attribute keys marked with a non-empty adapterProperty map 1:1 to a Q_PROPERTY on the matching property adapter (SWMM*PropertyAdapter). Keys with an empty adapterProperty ("name", "fromNode", "toNode") are consumed by the creation call itself (applyNodeAdd / applyLinkAdd / applyGageAdd).