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

#include <Treatment.hpp>

Collaboration diagram for openswmm::treatment::Token:

Public Attributes

TokenType type = TokenType::NUMBER
 
double value = 0.0
 For NUMBER tokens.
 
TreatVar var = TreatVar::C
 For VARIABLE tokens.
 
int pollut_ref = -1
 Pollutant index for C_POLLUT/R_POLLUT.
 

Member Data Documentation

◆ pollut_ref

int openswmm::treatment::Token::pollut_ref = -1

Pollutant index for C_POLLUT/R_POLLUT.

◆ type

TokenType openswmm::treatment::Token::type = TokenType::NUMBER

◆ value

double openswmm::treatment::Token::value = 0.0

For NUMBER tokens.

◆ var

TreatVar openswmm::treatment::Token::var = TreatVar::C

For VARIABLE tokens.


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