Walks through all the Unicode characters described by a RangeDescription class. More...
#include "rangeIterator.h"
Public Member Functions | |
RangeIterator (const RangeDescription &desc) | |
Constructs an iterator to walk through the codes on the descriptor. More... | |
bool | eof () const |
Returns true if all the code have been retrieved, false otherwise. More... | |
int | get_code () const |
Returns the current Unicode value represented by the iterator, or -1 if the iterator has reached the end. More... | |
bool | next () |
Advances the iterator to the next code. More... | |
Walks through all the Unicode characters described by a RangeDescription class.
Definition at line 26 of file rangeIterator.h.
RangeIterator::RangeIterator | ( | const RangeDescription & | desc | ) |
Constructs an iterator to walk through the codes on the descriptor.
It is important not to modify the RangeDescription object during the lifetime of the iterator.
Definition at line 22 of file rangeIterator.cxx.
|
inline |
Returns true if all the code have been retrieved, false otherwise.
Definition at line 27 of file rangeIterator.I.
|
inline |
Returns the current Unicode value represented by the iterator, or -1 if the iterator has reached the end.
Definition at line 19 of file rangeIterator.I.
bool RangeIterator::next | ( | ) |
Advances the iterator to the next code.
Returns true if there is a next code, or false if there are no mode codes.
Definition at line 39 of file rangeIterator.cxx.