Range iterator for integer-precision scale integer views
More...
#include <scale.hpp>
|
| | ViewRanges (void) |
| | Default constructor.
|
| |
| | ViewRanges (const IntScaleView &x) |
| | Initialize with ranges for view x.
|
| |
| void | init (const IntScaleView &x) |
| | Initialize with ranges for view x.
|
| |
|
| | ScaleUp (void) |
| | Default constructor.
|
| |
| | ScaleUp (ViewRanges< IntView > &i, int a) |
| | Initialize with ranges from i and scale factor a.
|
| |
| void | init (ViewRanges< IntView > &i, int a) |
| | Initialize with ranges from i and scale factor a.
|
| |
| bool | operator() (void) const |
| | Test whether iterator is still at a range or done.
|
| |
| void | operator++ (void) |
| | Move iterator to next range (if possible)
|
| |
| int | min (void) const |
| | Return smallest value of range.
|
| |
| int | max (void) const |
| | Return largest value of range.
|
| |
| unsigned int | width (void) const |
| | Return width of range (distance between minimum and maximum)
|
| |
| ViewRanges< IntView > | i |
| | Iterator to be scaled.
|
| |
| int | a |
| | Scale-factor.
|
| |
| int | cur |
| | Current value of range.
|
| |
| int | end |
| | Last value of scaled range of i.
|
| |
Range iterator for integer-precision scale integer views
Definition at line 253 of file scale.hpp.
◆ ViewRanges() [1/2]
Default constructor.
Definition at line 268 of file scale.hpp.
◆ ViewRanges() [2/2]
Initialize with ranges for view x.
Definition at line 270 of file scale.hpp.
◆ init()
Initialize with ranges for view x.
Definition at line 276 of file scale.hpp.
The documentation for this class was generated from the following file: