]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/toupptrn.cpp
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / toupptrn.cpp
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
13#include "unicode/utypes.h"
14
15#if !UCONFIG_NO_TRANSLITERATION
16
17#include "unicode/ustring.h"
18#include "unicode/uchar.h"
19#include "toupptrn.h"
20#include "ustr_imp.h"
21#include "cpputils.h"
22
23U_NAMESPACE_BEGIN
24
374ca955 25UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UppercaseTransliterator)
b75a7d8f
A
26
27/**
28 * Constructs a transliterator.
29 */
73c04bcf
A
30UppercaseTransliterator::UppercaseTransliterator() :
31 CaseMapTransliterator(UNICODE_STRING("Any-Upper", 9), ucase_toFullUpper)
b75a7d8f 32{
b75a7d8f
A
33}
34
35/**
36 * Destructor.
37 */
38UppercaseTransliterator::~UppercaseTransliterator() {
b75a7d8f
A
39}
40
41/**
42 * Copy constructor.
43 */
44UppercaseTransliterator::UppercaseTransliterator(const UppercaseTransliterator& o) :
374ca955 45 CaseMapTransliterator(o)
b75a7d8f 46{
b75a7d8f
A
47}
48
49/**
50 * Assignment operator.
51 */
46f4442e 52/*UppercaseTransliterator& UppercaseTransliterator::operator=(
b75a7d8f 53 const UppercaseTransliterator& o) {
374ca955 54 CaseMapTransliterator::operator=(o);
b75a7d8f 55 return *this;
46f4442e 56}*/
b75a7d8f
A
57
58/**
59 * Transliterator API.
60 */
61Transliterator* UppercaseTransliterator::clone(void) const {
62 return new UppercaseTransliterator(*this);
63}
64
b75a7d8f
A
65U_NAMESPACE_END
66
67#endif /* #if !UCONFIG_NO_TRANSLITERATION */