A generic Locale iterator implementation over Locale input iterators. More...
#include <locid.h>
Public Member Functions | |
| ConvertingIterator (Iter begin, Iter end, Conv converter) | |
| Constructs an iterator from a begin/end range. | |
| UBool | hasNext () const override |
| const Locale & | next () override |
A generic Locale iterator implementation over Locale input iterators.
Calls the converter to convert each *begin to a const Locale &.
Definition at line 1072 of file locid.h.
| icu::Locale::ConvertingIterator< Iter, Conv >::ConvertingIterator | ( | Iter | begin, | |
| Iter | end, | |||
| Conv | converter | |||
| ) | [inline] |
Constructs an iterator from a begin/end range.
Each of the iterator parameter values must be an input iterator whose value the converter converts to const Locale &.
| begin | Start of range. | |
| end | Exclusive end of range. | |
| converter | Converter from *begin to const Locale & or compatible. |
| UBool icu::Locale::ConvertingIterator< Iter, Conv >::hasNext | ( | ) | const [inline, override, virtual] |
Implements icu::Locale::Iterator.
| const Locale& icu::Locale::ConvertingIterator< Iter, Conv >::next | ( | void | ) | [inline, override, virtual] |
Implements icu::Locale::Iterator.
1.6.1