* Return true if this FieldPositionIterator is at the same position in an * equal array of run values. * @stable ICU 4.4 */ UBool operator==(const FieldPositionIterator&) const; /** * Returns the complement of the result of operator== * @param rhs The FieldPositionIterator to be compared for inequality * @return the complement of the result of operator== * @stable ICU 4.4 */ UBool operator!=(const FieldPositionIterator& rhs) const { return !operator==(rhs); } /** * If the current position is valid, updates the FieldPosition values, advances the iterator, * and returns TRUE, otherwise returns FALSE. * @stable ICU 4.4 */ UBool next(FieldPosition& fp); private: /** * Sets the data used by the iterator, and resets the position. * Returns U_ILLEGAL_ARGUMENT_ERROR in status if the data is not valid * (length is not a multiple of 3, or start >= limit for any run). */ void setData(UVector32 *adopt, UErrorCode& status); friend class FieldPositionIteratorHandler; UVector32 *data; int32_t pos; }; U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ #endif /* U_SHOW_CPLUSPLUS_API */ #endif // FPOSITER_H