186 RangeIterator
xrange(
int start,
int stop,
int step = 1);
210 RangeIterator
xrange(
int stop);
reset()
Reset the iterator instance to its initial state (start, stop, and step).
copy()
Creates a copy of the RangeIterator object, iterating the same object as the original and in the same...
bool next()
This method returns True while there are more numbers to iterate and False when the range has been co...
This class defines a range-like iterator to be used to iterate numerical sequences.
Definition: QC_RangeIterator.dox.h:29
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not ...
RangeIterator xrange(int start, int stop, int step=1)
Returns a RangeIterator containing an arithmetic progression of integers.
constructor(int start, int stop, int step=1)
creates the numerical sequence iterator with the initial arguments
any getValue()
returns the current value or throws an INVALID-ITERATOR exception if the iterator is invalid ...
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10