15 #include "rangeIterator.h"
29 _it = _desc._range_list.begin();
30 if (_it == _desc._range_list.end()) {
33 _code = (*_it)._from_code;
34 _codes_generated.insert(_code);
48 if (_it == _desc._range_list.end()) {
52 if (_code < (*_it)._to_code) {
57 if (_it == _desc._range_list.end()) {
62 _code = (*_it)._from_code;
67 }
while (!_codes_generated.insert(_code).second);
RangeIterator(const RangeDescription &desc)
Constructs an iterator to walk through the codes on the descriptor.
bool next()
Advances the iterator to the next code.
This describes a sparse range of Unicode character codes for conversion that may be specified on the ...