Lines Matching refs:BreakIterator
16 * 07/09/97 jfitz Renamed BreakIterator and interface synced with JDK
37 * Allow the declaration of APIs with pointers to BreakIterator
40 class BreakIterator;
58 * The BreakIterator class implements methods for finding the location
59 * of boundaries in text. BreakIterator is an abstract base class.
60 * Instances of BreakIterator maintain a current position and scan over
102 class U_COMMON_API BreakIterator : public UObject {
108 virtual ~BreakIterator();
113 * BreakIterator. Objects of different subclasses are considered
116 * Return true if this BreakIterator is at the same position in the
118 * BreakIterator, as the argument. Text is considered the same if
123 virtual UBool operator==(const BreakIterator&) const = 0;
127 * @param rhs The BreakIterator to be compared for inequality
131 UBool operator!=(const BreakIterator& rhs) const { return !operator==(rhs); }
138 virtual BreakIterator* clone(void) const = 0;
174 * The BreakIterator will retain a reference to the supplied string.
175 * The caller must not modify or delete the text while the BreakIterator
262 * the value BreakIterator.DONE
272 * the value BreakIterator.DONE
346 * Create BreakIterator for word-breaks using the given locale.
347 * Returns an instance of a BreakIterator implementing word breaks.
351 * @return A BreakIterator for word-breaks. The UErrorCode& status
364 static BreakIterator* U_EXPORT2
368 * Create BreakIterator for line-breaks using specified locale.
369 * Returns an instance of a BreakIterator implementing line breaks. Line
375 * @return A BreakIterator for line-breaks. The UErrorCode& status
388 static BreakIterator* U_EXPORT2
392 * Create BreakIterator for character-breaks using specified locale
393 * Returns an instance of a BreakIterator implementing character breaks.
397 * @return A BreakIterator for character-breaks. The UErrorCode& status
410 static BreakIterator* U_EXPORT2
414 * Create BreakIterator for sentence-breaks using specified locale
415 * Returns an instance of a BreakIterator implementing sentence breaks.
418 * @return A BreakIterator for sentence-breaks. The UErrorCode& status
431 static BreakIterator* U_EXPORT2
435 * Create BreakIterator for title-casing breaks using the specified locale
436 * Returns an instance of a BreakIterator implementing title breaks.
443 * @return A BreakIterator for title-breaks. The UErrorCode& status
456 static BreakIterator* U_EXPORT2
513 virtual BreakIterator * createBufferClone(void *stackBuffer,
520 * Determine whether the BreakIterator was created in user memory by
523 * @deprecated ICU 52. Always delete the BreakIterator.
537 * BreakIterator::createXXXInstance to avoid undefined behavior.
538 * @param toAdopt the BreakIterator instance to be adopted
545 static URegistryKey U_EXPORT2 registerInstance(BreakIterator* toAdopt,
551 * Unregister a previously-registered BreakIterator using the key returned from the
553 * The BreakIterator corresponding to the key will be deleted.
556 * BreakIterator::createXXXInstance to avoid undefined behavior.
615 virtual BreakIterator &refreshInputText(UText *input, UErrorCode &status) = 0;
618 static BreakIterator* buildInstance(const Locale& loc, const char *type, UErrorCode& status);
619 static BreakIterator* createInstance(const Locale& loc, int32_t kind, UErrorCode& status);
620 static BreakIterator* makeInstance(const Locale& loc, int32_t kind, UErrorCode& status);
629 BreakIterator();
631 BreakIterator (const BreakIterator &other);
634 BreakIterator (const Locale& valid, const Locale &actual);
636 BreakIterator &operator = (const BreakIterator &other);
648 inline UBool BreakIterator::isBufferClone()