11cb0ef41Sopenharmony_ci// © 2016 and later: Unicode, Inc. and others. 21cb0ef41Sopenharmony_ci// License & terms of use: http://www.unicode.org/copyright.html 31cb0ef41Sopenharmony_ci/* 41cb0ef41Sopenharmony_ci********************************************************************** 51cb0ef41Sopenharmony_ci* Copyright (C) 2001-2007, International Business Machines 61cb0ef41Sopenharmony_ci* Corporation and others. All Rights Reserved. 71cb0ef41Sopenharmony_ci********************************************************************** 81cb0ef41Sopenharmony_ci* Date Name Description 91cb0ef41Sopenharmony_ci* 05/24/01 aliu Creation. 101cb0ef41Sopenharmony_ci********************************************************************** 111cb0ef41Sopenharmony_ci*/ 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ci#include "unicode/utypes.h" 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ci#if !UCONFIG_NO_TRANSLITERATION 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_ci#include "unicode/uchar.h" 181cb0ef41Sopenharmony_ci#include "unicode/ustring.h" 191cb0ef41Sopenharmony_ci#include "tolowtrn.h" 201cb0ef41Sopenharmony_ci#include "ustr_imp.h" 211cb0ef41Sopenharmony_ci#include "cpputils.h" 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ciU_NAMESPACE_BEGIN 241cb0ef41Sopenharmony_ci 251cb0ef41Sopenharmony_ciUOBJECT_DEFINE_RTTI_IMPLEMENTATION(LowercaseTransliterator) 261cb0ef41Sopenharmony_ci 271cb0ef41Sopenharmony_ci/** 281cb0ef41Sopenharmony_ci * Constructs a transliterator. 291cb0ef41Sopenharmony_ci */ 301cb0ef41Sopenharmony_ciLowercaseTransliterator::LowercaseTransliterator() : 311cb0ef41Sopenharmony_ci CaseMapTransliterator(UNICODE_STRING("Any-Lower", 9), ucase_toFullLower) 321cb0ef41Sopenharmony_ci{ 331cb0ef41Sopenharmony_ci} 341cb0ef41Sopenharmony_ci 351cb0ef41Sopenharmony_ci/** 361cb0ef41Sopenharmony_ci * Destructor. 371cb0ef41Sopenharmony_ci */ 381cb0ef41Sopenharmony_ciLowercaseTransliterator::~LowercaseTransliterator() { 391cb0ef41Sopenharmony_ci} 401cb0ef41Sopenharmony_ci 411cb0ef41Sopenharmony_ci/** 421cb0ef41Sopenharmony_ci * Copy constructor. 431cb0ef41Sopenharmony_ci */ 441cb0ef41Sopenharmony_ciLowercaseTransliterator::LowercaseTransliterator(const LowercaseTransliterator& o) : 451cb0ef41Sopenharmony_ci CaseMapTransliterator(o) 461cb0ef41Sopenharmony_ci{ 471cb0ef41Sopenharmony_ci} 481cb0ef41Sopenharmony_ci 491cb0ef41Sopenharmony_ci/** 501cb0ef41Sopenharmony_ci * Assignment operator. 511cb0ef41Sopenharmony_ci */ 521cb0ef41Sopenharmony_ci/*LowercaseTransliterator& LowercaseTransliterator::operator=( 531cb0ef41Sopenharmony_ci const LowercaseTransliterator& o) { 541cb0ef41Sopenharmony_ci CaseMapTransliterator::operator=(o); 551cb0ef41Sopenharmony_ci return *this; 561cb0ef41Sopenharmony_ci}*/ 571cb0ef41Sopenharmony_ci 581cb0ef41Sopenharmony_ci/** 591cb0ef41Sopenharmony_ci * Transliterator API. 601cb0ef41Sopenharmony_ci */ 611cb0ef41Sopenharmony_ciLowercaseTransliterator* LowercaseTransliterator::clone() const { 621cb0ef41Sopenharmony_ci return new LowercaseTransliterator(*this); 631cb0ef41Sopenharmony_ci} 641cb0ef41Sopenharmony_ci 651cb0ef41Sopenharmony_ciU_NAMESPACE_END 661cb0ef41Sopenharmony_ci 671cb0ef41Sopenharmony_ci#endif /* #if !UCONFIG_NO_TRANSLITERATION */ 68