Range iterator for offset integer views More...
#include <offset.hpp>
Constructors and initialization | |
ViewRanges (void) | |
Default constructor. | |
ViewRanges (const OffsetView &x) | |
Initialize with ranges for view x. | |
void | init (const OffsetView &x) |
Initialize with ranges for view x. | |
Additional Inherited Members | |
![]() | |
Offset (void) | |
Default constructor. | |
Offset (ViewRanges< IntView > &i, int c) | |
Initialize with ranges from i and offset c. | |
void | init (ViewRanges< IntView > &i, int c) |
Initialize with ranges from i and offset c. | |
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 |
Input range. | |
int | c |
Offset for ranges. | |
Range iterator for offset integer views
Definition at line 284 of file offset.hpp.
|
inline |
Default constructor.
Definition at line 299 of file offset.hpp.
|
inline |
Initialize with ranges for view x.
Definition at line 302 of file offset.hpp.
|
inline |
Initialize with ranges for view x.
Definition at line 308 of file offset.hpp.