ICU 64.2
64.2
|
FieldPositionIterator returns the field ids and their start/limit positions generated by a call to Format::format. More...
#include <fpositer.h>
Public Member Functions | |
~FieldPositionIterator () | |
Destructor. More... | |
FieldPositionIterator (void) | |
Constructs a new, empty iterator. More... | |
FieldPositionIterator (const FieldPositionIterator &) | |
Copy constructor. More... | |
UBool | operator== (const FieldPositionIterator &) const |
Return true if another object is semantically equal to this one. More... | |
UBool | operator!= (const FieldPositionIterator &rhs) const |
Returns the complement of the result of operator==. More... | |
UBool | next (FieldPosition &fp) |
If the current position is valid, updates the FieldPosition values, advances the iterator, and returns TRUE, otherwise returns FALSE. More... | |
Public Member Functions inherited from icu::UObject | |
virtual | ~UObject () |
Destructor. More... | |
virtual UClassID | getDynamicClassID () const |
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. More... | |
Friends | |
class | FieldPositionIteratorHandler |
FieldPositionIterator returns the field ids and their start/limit positions generated by a call to Format::format.
See Format, NumberFormat, DecimalFormat.
Definition at line 55 of file fpositer.h.
icu::FieldPositionIterator::~FieldPositionIterator | ( | ) |
Destructor.
icu::FieldPositionIterator::FieldPositionIterator | ( | void | ) |
Constructs a new, empty iterator.
icu::FieldPositionIterator::FieldPositionIterator | ( | const FieldPositionIterator & | ) |
Copy constructor.
If the copy failed for some reason, the new iterator will be empty.
UBool icu::FieldPositionIterator::next | ( | FieldPosition & | fp | ) |
If the current position is valid, updates the FieldPosition values, advances the iterator, and returns TRUE, otherwise returns FALSE.
|
inline |
Returns the complement of the result of operator==.
rhs | The FieldPositionIterator to be compared for inequality |
Definition at line 92 of file fpositer.h.
References icu::operator==(), and U_NAMESPACE_END.
UBool icu::FieldPositionIterator::operator== | ( | const FieldPositionIterator & | ) | const |
Return true if another object is semantically equal to this one.
Return true if this FieldPositionIterator is at the same position in an equal array of run values.