Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::NumericRange Struct Reference

Owning inclusive bounds and user increment; validated together with a numeric value. More...

#include <numeric.hpp>

Public Member Functions

bool operator== (const NumericRange &other) const =default

Public Attributes

double minimum {}
 Inclusive finite lower bound, default zero.
double maximum {100}
 Inclusive finite upper bound with a finite positive span.
double step {1}
 Positive representable user increment; external values need not lie on its grid.

Detailed Description

Owning inclusive bounds and user increment; validated together with a numeric value.

Member Function Documentation

◆ operator==()

bool portals::NumericRange::operator== ( const NumericRange & other) const
default
Parameters
otherComplete configuration to compare.
Returns
True when all numeric fields are equal.

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