]> git.saurik.com Git - apple/icu.git/blame - icuSources/i18n/tolowtrn.cpp
ICU-6.2.14.tar.gz
[apple/icu.git] / icuSources / i18n / tolowtrn.cpp
CommitLineData
b75a7d8f
A
1/*
2**********************************************************************
374ca955 3* Copyright (C) 2001-2004, International Business Machines
b75a7d8f
A
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/uchar.h"
16#include "unicode/ustring.h"
17#include "tolowtrn.h"
18#include "ustr_imp.h"
19#include "cpputils.h"
20
21U_NAMESPACE_BEGIN
22
374ca955 23UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LowercaseTransliterator)
b75a7d8f
A
24
25/**
26 * Constructs a transliterator.
27 */
374ca955
A
28LowercaseTransliterator::LowercaseTransliterator(const Locale& theLoc) :
29 CaseMapTransliterator(theLoc, UNICODE_STRING("Any-Lower", 9), ucase_toFullLower)
b75a7d8f 30{
b75a7d8f
A
31}
32
33/**
34 * Destructor.
35 */
36LowercaseTransliterator::~LowercaseTransliterator() {
b75a7d8f
A
37}
38
39/**
40 * Copy constructor.
41 */
42LowercaseTransliterator::LowercaseTransliterator(const LowercaseTransliterator& o) :
374ca955 43 CaseMapTransliterator(o)
b75a7d8f 44{
b75a7d8f
A
45}
46
47/**
48 * Assignment operator.
49 */
50LowercaseTransliterator& LowercaseTransliterator::operator=(
51 const LowercaseTransliterator& o) {
374ca955 52 CaseMapTransliterator::operator=(o);
b75a7d8f
A
53 return *this;
54}
55
56/**
57 * Transliterator API.
58 */
59Transliterator* LowercaseTransliterator::clone(void) const {
60 return new LowercaseTransliterator(*this);
61}
62
b75a7d8f
A
63U_NAMESPACE_END
64
65#endif /* #if !UCONFIG_NO_TRANSLITERATION */