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

Top-level project container — owns sessions, the SWMM model layer, and project-level persistence paths. More...

#include <QObject>
Include dependency graph for openswmmvisworkspace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMMVisWorkspace
 Top-level project container managing sessions, the SWMM model layer, and persistence paths for one SWMMVis project. More...
 

Detailed Description

Top-level project container — owns sessions, the SWMM model layer, and project-level persistence paths.

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

OpenSWMMVisWorkspace corresponds to a single .oswp / .inp pair on disk. It holds the collection of OpenSWMMVisSession objects (one per MDI window), a reference to the shared SWMMModelLayer, and the paths required for loading and saving the project.

Instances are normally created via the static factory method newInstance() rather than directly, so that the constructor's two-phase initialisation (construct then initializeFromProjectFile) is always completed correctly.