One plottable result: a fixed attribute OR a species by name.
More...
#include <resultdescriptor.h>
|
| bool | isSpecies () const noexcept |
| |
| bool | isValid () const noexcept |
| |
| QString | label () const |
| | Picker label: labelFor(attr) for a fixed attribute; the species display label (friendly text for the reserved pair, the bare name otherwise) for a species.
|
| |
| QString | unitLabel (UnitSystem u, const QString &concentrationUnit=QStringLiteral("mg/L")) const |
| | Unit string. Fixed attributes use unitsFor(attr, u); species use the reserved pair's fixed units (h / °C) or concentrationUnit for an ordinary pollutant.
|
| |
| bool | operator== (const ResultDescriptor &o) const noexcept |
| |
| bool | operator!= (const ResultDescriptor &o) const noexcept |
| |
One plottable result: a fixed attribute OR a species by name.
◆ forAttribute()
◆ forSpecies()
| static ResultDescriptor openswmmvis::plot::ResultDescriptor::forSpecies |
( |
const QString & |
name | ) |
|
|
inlinestatic |
◆ isSpecies()
| bool openswmmvis::plot::ResultDescriptor::isSpecies |
( |
| ) |
const |
|
inlinenoexcept |
◆ isValid()
| bool openswmmvis::plot::ResultDescriptor::isValid |
( |
| ) |
const |
|
inlinenoexcept |
◆ label()
| QString openswmmvis::plot::ResultDescriptor::label |
( |
| ) |
const |
Picker label: labelFor(attr) for a fixed attribute; the species display label (friendly text for the reserved pair, the bare name otherwise) for a species.
◆ operator!=()
| bool openswmmvis::plot::ResultDescriptor::operator!= |
( |
const ResultDescriptor & |
o | ) |
const |
|
inlinenoexcept |
◆ operator==()
| bool openswmmvis::plot::ResultDescriptor::operator== |
( |
const ResultDescriptor & |
o | ) |
const |
|
inlinenoexcept |
◆ unitLabel()
| QString openswmmvis::plot::ResultDescriptor::unitLabel |
( |
UnitSystem |
u, |
|
|
const QString & |
concentrationUnit = QStringLiteral("mg/L") |
|
) |
| const |
Unit string. Fixed attributes use unitsFor(attr, u); species use the reserved pair's fixed units (h / °C) or concentrationUnit for an ordinary pollutant.
◆ attr
Fixed attribute; Unknown when this descriptor is a species.
◆ species
| QString openswmmvis::plot::ResultDescriptor::species |
Species name (TSS, __WATER_AGE__, …) when attr == Unknown; empty for a fixed attribute. The NAME is the identity (D-G1).
The documentation for this struct was generated from the following files: