X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..340931cb2e044a2141d11567dd0f782524e32994:/icuSources/i18n/uni2name.h?ds=inline diff --git a/icuSources/i18n/uni2name.h b/icuSources/i18n/uni2name.h index 84551151..99309c8e 100644 --- a/icuSources/i18n/uni2name.h +++ b/icuSources/i18n/uni2name.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-2004, International Business Machines +* Copyright (C) 2001-2007, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description @@ -23,7 +25,7 @@ U_NAMESPACE_BEGIN * It generates the Perl syntax \N{name}. * @author Alan Liu */ -class U_I18N_API UnicodeNameTransliterator : public Transliterator { +class UnicodeNameTransliterator : public Transliterator { public: @@ -43,29 +45,20 @@ class U_I18N_API UnicodeNameTransliterator : public Transliterator { */ UnicodeNameTransliterator(const UnicodeNameTransliterator&); - /** - * Assignment operator. - */ - UnicodeNameTransliterator& operator=(const UnicodeNameTransliterator&); - /** * Transliterator API. */ - virtual Transliterator* clone(void) const; + virtual UnicodeNameTransliterator* clone() const; /** * ICU "poor man's RTTI", returns a UClassID for the actual class. - * - * @draft ICU 2.2 */ virtual UClassID getDynamicClassID() const; /** * ICU "poor man's RTTI", returns a UClassID for this class. - * - * @draft ICU 2.2 */ - static UClassID U_EXPORT2 getStaticClassID(); + U_I18N_API static UClassID U_EXPORT2 getStaticClassID(); protected: @@ -81,6 +74,12 @@ class U_I18N_API UnicodeNameTransliterator : public Transliterator { virtual void handleTransliterate(Replaceable& text, UTransPosition& offset, UBool isIncremental) const; +private: + /** + * Assignment operator. + */ + UnicodeNameTransliterator& operator=(const UnicodeNameTransliterator&); + }; U_NAMESPACE_END