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