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
qmlrulelistio.h
Go to the documentation of this file.
1
37#ifndef OPENSWMM_RENDER_QMLRULELISTIO_H
38#define OPENSWMM_RENDER_QMLRULELISTIO_H
39
40#include "render/rulelistio.h" // reuse RuleListIoResult
41
42#include <QString>
43
44namespace OpenSWMM::Render {
45
46class RuleList;
47
48namespace QmlRuleListIO {
49
52[[nodiscard]] RuleListIoResult save(const RuleList *list, const QString &path);
53
56[[nodiscard]] RuleListIoResult load(const QString &path, RuleList *list);
57
58} // namespace QmlRuleListIO
59
60} // namespace OpenSWMM::Render
61
62#endif // OPENSWMM_RENDER_QMLRULELISTIO_H
Ordered owning container for Rules on one layer.
Definition rulelist.h:48
RuleListIoResult load(const QString &path, RuleList *list)
Definition qmlrulelistio.cpp:350
RuleListIoResult save(const RuleList *list, const QString &path)
Definition qmlrulelistio.cpp:175
Definition gisrasterlayer.h:40
int path
Definition pslgminsize.cpp:234
Save / load Rule Lists as .swmm-rule.json files (Slice Z.17).
Outcome of a save / load operation.
Definition rulelistio.h:51