#include <QualityData.hpp>
|
| int | count () const |
| | Count land-use rows from the sweep interval column.
|
| |
| void | resize (int n) |
| | Replace all land-use parameter/comment rows with defaults.
|
| |
| void | shrink_to_fit () |
| | Request capacity reduction for the owned parameter columns.
|
| |
|
| std::vector< double > | sweep_interval |
| | Days between sweeps.
|
| |
| std::vector< double > | sweep_removal |
| | Max removal fraction (0-100)
|
| |
| std::vector< double > | last_swept |
| | Days since last swept.
|
| |
| std::vector< std::string > | comments |
| | Object comment from the INP file (';'-prefixed lines immediately above this landuse's data row), joined by literal "\\n". Empty string means no comment.
|
| |
◆ count()
| int openswmm::LanduseData::count |
( |
| ) |
const |
|
inline |
Count land-use rows from the sweep interval column.
- Returns
- sweep_interval.size() converted to int; no parallel-column alignment check.
◆ resize()
| void openswmm::LanduseData::resize |
( |
int | n | ) |
|
|
inline |
Replace all land-use parameter/comment rows with defaults.
Sets interval/removal/last-swept values to zero and comments empty; caller maps land-use names separately. Independent assignments can fail partway.
- Parameters
-
| [in] | n | Nonnegative land-use count; no guard before conversion to size_t. |
◆ shrink_to_fit()
| void openswmm::LanduseData::shrink_to_fit |
( |
| ) |
|
|
inline |
Request capacity reduction for the owned parameter columns.
Preserves sizes/values. Standard vector requests need not reduce capacity and may allocate/throw; any reallocation invalidates borrowed elements.
◆ comments
| std::vector<std::string> openswmm::LanduseData::comments |
Object comment from the INP file (';'-prefixed lines immediately above this landuse's data row), joined by literal "\\n". Empty string means no comment.
◆ last_swept
| std::vector<double> openswmm::LanduseData::last_swept |
◆ sweep_interval
| std::vector<double> openswmm::LanduseData::sweep_interval |
◆ sweep_removal
| std::vector<double> openswmm::LanduseData::sweep_removal |
Max removal fraction (0-100)
The documentation for this struct was generated from the following file:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/data/QualityData.hpp