1/*
2**********************************************************************
3*   Copyright (C) 2001-2007, International Business Machines
4*   Corporation and others.  All Rights Reserved.
5**********************************************************************
6*   Date        Name        Description
7*   05/24/01    aliu        Creation.
8**********************************************************************
9*/
10
11#include "unicode/utypes.h"
12
13#if !UCONFIG_NO_TRANSLITERATION
14
15#include "unicode/ustring.h"
16#include "unicode/uchar.h"
17#include "toupptrn.h"
18#include "ustr_imp.h"
19#include "cpputils.h"
20
21U_NAMESPACE_BEGIN
22
23UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UppercaseTransliterator)
24
25/**
26 * Constructs a transliterator.
27 */
28UppercaseTransliterator::UppercaseTransliterator() :
29    CaseMapTransliterator(UNICODE_STRING("Any-Upper", 9), ucase_toFullUpper)
30{
31}
32
33/**
34 * Destructor.
35 */
36UppercaseTransliterator::~UppercaseTransliterator() {
37}
38
39/**
40 * Copy constructor.
41 */
42UppercaseTransliterator::UppercaseTransliterator(const UppercaseTransliterator& o) :
43    CaseMapTransliterator(o)
44{
45}
46
47/**
48 * Assignment operator.
49 */
50/*UppercaseTransliterator& UppercaseTransliterator::operator=(
51                             const UppercaseTransliterator& o) {
52    CaseMapTransliterator::operator=(o);
53    return *this;
54}*/
55
56/**
57 * Transliterator API.
58 */
59Transliterator* UppercaseTransliterator::clone(void) const {
60    return new UppercaseTransliterator(*this);
61}
62
63U_NAMESPACE_END
64
65#endif /* #if !UCONFIG_NO_TRANSLITERATION */
66