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
rulestylesubject.cpp File Reference

RuleStyleSubject implementation (Slice Z.2). More...

#include "ui/dialogs/rulestylesubject.h"
#include "render/rule.h"
#include "render/rulelist.h"
#include <utility>
Include dependency graph for rulestylesubject.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Functions

std::vector< std::unique_ptr< ILayerStyleSubject > > openswmmvis::ui::subjectsFromRuleList (OpenSWMM::Render::RuleList *list)
 Build one RuleStyleSubject per Rule in list. Empty / null list yields an empty vector. RoutingIds are auto-assigned as "rule.0", "rule.1", ... — stable for the duration of the dialog session.
 

Detailed Description

RuleStyleSubject implementation (Slice Z.2).

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