ICU 65.1
65.1
|
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. More... | |
UBool | hasNext () const override |
const Locale & | next () override |
Public Member Functions inherited from icu::Locale::Iterator | |
virtual | ~Iterator () |
A generic Locale iterator implementation over Locale input iterators.
Calls the converter to convert each *begin to a const Locale &.
|
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. |
|
inlineoverridevirtual |
Implements icu::Locale::Iterator.
|
inlineoverridevirtual |
Implements icu::Locale::Iterator.
Definition at line 1087 of file locid.h.
References icu::locale_available_init(), U_CALLCONV, ULOC_COUNTRY_CAPACITY, ULOC_FULLNAME_CAPACITY, ULOC_LANG_CAPACITY, and ULOC_SCRIPT_CAPACITY.