![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Outcome of computing target relative to anchor_dir.
More...
#include <PathResolver.hpp>
Public Attributes | |
| std::string | path |
| PathClass | classification = PathClass::Invalid |
| int | up_levels = 0 |
| std::string | warning |
Outcome of computing target relative to anchor_dir.
path is always forward-slash-separated, has no trailing slash, and contains no redundant ./ segments. For Relative, up_levels counts the leading .. segments. For the absolute variants, path is the platform-canonical absolute form (forward-slash separated for .inp portability).
warning is non-empty whenever classification != Relative, carrying a short human-readable explanation for the GUI to surface to the user.
| PathClass openswmm::io::RelativeResult::classification = PathClass::Invalid |
| std::string openswmm::io::RelativeResult::path |
| int openswmm::io::RelativeResult::up_levels = 0 |
| std::string openswmm::io::RelativeResult::warning |