]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/nultrans.cpp
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 **********************************************************************
5 * Copyright (c) 2000-2005, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 **********************************************************************
8 * Date Name Description
9 * 01/11/2000 aliu Creation.
10 **********************************************************************
13 #include "unicode/utypes.h"
15 #if !UCONFIG_NO_TRANSLITERATION
21 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NullTransliterator
)
23 NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {}
25 NullTransliterator::~NullTransliterator() {}
27 NullTransliterator
* NullTransliterator::clone() const {
28 return new NullTransliterator();
31 void NullTransliterator::handleTransliterate(Replaceable
& /*text*/, UTransPosition
& offsets
,
32 UBool
/*isIncremental*/) const {
33 offsets
.start
= offsets
.limit
;
38 #endif /* #if !UCONFIG_NO_TRANSLITERATION */