diff options
author | neksard <neksard@yandex-team.ru> | 2022-02-10 16:45:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:33 +0300 |
commit | 1d9c550e7c38e051d7961f576013a482003a70d9 (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /contrib/libs/icu/i18n/toupptrn.h | |
parent | 8f7cf138264e0caa318144bf8a2c950e0b0a8593 (diff) | |
download | ydb-1d9c550e7c38e051d7961f576013a482003a70d9.tar.gz |
Restoring authorship annotation for <neksard@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/icu/i18n/toupptrn.h')
-rw-r--r-- | contrib/libs/icu/i18n/toupptrn.h | 148 |
1 files changed, 74 insertions, 74 deletions
diff --git a/contrib/libs/icu/i18n/toupptrn.h b/contrib/libs/icu/i18n/toupptrn.h index 7cd7759ad4..e96ca8f0ba 100644 --- a/contrib/libs/icu/i18n/toupptrn.h +++ b/contrib/libs/icu/i18n/toupptrn.h @@ -1,76 +1,76 @@ // © 2016 and later: Unicode, Inc. and others. -// License & terms of use: http://www.unicode.org/copyright.html -/* -********************************************************************** -* Copyright (C) 2001-2007, International Business Machines -* Corporation and others. All Rights Reserved. -********************************************************************** -* Date Name Description -* 05/24/01 aliu Creation. -********************************************************************** -*/ -#ifndef TOUPPTRN_H -#define TOUPPTRN_H - -#include "unicode/utypes.h" - -#if !UCONFIG_NO_TRANSLITERATION - -#include "unicode/translit.h" -#include "casetrn.h" - -U_NAMESPACE_BEGIN - -/** - * A transliterator that performs locale-sensitive toUpper() - * case mapping. - * @author Alan Liu - */ -class UppercaseTransliterator : public CaseMapTransliterator { - - public: - - /** - * Constructs a transliterator. - * @param loc the given locale. - */ - UppercaseTransliterator(); - - /** - * Destructor. - */ - virtual ~UppercaseTransliterator(); - - /** - * Copy constructor. - */ - UppercaseTransliterator(const UppercaseTransliterator&); - - /** - * Transliterator API. - * @return a copy of the object. - */ +// License & terms of use: http://www.unicode.org/copyright.html +/* +********************************************************************** +* Copyright (C) 2001-2007, International Business Machines +* Corporation and others. All Rights Reserved. +********************************************************************** +* Date Name Description +* 05/24/01 aliu Creation. +********************************************************************** +*/ +#ifndef TOUPPTRN_H +#define TOUPPTRN_H + +#include "unicode/utypes.h" + +#if !UCONFIG_NO_TRANSLITERATION + +#include "unicode/translit.h" +#include "casetrn.h" + +U_NAMESPACE_BEGIN + +/** + * A transliterator that performs locale-sensitive toUpper() + * case mapping. + * @author Alan Liu + */ +class UppercaseTransliterator : public CaseMapTransliterator { + + public: + + /** + * Constructs a transliterator. + * @param loc the given locale. + */ + UppercaseTransliterator(); + + /** + * Destructor. + */ + virtual ~UppercaseTransliterator(); + + /** + * Copy constructor. + */ + UppercaseTransliterator(const UppercaseTransliterator&); + + /** + * Transliterator API. + * @return a copy of the object. + */ virtual UppercaseTransliterator* clone() const; - - /** - * ICU "poor man's RTTI", returns a UClassID for the actual class. - */ - virtual UClassID getDynamicClassID() const; - - /** - * ICU "poor man's RTTI", returns a UClassID for this class. - */ - U_I18N_API static UClassID U_EXPORT2 getStaticClassID(); - -private: - /** - * Assignment operator. - */ - UppercaseTransliterator& operator=(const UppercaseTransliterator&); -}; - -U_NAMESPACE_END - -#endif /* #if !UCONFIG_NO_TRANSLITERATION */ - -#endif + + /** + * ICU "poor man's RTTI", returns a UClassID for the actual class. + */ + virtual UClassID getDynamicClassID() const; + + /** + * ICU "poor man's RTTI", returns a UClassID for this class. + */ + U_I18N_API static UClassID U_EXPORT2 getStaticClassID(); + +private: + /** + * Assignment operator. + */ + UppercaseTransliterator& operator=(const UppercaseTransliterator&); +}; + +U_NAMESPACE_END + +#endif /* #if !UCONFIG_NO_TRANSLITERATION */ + +#endif |