]>
Commit | Line | Data |
---|---|---|
1 | // © 2016 and later: Unicode, Inc. and others. | |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
3 | /* | |
4 | ********************************************************************** | |
5 | * Copyright (C) 2001-2007, International Business Machines | |
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 | ||
23 | U_NAMESPACE_BEGIN | |
24 | ||
25 | UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LowercaseTransliterator) | |
26 | ||
27 | /** | |
28 | * Constructs a transliterator. | |
29 | */ | |
30 | LowercaseTransliterator::LowercaseTransliterator() : | |
31 | CaseMapTransliterator(UNICODE_STRING("Any-Lower", 9), ucase_toFullLower) | |
32 | { | |
33 | } | |
34 | ||
35 | /** | |
36 | * Destructor. | |
37 | */ | |
38 | LowercaseTransliterator::~LowercaseTransliterator() { | |
39 | } | |
40 | ||
41 | /** | |
42 | * Copy constructor. | |
43 | */ | |
44 | LowercaseTransliterator::LowercaseTransliterator(const LowercaseTransliterator& o) : | |
45 | CaseMapTransliterator(o) | |
46 | { | |
47 | } | |
48 | ||
49 | /** | |
50 | * Assignment operator. | |
51 | */ | |
52 | /*LowercaseTransliterator& LowercaseTransliterator::operator=( | |
53 | const LowercaseTransliterator& o) { | |
54 | CaseMapTransliterator::operator=(o); | |
55 | return *this; | |
56 | }*/ | |
57 | ||
58 | /** | |
59 | * Transliterator API. | |
60 | */ | |
61 | LowercaseTransliterator* LowercaseTransliterator::clone() const { | |
62 | return new LowercaseTransliterator(*this); | |
63 | } | |
64 | ||
65 | U_NAMESPACE_END | |
66 | ||
67 | #endif /* #if !UCONFIG_NO_TRANSLITERATION */ |