OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
UserFlagsHandler.cpp File Reference

[USER_FLAGS] section handler — parses flag schema definitions (R28). More...

Include dependency graph for UserFlagsHandler.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::input
 

Functions

void openswmm::input::handle_user_flags (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse [USER_FLAGS] into ctx.user_flags.
 

Detailed Description

[USER_FLAGS] section handler — parses flag schema definitions (R28).

Each row defines one flag name, its value type, and an optional description. No per-object values are stored here; those come from [USER_FLAG_VALUES].

Row format (whitespace or comma delimited):

Name Type [Description]
INSPECTED BOOLEAN "Has the object been field-inspected?"
PRIORITY INTEGER "Maintenance priority"
ROUGHNESS_ADJ REAL "Site-specific roughness multiplier"
ASSET_ID STRING "External AM system ID"
See also
UserFlags.hpp
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License