icu::Locale::Iterator Class Reference

A Locale iterator interface similar to a Java Iterator<Locale>. More...

#include <locid.h>

Inheritance diagram for icu::Locale::Iterator:
icu::Locale::ConvertingIterator< Iter, Conv > icu::Locale::RangeIterator< Iter >

Public Member Functions

virtual ~Iterator ()
virtual UBool hasNext () const =0
virtual const Localenext ()=0

Detailed Description

A Locale iterator interface similar to a Java Iterator<Locale>.

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

Definition at line 1003 of file locid.h.


Constructor & Destructor Documentation

virtual icu::Locale::Iterator::~Iterator (  )  [virtual]
Draft:
This API may be changed in the future versions and was introduced in ICU 65

Member Function Documentation

virtual UBool icu::Locale::Iterator::hasNext (  )  const [pure virtual]
Returns:
TRUE if next() can be called again.
Draft:
This API may be changed in the future versions and was introduced in ICU 65

Implemented in icu::Locale::RangeIterator< Iter >, and icu::Locale::ConvertingIterator< Iter, Conv >.

virtual const Locale& icu::Locale::Iterator::next (  )  [pure virtual]
Returns:
the next locale.
Draft:
This API may be changed in the future versions and was introduced in ICU 65

Implemented in icu::Locale::RangeIterator< Iter >, and icu::Locale::ConvertingIterator< Iter, Conv >.


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

Generated on 8 Feb 2022 for ICU 65.1 by  doxygen 1.6.1