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