OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::RDIIDecayData Struct Reference

Exponential IA-decay authoring rows keyed by group and response. More...

#include <InflowData.hpp>

Collaboration diagram for openswmm::RDIIDecayData:

Public Member Functions

int count () const
 Count rows in the primary ordered column.
 
void add (const RDIIDecayEntry &e)
 Append a copied authoring row.
 

Public Attributes

std::vector< RDIIDecayEntry > entries
 

Detailed Description

Exponential IA-decay authoring rows keyed by group and response.

Owns its strings and vectors; references/iterators into columns may be invalidated by append/erase. Mutating this container does not synchronize engine solver state.

Member Function Documentation

◆ add()

void openswmm::RDIIDecayData::add ( const RDIIDecayEntry & e)
inline

Append a copied authoring row.

Low-level authoring storage only: no lifecycle, name/reference, numeric or duplicate validation and no solver-cache rebuild. Caller keeps parallel columns aligned, serializes access and keeps row count representable as int. Allocation exceptions can leave a partially appended row; there is no rollback.

Parameters
[in]eCopied complete decay row in the RDIIDecayEntry input-unit convention.
Here is the caller graph for this function:

◆ count()

int openswmm::RDIIDecayData::count ( ) const
inline

Count rows in the primary ordered column.

Returns
Primary row count converted to int; no alignment verification of the other columns.
Here is the caller graph for this function:

Member Data Documentation

◆ entries

std::vector<RDIIDecayEntry> openswmm::RDIIDecayData::entries

The documentation for this struct was generated from the following file: