OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
TableData.cpp File Reference

File-backed I/O, cache management, validation, and multicolumn lookup for Table/TableData. More...

#include "TableData.hpp"
#include "../core/DateTime.hpp"
#include "../core/ErrorCodes.hpp"
#include "../core/charconv_compat.hpp"
#include <algorithm>
#include <charconv>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <string>
Include dependency graph for TableData.cpp:

Namespaces

namespace  openswmm
 

Functions

TableValidation openswmm::validate_table (Table &tbl)
 
bool openswmm::table_open_file (Table &tbl, std::size_t boundary_rows)
 
std::size_t openswmm::table_load_cache (Table &tbl, std::size_t start_row)
 
double openswmm::table_lookup_column (Table &tbl, int col_idx, double x_query)
 
double openswmm::table_step_column (Table &tbl, int col_idx, double x_query)
 

Detailed Description

File-backed I/O, cache management, validation, and multicolumn lookup for Table/TableData.

All value data uses flat row-major layout: y[row * num_cols + col]. This applies to in-memory storage, the sliding cache, and boundary buffers.

See also
TableData.hpp
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License