]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/toupptrn.h
ICU-62141.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / toupptrn.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/*
4**********************************************************************
46f4442e 5* Copyright (C) 2001-2007, International Business Machines
b75a7d8f
A
6* Corporation and others. All Rights Reserved.
7**********************************************************************
8* Date Name Description
9* 05/24/01 aliu Creation.
10**********************************************************************
11*/
12#ifndef TOUPPTRN_H
13#define TOUPPTRN_H
14
15#include "unicode/utypes.h"
16
17#if !UCONFIG_NO_TRANSLITERATION
18
19#include "unicode/translit.h"
374ca955 20#include "casetrn.h"
b75a7d8f
A
21
22U_NAMESPACE_BEGIN
23
24/**
25 * A transliterator that performs locale-sensitive toUpper()
26 * case mapping.
27 * @author Alan Liu
28 */
46f4442e 29class UppercaseTransliterator : public CaseMapTransliterator {
b75a7d8f
A
30
31 public:
32
33 /**
34 * Constructs a transliterator.
35 * @param loc the given locale.
36 */
73c04bcf 37 UppercaseTransliterator();
b75a7d8f
A
38
39 /**
40 * Destructor.
41 */
42 virtual ~UppercaseTransliterator();
43
44 /**
45 * Copy constructor.
46 */
47 UppercaseTransliterator(const UppercaseTransliterator&);
48
b75a7d8f
A
49 /**
50 * Transliterator API.
51 * @return a copy of the object.
52 */
374ca955 53 virtual Transliterator* clone(void) const;
b75a7d8f
A
54
55 /**
56 * ICU "poor man's RTTI", returns a UClassID for the actual class.
b75a7d8f 57 */
374ca955 58 virtual UClassID getDynamicClassID() const;
b75a7d8f
A
59
60 /**
61 * ICU "poor man's RTTI", returns a UClassID for this class.
b75a7d8f 62 */
46f4442e
A
63 U_I18N_API static UClassID U_EXPORT2 getStaticClassID();
64
65private:
66 /**
67 * Assignment operator.
68 */
69 UppercaseTransliterator& operator=(const UppercaseTransliterator&);
b75a7d8f
A
70};
71
72U_NAMESPACE_END
73
74#endif /* #if !UCONFIG_NO_TRANSLITERATION */
75
76#endif