X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..a01113dcd0f39d5da295ef82785beff9ed86fe38:/icuSources/i18n/name2uni.h diff --git a/icuSources/i18n/name2uni.h b/icuSources/i18n/name2uni.h index 74f6cd2a..4c743def 100644 --- a/icuSources/i18n/name2uni.h +++ b/icuSources/i18n/name2uni.h @@ -1,6 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ********************************************************************** -* Copyright (C) 2001-2006, International Business Machines +* Copyright (C) 2001-2007, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -24,7 +26,7 @@ U_NAMESPACE_BEGIN * It recognizes the Perl syntax \N{name}. * @author Alan Liu */ -class U_I18N_API NameUnicodeTransliterator : public Transliterator { +class NameUnicodeTransliterator : public Transliterator { public: /** @@ -43,11 +45,6 @@ public: */ NameUnicodeTransliterator(const NameUnicodeTransliterator&); - /** - * Assignment operator. - */ - NameUnicodeTransliterator& operator=(const NameUnicodeTransliterator&); - /** * Transliterator API. * @return A copy of the object. @@ -62,7 +59,7 @@ public: /** * ICU "poor man's RTTI", returns a UClassID for this class. */ - static UClassID U_EXPORT2 getStaticClassID(); + U_I18N_API static UClassID U_EXPORT2 getStaticClassID(); protected: @@ -82,6 +79,11 @@ public: * Set of characters which occur in Unicode character names. */ UnicodeSet legal; +private: + /** + * Assignment operator. + */ + NameUnicodeTransliterator& operator=(const NameUnicodeTransliterator&); }; U_NAMESPACE_END