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

Slice BR Phase 6.8.2 — engine-backed control-rule validator. More...

#include "controls/controlruleprovider.h"
#include <QObject>
#include <QPointer>
#include <QString>
#include <QTimer>
Include dependency graph for rulevalidator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::controls::RuleValidator
 
struct  openswmmvis::controls::RuleValidator::Result
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::controls
 

Detailed Description

Slice BR Phase 6.8.2 — engine-backed control-rule validator.

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

Wraps engine gap BR-02 (swmm_control_validate_rule) — the production parser runs against the live engine's name tables (NODE / LINK / CURVE / TIMESERIES refs) without mutating engine state. Validator calls are debounced 250 ms per editor on the GUI thread (the sandbox call is microseconds for a typical 2-KB rule body).

Result is a small POD that the dialog / list-model pick up via ControlRuleProvider::setValidation.