michael@0: /* michael@0: ********************************************************************** michael@0: * Copyright (C) 2001-2007, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: ********************************************************************** michael@0: * Date Name Description michael@0: * 05/24/01 aliu Creation. michael@0: ********************************************************************** michael@0: */ michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_TRANSLITERATION michael@0: michael@0: #include "unicode/ustring.h" michael@0: #include "unicode/uchar.h" michael@0: #include "toupptrn.h" michael@0: #include "ustr_imp.h" michael@0: #include "cpputils.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UppercaseTransliterator) michael@0: michael@0: /** michael@0: * Constructs a transliterator. michael@0: */ michael@0: UppercaseTransliterator::UppercaseTransliterator() : michael@0: CaseMapTransliterator(UNICODE_STRING("Any-Upper", 9), ucase_toFullUpper) michael@0: { michael@0: } michael@0: michael@0: /** michael@0: * Destructor. michael@0: */ michael@0: UppercaseTransliterator::~UppercaseTransliterator() { michael@0: } michael@0: michael@0: /** michael@0: * Copy constructor. michael@0: */ michael@0: UppercaseTransliterator::UppercaseTransliterator(const UppercaseTransliterator& o) : michael@0: CaseMapTransliterator(o) michael@0: { michael@0: } michael@0: michael@0: /** michael@0: * Assignment operator. michael@0: */ michael@0: /*UppercaseTransliterator& UppercaseTransliterator::operator=( michael@0: const UppercaseTransliterator& o) { michael@0: CaseMapTransliterator::operator=(o); michael@0: return *this; michael@0: }*/ michael@0: michael@0: /** michael@0: * Transliterator API. michael@0: */ michael@0: Transliterator* UppercaseTransliterator::clone(void) const { michael@0: return new UppercaseTransliterator(*this); michael@0: } michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif /* #if !UCONFIG_NO_TRANSLITERATION */