|
ICU 73.2
73.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. | |
| FieldPositionIterator (void) | |
| Constructs a new, empty iterator. | |
| FieldPositionIterator (const FieldPositionIterator &) | |
| Copy constructor. | |
| bool | operator== (const FieldPositionIterator &) const |
| Return true if another object is semantically equal to this one. | |
| bool | operator!= (const FieldPositionIterator &rhs) const |
| Returns the complement of the result of operator==. | |
| UBool | next (FieldPosition &fp) |
| If the current position is valid, updates the FieldPosition values, advances the iterator, and returns true, otherwise returns false. | |
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 58 of file fpositer.h.
Destructor.
Constructs a new, empty iterator.
Copy constructor.
If the copy failed for some reason, the new iterator will be empty.
If the current position is valid, updates the FieldPosition values, advances the iterator, and returns true, otherwise returns false.
| bool icu::FieldPositionIterator::operator!= | ( | const FieldPositionIterator & | rhs | ) | const [inline] |
Returns the complement of the result of operator==.
| rhs | The FieldPositionIterator to be compared for inequality |
Definition at line 95 of file fpositer.h.
References icu::operator==().
| bool 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.
1.7.6.1