SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::io::RptParser Class Reference

#include <rptparser.h>

Collaboration diagram for openswmmvis::io::RptParser:

Static Public Member Functions

static QVector< RptSectionparse (const QString &path, QString *errorOut=nullptr)
 Parse a .rpt file into ordered sections.
 
static bool hasHighContinuityError (const QVector< RptSection > &sections, double thresholdPct=10.0)
 Quick continuity-error scan — returns true if any "Continuity Error (%)" value exceeds thresholdPct (default 10%).
 

Member Function Documentation

◆ hasHighContinuityError()

bool openswmmvis::io::RptParser::hasHighContinuityError ( const QVector< RptSection > &  sections,
double  thresholdPct = 10.0 
)
static

Quick continuity-error scan — returns true if any "Continuity Error (%)" value exceeds thresholdPct (default 10%).

◆ parse()

QVector< RptSection > openswmmvis::io::RptParser::parse ( const QString &  path,
QString *  errorOut = nullptr 
)
static

Parse a .rpt file into ordered sections.

Returns
Empty list on failure; non-empty otherwise.

The documentation for this class was generated from the following files: