| Index: source/i18n/scriptset.h
|
| diff --git a/source/i18n/scriptset.h b/source/i18n/scriptset.h
|
| index 62af5d591d100c89f7b994e0870bf3f11e4bd915..e8de3b9613f9909ca46091d2d00e81e85555c0fa 100644
|
| --- a/source/i18n/scriptset.h
|
| +++ b/source/i18n/scriptset.h
|
| @@ -1,3 +1,5 @@
|
| +// Copyright (C) 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 @@ class U_I18N_API ScriptSet: public UMemory {
|
| ~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 @@ class U_I18N_API ScriptSet: public UMemory {
|
| 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];
|
| };
|
|
|