intl/icu/source/i18n/tolowtrn.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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 #ifndef TOLOWTRN_H
michael@0 11 #define TOLOWTRN_H
michael@0 12
michael@0 13 #include "unicode/utypes.h"
michael@0 14
michael@0 15 #if !UCONFIG_NO_TRANSLITERATION
michael@0 16
michael@0 17 #include "unicode/translit.h"
michael@0 18 #include "casetrn.h"
michael@0 19
michael@0 20 U_NAMESPACE_BEGIN
michael@0 21
michael@0 22 /**
michael@0 23 * A transliterator that performs locale-sensitive toLower()
michael@0 24 * case mapping.
michael@0 25 * @author Alan Liu
michael@0 26 */
michael@0 27 class LowercaseTransliterator : public CaseMapTransliterator {
michael@0 28
michael@0 29 public:
michael@0 30
michael@0 31 /**
michael@0 32 * Constructs a transliterator.
michael@0 33 * @param loc the given locale.
michael@0 34 */
michael@0 35 LowercaseTransliterator();
michael@0 36
michael@0 37 /**
michael@0 38 * Destructor.
michael@0 39 */
michael@0 40 virtual ~LowercaseTransliterator();
michael@0 41
michael@0 42 /**
michael@0 43 * Copy constructor.
michael@0 44 */
michael@0 45 LowercaseTransliterator(const LowercaseTransliterator&);
michael@0 46
michael@0 47 /**
michael@0 48 * Transliterator API.
michael@0 49 * @return a copy of the object.
michael@0 50 */
michael@0 51 virtual Transliterator* clone(void) const;
michael@0 52
michael@0 53 /**
michael@0 54 * ICU "poor man's RTTI", returns a UClassID for the actual class.
michael@0 55 */
michael@0 56 virtual UClassID getDynamicClassID() const;
michael@0 57
michael@0 58 /**
michael@0 59 * ICU "poor man's RTTI", returns a UClassID for this class.
michael@0 60 */
michael@0 61 U_I18N_API static UClassID U_EXPORT2 getStaticClassID();
michael@0 62 private:
michael@0 63
michael@0 64 /**
michael@0 65 * Assignment operator.
michael@0 66 */
michael@0 67 LowercaseTransliterator& operator=(const LowercaseTransliterator&);
michael@0 68 };
michael@0 69
michael@0 70 U_NAMESPACE_END
michael@0 71
michael@0 72 #endif /* #if !UCONFIG_NO_TRANSLITERATION */
michael@0 73
michael@0 74 #endif

mercurial