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

Plain-data types shared by every external-file format parser. More...

#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for FormatTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::gpkg::formats::TimeseriesRow
 One row of a timeseries (SWMM-native text format). More...
 
struct  openswmm::gpkg::formats::RaingageRow
 One row of a raingage data file ("Standard" SWMM columnar). More...
 
struct  openswmm::gpkg::formats::ClimateRow
 One row of a climate file (user CSV form). More...
 
struct  openswmm::gpkg::formats::RoutingInterfaceRow
 One per-object record in a routing interface file. More...
 
struct  openswmm::gpkg::formats::RoutingInterfaceMetadata
 Header / metadata captured at the top of a routing interface file. More...
 
struct  openswmm::gpkg::formats::HotstartHeader
 HSF header / counts (matches legacy hotstart.c layout). More...
 
struct  openswmm::gpkg::formats::HotstartSubcatchState
 Per-subcatchment routing state snapshot (HSF v3+). More...
 
struct  openswmm::gpkg::formats::HotstartNodeState
 Per-node routing state snapshot. More...
 
struct  openswmm::gpkg::formats::HotstartLinkState
 Per-link routing state snapshot. More...
 
struct  openswmm::gpkg::formats::HotstartSnapshot
 Top-level snapshot — header plus per-object vectors. More...
 
struct  openswmm::gpkg::formats::FormatResult
 Lightweight outcome for format parse / materialise calls. More...
 

Namespaces

namespace  openswmm
 
namespace  openswmm::gpkg
 
namespace  openswmm::gpkg::formats
 

Functions

FormatResult openswmm::gpkg::formats::ok ()
 
FormatResult openswmm::gpkg::formats::fail (std::string message)
 

Detailed Description

Plain-data types shared by every external-file format parser.

Slice IO-6. Each format parser converts bytes-on-disk into the row types declared here (the same shape the GeoPackage Part D tables persist). Each materialiser does the inverse: rows out to legacy-format bytes.

These types stay decoupled from SimulationContext so format tests can exercise the round trip without instantiating the engine.

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