![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
A single time series or rating curve. More...
#include <TableData.hpp>
Public Member Functions | |
| std::size_t | num_rows () const noexcept |
| bool | empty () const noexcept |
Public Attributes | |
| std::vector< double > | x |
| Independent variable values. | |
| std::vector< double > | y |
| Dependent values (flat: row-major, num_cols per row) | |
| int | num_cols = 1 |
| Number of value columns. | |
| std::size_t | file_row_start = 0 |
| Row offset in file (cache only) | |
A single time series or rating curve.
Stores parallel x and y arrays plus a bidirectional cursor for efficient sequential lookup. The x values must be monotonically non-decreasing.
Block of rows for file-backed table boundaries/cache.
|
inlinenoexcept |
|
inlinenoexcept |
| std::size_t openswmm::TableBlock::file_row_start = 0 |
Row offset in file (cache only)
| int openswmm::TableBlock::num_cols = 1 |
Number of value columns.
| std::vector<double> openswmm::TableBlock::x |
Independent variable values.
| std::vector<double> openswmm::TableBlock::y |
Dependent values (flat: row-major, num_cols per row)