ICU 65.1  65.1
Public Member Functions
icu::Locale::RangeIterator< Iter > Class Template Reference

A generic Locale iterator implementation over Locale input iterators. More...

#include <locid.h>

Inheritance diagram for icu::Locale::RangeIterator< Iter >:
icu::Locale::Iterator icu::UMemory

Public Member Functions

 RangeIterator (Iter begin, Iter end)
 Constructs an iterator from a begin/end range. More...
 
UBool hasNext () const override
 
const Localenext () override
 
- Public Member Functions inherited from icu::Locale::Iterator
virtual ~Iterator ()
 

Detailed Description

template<typename Iter>
class icu::Locale::RangeIterator< Iter >

A generic Locale iterator implementation over Locale input iterators.

Draft:
This API may be changed in the future versions and was introduced in ICU 65

Definition at line 1026 of file locid.h.

Constructor & Destructor Documentation

◆ RangeIterator()

template<typename Iter >
icu::Locale::RangeIterator< Iter >::RangeIterator ( Iter  begin,
Iter  end 
)
inline

Constructs an iterator from a begin/end range.

Each of the iterator parameter values must be an input iterator whose value is convertible to const Locale &.

Parameters
beginStart of range.
endExclusive end of range.
Draft:
This API may be changed in the future versions and was introduced in ICU 65

Definition at line 1037 of file locid.h.

Member Function Documentation

◆ hasNext()

template<typename Iter >
UBool icu::Locale::RangeIterator< Iter >::hasNext ( ) const
inlineoverridevirtual
Returns
TRUE if next() can be called again.
Draft:
This API may be changed in the future versions and was introduced in ICU 65

Implements icu::Locale::Iterator.

Definition at line 1043 of file locid.h.

◆ next()

template<typename Iter >
const Locale& icu::Locale::RangeIterator< Iter >::next ( void  )
inlineoverridevirtual
Returns
the next locale.
Draft:
This API may be changed in the future versions and was introduced in ICU 65

Implements icu::Locale::Iterator.

Definition at line 1049 of file locid.h.


The documentation for this class was generated from the following file: