edbee - Qt Editor Library
|
a rangeset line iterator. For iterating over ALL distinct lines used in a rangeset. More...
#include <rangesetlineiterator.h>
Public Member Functions | |
RangeSetLineIterator (TextRangeSet *rangeSet) | |
Constructs the rangeset line iterator. More... | |
bool | hasNext () const |
Checks if there's a next line number available. More... | |
int | next () |
returns the next line number More... | |
a rangeset line iterator. For iterating over ALL distinct lines used in a rangeset.
Usage sample:
edbee::RangeSetLineIterator::RangeSetLineIterator | ( | TextRangeSet * | rangeSet | ) |
Constructs the rangeset line iterator.
bool edbee::RangeSetLineIterator::hasNext | ( | ) | const |
Checks if there's a next line number available.
int edbee::RangeSetLineIterator::next | ( | ) |
returns the next line number