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

DefaultReportPlugin — legacy SWMM-compatible .rpt report writer. More...

#include "DefaultReportPlugin.hpp"
#include "../../../include/openswmm/plugin_sdk/PluginState.hpp"
#include "../../../include/openswmm/plugin_sdk/SimulationSnapshot.hpp"
#include "../core/SimulationContext.hpp"
#include "../core/UnitConversion.hpp"
#include "../core/DateTime.hpp"
#include <cstdio>
#include <ctime>
#include <cmath>
#include <cstring>
Include dependency graph for DefaultReportPlugin.cpp:

Namespaces

namespace  openswmm
 

Macros

#define WRITE(f, s)   std::fprintf(f, "\n %s", s)
 
#define LINE_10   "----------"
 

Detailed Description

DefaultReportPlugin — legacy SWMM-compatible .rpt report writer.

Replicates the report format from EPA SWMM 5.x report.c and statsrpt.c. Reference: src/legacy/engine/report.c, statsrpt.c, text.h for format strings.

See also
Legacy reference: src/legacy/engine/report.c, statsrpt.c
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License

Macro Definition Documentation

◆ LINE_10

#define LINE_10   "----------"

◆ WRITE

#define WRITE (   f,
 
)    std::fprintf(f, "\n %s", s)