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: #ifndef TOLOWTRN_H michael@0: #define TOLOWTRN_H michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_TRANSLITERATION michael@0: michael@0: #include "unicode/translit.h" michael@0: #include "casetrn.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: /** michael@0: * A transliterator that performs locale-sensitive toLower() michael@0: * case mapping. michael@0: * @author Alan Liu michael@0: */ michael@0: class LowercaseTransliterator : public CaseMapTransliterator { michael@0: michael@0: public: michael@0: michael@0: /** michael@0: * Constructs a transliterator. michael@0: * @param loc the given locale. michael@0: */ michael@0: LowercaseTransliterator(); michael@0: michael@0: /** michael@0: * Destructor. michael@0: */ michael@0: virtual ~LowercaseTransliterator(); michael@0: michael@0: /** michael@0: * Copy constructor. michael@0: */ michael@0: LowercaseTransliterator(const LowercaseTransliterator&); michael@0: michael@0: /** michael@0: * Transliterator API. michael@0: * @return a copy of the object. michael@0: */ michael@0: virtual Transliterator* clone(void) const; michael@0: michael@0: /** michael@0: * ICU "poor man's RTTI", returns a UClassID for the actual class. michael@0: */ michael@0: virtual UClassID getDynamicClassID() const; michael@0: michael@0: /** michael@0: * ICU "poor man's RTTI", returns a UClassID for this class. michael@0: */ michael@0: U_I18N_API static UClassID U_EXPORT2 getStaticClassID(); michael@0: private: michael@0: michael@0: /** michael@0: * Assignment operator. michael@0: */ michael@0: LowercaseTransliterator& operator=(const LowercaseTransliterator&); michael@0: }; michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif /* #if !UCONFIG_NO_TRANSLITERATION */ michael@0: michael@0: #endif