diff modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/scriptset.h @ 11038:20a8447c71c6

8207159: Update ICU to version 62.1 Reviewed-by: mbilla, kcr, ghb
author arajkumar
date Fri, 24 Aug 2018 15:06:40 +0530
parents fee4ef5c87df
children
line wrap: on
line diff
--- a/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/scriptset.h	Thu Aug 23 04:06:04 2018 -0700
+++ b/modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/i18n/scriptset.h	Fri Aug 24 15:06:40 2018 +0530
@@ -1,3 +1,5 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 **********************************************************************
 *   Copyright (C) 2013, International Business Machines
@@ -38,6 +40,7 @@
     ~ScriptSet();
 
     UBool operator == (const ScriptSet &other) const;
+    UBool operator != (const ScriptSet &other) const {return !(*this == other);};
     ScriptSet & operator = (const ScriptSet &other);
 
     UBool      test(UScriptCode script, UErrorCode &status) const;
@@ -55,9 +58,14 @@
     int32_t hashCode() const;
     int32_t nextSetBit(int32_t script) const;
 
+    UBool isEmpty() const;
+
     UnicodeString &displayScripts(UnicodeString &dest) const; // append script names to dest string.
     ScriptSet & parseScripts(const UnicodeString &scriptsString, UErrorCode &status);  // Replaces ScriptSet contents.
 
+    // Wraps around UScript::getScriptExtensions() and adds the corresponding scripts to this instance.
+    void setScriptExtensions(UChar32 codePoint, UErrorCode& status);
+
   private:
     uint32_t  bits[6];
 };