![]() |
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 | size () const noexcept |
| Number of data points. | |
| bool | empty () const noexcept |
| True if the table has at least one data point. | |
Public Attributes | |
| std::string | id |
| Table identifier (from input file) | |
| TableType | type |
| Table type (TIMESERIES, CURVE_*, etc.) | |
| std::vector< double > | x |
| Independent variable (time, depth, etc.) | |
| std::vector< double > | y |
| Dependent variable (flow, volume, etc.) | |
| TableCursor | cursor |
| Bidirectional lookup cursor. | |
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.
|
inlinenoexcept |
True if the table has at least one data point.
|
inlinenoexcept |
Number of data points.
| TableCursor openswmm::Table::cursor |
Bidirectional lookup cursor.
| std::string openswmm::Table::id |
Table identifier (from input file)
| std::vector<double> openswmm::Table::x |
Independent variable (time, depth, etc.)
| std::vector<double> openswmm::Table::y |
Dependent variable (flow, volume, etc.)