Range iterator for integer-precision scale integer views More...
#include <scale.hpp>
Constructors and initialization | |
ViewRanges (void) | |
Default constructor. More... | |
ViewRanges (const IntScaleView &x) | |
Initialize with ranges for view x. More... | |
void | init (const IntScaleView &x) |
Initialize with ranges for view x. More... | |
Additional Inherited Members | |
![]() | |
ScaleUp (void) | |
Default constructor. More... | |
ScaleUp (ViewRanges< IntView > &i, int a) | |
Initialize with ranges from i and scale factor a. More... | |
void | init (ViewRanges< IntView > &i, int a) |
Initialize with ranges from i and scale factor a. More... | |
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... | |
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... | |
![]() | |
ViewRanges< IntView > | i |
Iterator to be scaled. More... | |
int | a |
Scale-factor. More... | |
int | cur |
Current value of range. More... | |
int | end |
Last value of scaled range of i. More... | |
Range iterator for integer-precision scale integer views
|
inline |
|
inline |
|
inline |