Index: source/common/unicode/uniset.h |
diff --git a/source/common/unicode/uniset.h b/source/common/unicode/uniset.h |
index 237ebf766c365cdb9f0ec052aebb43fbd462d436..0456f2bdb94c43ad40e907e9bdf5a4593cab3b98 100644 |
--- a/source/common/unicode/uniset.h |
+++ b/source/common/unicode/uniset.h |
@@ -1,6 +1,6 @@ |
/* |
*************************************************************************** |
-* Copyright (C) 1999-2014, International Business Machines Corporation |
+* Copyright (C) 1999-2015, International Business Machines Corporation |
* and others. All Rights Reserved. |
*************************************************************************** |
* Date Name Description |
@@ -369,6 +369,28 @@ public: |
*/ |
UnicodeSet(UChar32 start, UChar32 end); |
+#ifndef U_HIDE_INTERNAL_API |
+ /** |
+ * @internal |
+ */ |
+ enum ESerialization { |
+ kSerialized /* result of serialize() */ |
+ }; |
+ |
+ /** |
+ * Constructs a set from the output of serialize(). |
+ * |
+ * @param buffer the 16 bit array |
+ * @param bufferLen the original length returned from serialize() |
+ * @param serialization the value 'kSerialized' |
+ * @param status error code |
+ * |
+ * @internal |
+ */ |
+ UnicodeSet(const uint16_t buffer[], int32_t bufferLen, |
+ ESerialization serialization, UErrorCode &status); |
+#endif /* U_HIDE_INTERNAL_API */ |
+ |
/** |
* Constructs a set from the given pattern. See the class |
* description for the syntax of the pattern language. |