]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/brkiter.h
ICU-57131.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / brkiter.h
index 4aa5e552796090eaebcd7ce7b7d275aa8b3775b4..7296ac96e29d6d11be755e51331e841c8c922ba8 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ********************************************************************************
-*   Copyright (C) 1997-2014, International Business Machines
+*   Copyright (C) 1997-2016, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 ********************************************************************************
 *
@@ -291,7 +291,7 @@ public:
     virtual int32_t next(int32_t n) = 0;
 
    /**
-     * For RuleBasedBreakIterators, return the status tag from the 
+     * For RuleBasedBreakIterators, return the status tag from the
      * break rule that determined the most recently
      * returned break position.
      * <p>
@@ -307,7 +307,7 @@ public:
     virtual int32_t getRuleStatus() const;
 
    /**
-    * For RuleBasedBreakIterators, get the status (tag) values from the break rule(s) 
+    * For RuleBasedBreakIterators, get the status (tag) values from the break rule(s)
     * that determined the most recently returned break position.
     * <p>
     * For break iterator types that do not support rule status,
@@ -623,8 +623,12 @@ protected:
     BreakIterator();
     /** @internal */
     BreakIterator (const BreakIterator &other) : UObject(other) {}
+#ifndef U_HIDE_INTERNAL_API
     /** @internal */
     BreakIterator (const Locale& valid, const Locale& actual);
+#endif  /* U_HIDE_INTERNAL_API */
+    UBool fKeepAll;
+
 private:
 
     /** @internal */
@@ -636,8 +640,14 @@ private:
      * It's provided to make the compiler happy. Do not call.
      */
     BreakIterator& operator=(const BreakIterator&);
+    void setKeepAll(UBool keepAll);
 };
 
+inline void BreakIterator::setKeepAll(UBool keepAll)
+{
+    fKeepAll = keepAll;
+}
+
 #ifndef U_HIDE_DEPRECATED_API
 
 inline UBool BreakIterator::isBufferClone()