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

Canonical .rxn text from engine state (E-C3). More...

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

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

std::string openswmm::transport::serializeReactionSystem (const SimulationContext &ctx)
 

Detailed Description

Canonical .rxn text from engine state (E-C3).

The round-trip IS the spec (D-RC6): serialize -> apply_text -> serialize must be byte-identical, which is the sync contract the GUI text tab builds on. Numbers print in shortest-round-trip form; expressions emit verbatim (unquoted — E-D1 made commas re-parseable).

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