15 #ifndef RANGEITERATOR_H
16 #define RANGEITERATOR_H
18 #include "pandatoolbase.h"
19 #include "rangeDescription.h"
34 INLINE
bool eof()
const;
38 RangeDescription::RangeList::const_iterator _it;
42 Codes _codes_generated;
45 #include "rangeIterator.I"
Walks through all the Unicode characters described by a RangeDescription class.
RangeIterator(const RangeDescription &desc)
Constructs an iterator to walk through the codes on the descriptor.
int get_code() const
Returns the current Unicode value represented by the iterator, or -1 if the iterator has reached the ...
bool next()
Advances the iterator to the next code.
bool eof() const
Returns true if all the code have been retrieved, false otherwise.
This describes a sparse range of Unicode character codes for conversion that may be specified on the ...