diff options
author | vvvv <vvvv@yandex-team.ru> | 2022-03-03 23:09:11 +0300 |
---|---|---|
committer | vvvv <vvvv@yandex-team.ru> | 2022-03-03 23:09:11 +0300 |
commit | 8dbdbab054b6eb352cfffdad09991052008062fc (patch) | |
tree | 71befed92d327f2cc409bff4986ec510d0530d92 /contrib/libs/icu/i18n/toupptrn.cpp | |
parent | ed3f4e21f3a3837059607ec2606e1dc910269ac0 (diff) | |
download | ydb-8dbdbab054b6eb352cfffdad09991052008062fc.tar.gz |
YQL-13710 try to switch to new shiny PG
ref:2bed0445c8e8bd6c575883632adf19445f0a72a7
Diffstat (limited to 'contrib/libs/icu/i18n/toupptrn.cpp')
-rw-r--r-- | contrib/libs/icu/i18n/toupptrn.cpp | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/contrib/libs/icu/i18n/toupptrn.cpp b/contrib/libs/icu/i18n/toupptrn.cpp new file mode 100644 index 0000000000..2a8b78b9a6 --- /dev/null +++ b/contrib/libs/icu/i18n/toupptrn.cpp @@ -0,0 +1,67 @@ +// © 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. +********************************************************************** +*/ + +#include "unicode/utypes.h" + +#if !UCONFIG_NO_TRANSLITERATION + +#include "unicode/ustring.h" +#include "unicode/uchar.h" +#include "toupptrn.h" +#include "ustr_imp.h" +#include "cpputils.h" + +U_NAMESPACE_BEGIN + +UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UppercaseTransliterator) + +/** + * Constructs a transliterator. + */ +UppercaseTransliterator::UppercaseTransliterator() : + CaseMapTransliterator(UNICODE_STRING("Any-Upper", 9), ucase_toFullUpper) +{ +} + +/** + * Destructor. + */ +UppercaseTransliterator::~UppercaseTransliterator() { +} + +/** + * Copy constructor. + */ +UppercaseTransliterator::UppercaseTransliterator(const UppercaseTransliterator& o) : + CaseMapTransliterator(o) +{ +} + +/** + * Assignment operator. + */ +/*UppercaseTransliterator& UppercaseTransliterator::operator=( + const UppercaseTransliterator& o) { + CaseMapTransliterator::operator=(o); + return *this; +}*/ + +/** + * Transliterator API. + */ +UppercaseTransliterator* UppercaseTransliterator::clone() const { + return new UppercaseTransliterator(*this); +} + +U_NAMESPACE_END + +#endif /* #if !UCONFIG_NO_TRANSLITERATION */ |