]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /* |
2 | ********************************************************************** | |
374ca955 | 3 | * Copyright (C) 2001-2004, International Business Machines |
b75a7d8f A |
4 | * Corporation and others. All Rights Reserved. |
5 | ********************************************************************** | |
6 | * Date Name Description | |
7 | * 05/24/01 aliu Creation. | |
8 | ********************************************************************** | |
9 | */ | |
10 | ||
11 | #include "unicode/utypes.h" | |
12 | ||
13 | #if !UCONFIG_NO_TRANSLITERATION | |
14 | ||
15 | #include "unicode/uchar.h" | |
16 | #include "unicode/ustring.h" | |
17 | #include "tolowtrn.h" | |
18 | #include "ustr_imp.h" | |
19 | #include "cpputils.h" | |
20 | ||
21 | U_NAMESPACE_BEGIN | |
22 | ||
374ca955 | 23 | UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LowercaseTransliterator) |
b75a7d8f A |
24 | |
25 | /** | |
26 | * Constructs a transliterator. | |
27 | */ | |
374ca955 A |
28 | LowercaseTransliterator::LowercaseTransliterator(const Locale& theLoc) : |
29 | CaseMapTransliterator(theLoc, UNICODE_STRING("Any-Lower", 9), ucase_toFullLower) | |
b75a7d8f | 30 | { |
b75a7d8f A |
31 | } |
32 | ||
33 | /** | |
34 | * Destructor. | |
35 | */ | |
36 | LowercaseTransliterator::~LowercaseTransliterator() { | |
b75a7d8f A |
37 | } |
38 | ||
39 | /** | |
40 | * Copy constructor. | |
41 | */ | |
42 | LowercaseTransliterator::LowercaseTransliterator(const LowercaseTransliterator& o) : | |
374ca955 | 43 | CaseMapTransliterator(o) |
b75a7d8f | 44 | { |
b75a7d8f A |
45 | } |
46 | ||
47 | /** | |
48 | * Assignment operator. | |
49 | */ | |
50 | LowercaseTransliterator& LowercaseTransliterator::operator=( | |
51 | const LowercaseTransliterator& o) { | |
374ca955 | 52 | CaseMapTransliterator::operator=(o); |
b75a7d8f A |
53 | return *this; |
54 | } | |
55 | ||
56 | /** | |
57 | * Transliterator API. | |
58 | */ | |
59 | Transliterator* LowercaseTransliterator::clone(void) const { | |
60 | return new LowercaseTransliterator(*this); | |
61 | } | |
62 | ||
b75a7d8f A |
63 | U_NAMESPACE_END |
64 | ||
65 | #endif /* #if !UCONFIG_NO_TRANSLITERATION */ |