]>
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 | #ifndef TOLOWTRN_H | |
11 | #define TOLOWTRN_H | |
12 | ||
13 | #include "unicode/utypes.h" | |
14 | ||
15 | #if !UCONFIG_NO_TRANSLITERATION | |
16 | ||
17 | #include "unicode/translit.h" | |
18 | #include "unicode/locid.h" | |
374ca955 | 19 | #include "casetrn.h" |
b75a7d8f A |
20 | |
21 | U_NAMESPACE_BEGIN | |
22 | ||
23 | /** | |
24 | * A transliterator that performs locale-sensitive toLower() | |
25 | * case mapping. | |
26 | * @author Alan Liu | |
27 | */ | |
374ca955 | 28 | class U_I18N_API LowercaseTransliterator : public CaseMapTransliterator { |
b75a7d8f A |
29 | |
30 | public: | |
31 | ||
32 | /** | |
33 | * Constructs a transliterator. | |
34 | * @param loc the given locale. | |
35 | */ | |
36 | LowercaseTransliterator(const Locale& loc = Locale::getDefault()); | |
37 | ||
38 | /** | |
39 | * Destructor. | |
40 | */ | |
41 | virtual ~LowercaseTransliterator(); | |
42 | ||
43 | /** | |
44 | * Copy constructor. | |
45 | */ | |
46 | LowercaseTransliterator(const LowercaseTransliterator&); | |
47 | ||
48 | /** | |
49 | * Assignment operator. | |
50 | */ | |
51 | LowercaseTransliterator& operator=(const LowercaseTransliterator&); | |
52 | ||
53 | /** | |
54 | * Transliterator API. | |
55 | * @return a copy of the object. | |
56 | */ | |
374ca955 | 57 | virtual Transliterator* clone(void) const; |
b75a7d8f A |
58 | |
59 | /** | |
60 | * ICU "poor man's RTTI", returns a UClassID for the actual class. | |
61 | * | |
62 | * @draft ICU 2.2 | |
63 | */ | |
374ca955 | 64 | virtual UClassID getDynamicClassID() const; |
b75a7d8f A |
65 | |
66 | /** | |
67 | * ICU "poor man's RTTI", returns a UClassID for this class. | |
68 | * | |
69 | * @draft ICU 2.2 | |
70 | */ | |
374ca955 | 71 | static UClassID U_EXPORT2 getStaticClassID(); |
b75a7d8f A |
72 | }; |
73 | ||
74 | U_NAMESPACE_END | |
75 | ||
76 | #endif /* #if !UCONFIG_NO_TRANSLITERATION */ | |
77 | ||
78 | #endif |