]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/toupptrn.h
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / i18n / toupptrn.h
CommitLineData
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 TOUPPTRN_H
11#define TOUPPTRN_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
20U_NAMESPACE_BEGIN
21
22/**
23 * A transliterator that performs locale-sensitive toUpper()
24 * case mapping.
25 * @author Alan Liu
26 */
46f4442e 27class UppercaseTransliterator : public CaseMapTransliterator {
b75a7d8f
A
28
29 public:
30
31 /**
32 * Constructs a transliterator.
33 * @param loc the given locale.
34 */
73c04bcf 35 UppercaseTransliterator();
b75a7d8f
A
36
37 /**
38 * Destructor.
39 */
40 virtual ~UppercaseTransliterator();
41
42 /**
43 * Copy constructor.
44 */
45 UppercaseTransliterator(const UppercaseTransliterator&);
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
63private:
64 /**
65 * Assignment operator.
66 */
67 UppercaseTransliterator& operator=(const UppercaseTransliterator&);
b75a7d8f
A
68};
69
70U_NAMESPACE_END
71
72#endif /* #if !UCONFIG_NO_TRANSLITERATION */
73
74#endif