]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/tolowtrn.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / tolowtrn.cpp
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/*
4**********************************************************************
46f4442e 5* Copyright (C) 2001-2007, International Business Machines
b75a7d8f
A
6* Corporation and others. All Rights Reserved.
7**********************************************************************
8* Date Name Description
9* 05/24/01 aliu Creation.
10**********************************************************************
11*/
12
13#include "unicode/utypes.h"
14
15#if !UCONFIG_NO_TRANSLITERATION
16
17#include "unicode/uchar.h"
18#include "unicode/ustring.h"
19#include "tolowtrn.h"
20#include "ustr_imp.h"
21#include "cpputils.h"
22
23U_NAMESPACE_BEGIN
24
374ca955 25UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LowercaseTransliterator)
b75a7d8f
A
26
27/**
28 * Constructs a transliterator.
29 */
73c04bcf
A
30LowercaseTransliterator::LowercaseTransliterator() :
31 CaseMapTransliterator(UNICODE_STRING("Any-Lower", 9), ucase_toFullLower)
b75a7d8f 32{
b75a7d8f
A
33}
34
35/**
36 * Destructor.
37 */
38LowercaseTransliterator::~LowercaseTransliterator() {
b75a7d8f
A
39}
40
41/**
42 * Copy constructor.
43 */
44LowercaseTransliterator::LowercaseTransliterator(const LowercaseTransliterator& o) :
374ca955 45 CaseMapTransliterator(o)
b75a7d8f 46{
b75a7d8f
A
47}
48
49/**
50 * Assignment operator.
51 */
46f4442e 52/*LowercaseTransliterator& LowercaseTransliterator::operator=(
b75a7d8f 53 const LowercaseTransliterator& o) {
374ca955 54 CaseMapTransliterator::operator=(o);
b75a7d8f 55 return *this;
46f4442e 56}*/
b75a7d8f
A
57
58/**
59 * Transliterator API.
60 */
340931cb 61LowercaseTransliterator* LowercaseTransliterator::clone() const {
b75a7d8f
A
62 return new LowercaseTransliterator(*this);
63}
64
b75a7d8f
A
65U_NAMESPACE_END
66
67#endif /* #if !UCONFIG_NO_TRANSLITERATION */