
Range iterator for negative part of a range iterator. More...
#include <ranges-negative.hpp>
Protected Attributes | |
| I | i |
| Input iterator. More... | |
Constructors and initialization | |
| Negative (void) | |
| Default constructor. More... | |
| Negative (I &i) | |
| Initialize with ranges from i. More... | |
| void | init (I &i) |
| Initialize with ranges from i. 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... | |
Range iterator for negative part of a range iterator.
If strict is true, zero is excluded.
Definition at line 51 of file ranges-negative.hpp.
|
inline |
Default constructor.
Definition at line 88 of file ranges-negative.hpp.
|
inline |
Initialize with ranges from i.
Definition at line 98 of file ranges-negative.hpp.
|
inline |
Initialize with ranges from i.
Definition at line 92 of file ranges-negative.hpp.
|
inline |
Test whether iterator is still at a range or done.
Definition at line 107 of file ranges-negative.hpp.
|
inline |
Move iterator to next range (if possible)
Definition at line 102 of file ranges-negative.hpp.
|
inline |
Return smallest value of range.
Definition at line 117 of file ranges-negative.hpp.
|
inline |
Return largest value of range.
Definition at line 122 of file ranges-negative.hpp.
|
inline |
Return width of range (distance between minimum and maximum)
Definition at line 131 of file ranges-negative.hpp.
|
protected |
Input iterator.
Definition at line 54 of file ranges-negative.hpp.