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
inletregistry.h File Reference

Project-scoped factory + lookup for InletProvider instances. More...

#include "inlet/inletprovider.h"
#include <QHash>
#include <QObject>
#include <QString>
#include <QVector>
Include dependency graph for inletregistry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::inlet::InletRegistry
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::inlet
 

Detailed Description

Project-scoped factory + lookup for InletProvider instances.

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

Mirrors TransectRegistry: loadFromEngine reads every field of every [INLETS] entry (swmm_inlet_get_design + swmm_inlet_get_comment), and saveToEngine writes every provider back unconditionally — the engine is the sink, the registry the source of truth while a project is open. remove deletes the engine copy too (swmm_inlet_delete), so a deleted design cannot reappear in the written INP; impactSummary surfaces the engine's referential-impact report for the delete confirmation.