![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
User-defined model flags (InfoWorks ICM-style, two-section design). More...
#include <string>#include <unordered_map>#include <vector>#include <variant>#include <optional>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | openswmm::UserFlagDef |
| Schema entry for a single user-defined flag. More... | |
| struct | openswmm::UserFlagAssignment |
| A (object_type, object_name, flag_name) → value assignment. More... | |
| class | openswmm::UserFlags |
| Stores the full user-flags data: schema definitions + per-object values. More... | |
Namespaces | |
| namespace | openswmm |
Typedefs | |
| using | openswmm::UserFlagValue = std::variant< bool, int, double, std::string > |
| A concrete flag value assigned to a specific object. | |
Enumerations | |
| enum class | openswmm::UserFlagType : int { openswmm::UserFlagType::BOOLEAN = 0 , openswmm::UserFlagType::INTEGER = 1 , openswmm::UserFlagType::REAL = 2 , openswmm::UserFlagType::STRING = 3 } |
| Value type for a user flag. More... | |
User-defined model flags (InfoWorks ICM-style, two-section design).
User flags are a two-section feature:
Input file syntax: