
Iterator over ranges. More...
#include <val-set.hh>
Constructors and initialization | |
| Ranges (const ValSet &vs) | |
| Initialize. More... | |
Iteration control | |
| bool | operator() (void) const |
| Test whether iterator is still at a range or done. More... | |
| void | operator++ (void) |
| Move iterator to next range (if possible) More... | |
Range access | |
| int | min (void) const |
| Return smallest value of range. More... | |
| int | max (void) const |
| Return largest value of range. More... | |
| unsigned int | width (void) const |
| Return width of range (distance between minimum and maximum) More... | |
Iterator over ranges.
Definition at line 82 of file val-set.hh.
|
inline |
Initialize.
Definition at line 137 of file val-set.hpp.
|
inline |
Test whether iterator is still at a range or done.
Definition at line 141 of file val-set.hpp.
|
inline |
Move iterator to next range (if possible)
Definition at line 146 of file val-set.hpp.
|
inline |
Return smallest value of range.
Definition at line 151 of file val-set.hpp.
|
inline |
Return largest value of range.
Definition at line 155 of file val-set.hpp.
|
inline |
Return width of range (distance between minimum and maximum)
Definition at line 160 of file val-set.hpp.