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

Renderer that evaluates a list of expression-gated rules. More...

#include "render/ifeaturerenderer.h"
#include <QPair>
#include <QString>
Include dependency graph for rulebasedrenderer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Render::RuleBasedRenderer
 First-match expression-gated rule list. More...
 
struct  OpenSWMM::Render::RuleBasedRenderer::Rule
 One rule in the list. More...
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 

Detailed Description

Renderer that evaluates a list of expression-gated rules.

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
    Sub-phase 8.13.6.2 STUB: this v1 stores rules (expression /
    symbol / label / scale range) and JSON-round-trips them, but
    expression evaluation is deferred to Slice **BI.2** (the label
    engine introduces the LabelExpression DSL parser, which this
    renderer reuses per §J.7). Until BI.2 lands, symbolFor() returns
    the fallback symbol.

    Storing the rules now keeps `.oswp` files written by a future
    build forward-loadable today (and vice versa). The full Map
    Symbology Dialog editor is deferred to Slice **BI.3**.

    Cross-slice: Slice BI Phase 8.13.6 (see GUI_IMPLEMENTATION_PLAN.md
    §J.2). Sub-phase 8.13.6.2 — stub.