![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
[USER_FLAG_VALUES] section handler (R28). More...
#include <vector>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::input |
Functions | |
| void | openswmm::input::handle_user_flag_values (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse [USER_FLAG_VALUES] into ctx.user_flags (per-object values). | |
[USER_FLAG_VALUES] section handler (R28).
Parses per-object flag value assignments. Each row binds a (ObjectType, ObjectName, FlagName) triple to a typed value. The flag must have been defined in [USER_FLAGS] first; if it is not, the row is stored anyway (with the raw string value as a STRING) and a warning is emitted.
Row format: