![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Two-string carrier for any external file path that appears in a SWMM .inp file.
More...
#include <FilePathPair.hpp>
Public Member Functions | |
| FilePathPair ()=default | |
| FilePathPair (const FilePathPair &)=default | |
| FilePathPair (FilePathPair &&) noexcept=default | |
| FilePathPair & | operator= (const FilePathPair &)=default |
| FilePathPair & | operator= (FilePathPair &&) noexcept=default |
| FilePathPair (const std::string &s) | |
| FilePathPair (std::string &&s) noexcept | |
| FilePathPair (const char *s) | |
| FilePathPair & | operator= (const std::string &s) |
| FilePathPair & | operator= (std::string &&s) noexcept |
| FilePathPair & | operator= (const char *s) |
| operator const std::string & () const noexcept | |
| bool | empty () const noexcept |
| std::size_t | size () const noexcept |
| const char * | c_str () const noexcept |
| const std::string & | str () const noexcept |
Public Attributes | |
| std::string | absolute |
| std::string | original |
Friends | |
| bool | operator== (const FilePathPair &a, const FilePathPair &b) |
| bool | operator!= (const FilePathPair &a, const FilePathPair &b) |
| bool | operator== (const FilePathPair &a, const std::string &s) |
| bool | operator== (const std::string &s, const FilePathPair &a) |
| bool | operator!= (const FilePathPair &a, const std::string &s) |
| bool | operator!= (const std::string &s, const FilePathPair &a) |
| bool | operator== (const FilePathPair &a, const char *s) |
| bool | operator== (const char *s, const FilePathPair &a) |
| bool | operator!= (const FilePathPair &a, const char *s) |
| bool | operator!= (const char *s, const FilePathPair &a) |
Two-string carrier for any external file path that appears in a SWMM .inp file.
Each slot carries:
absolute: resolved absolute path, ready for fopen(). Filled by PostParseResolver after read; empty for programmatic models until a path-set call runs.original: verbatim token as it appeared in the source .inp file (relative or absolute, with whichever separators the author used). Empty for models that were not loaded from an .inp.Slice IO-2 keeps every existing caller working through an implicit std::string surface that targets original. Slice IO-3 wires PostParseResolver to populate absolute; Slice IO-4 wires the writer to rebase original against the destination directory.
|
default |
|
default |
|
defaultnoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
inline |
|
default |
|
inline |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
| std::string openswmm::FilePathPair::absolute |
| std::string openswmm::FilePathPair::original |