]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/i18n/nultrans.cpp
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / i18n / nultrans.cpp
... / ...
CommitLineData
1/*
2**********************************************************************
3* Copyright (c) 2000-2005, International Business Machines
4* Corporation and others. All Rights Reserved.
5**********************************************************************
6* Date Name Description
7* 01/11/2000 aliu Creation.
8**********************************************************************
9*/
10
11#include "unicode/utypes.h"
12
13#if !UCONFIG_NO_TRANSLITERATION
14
15#include "nultrans.h"
16
17U_NAMESPACE_BEGIN
18
19UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NullTransliterator)
20
21NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {}
22
23NullTransliterator::~NullTransliterator() {}
24
25Transliterator* NullTransliterator::clone(void) const {
26 return new NullTransliterator();
27}
28
29void NullTransliterator::handleTransliterate(Replaceable& /*text*/, UTransPosition& offsets,
30 UBool /*isIncremental*/) const {
31 offsets.start = offsets.limit;
32}
33
34U_NAMESPACE_END
35
36#endif /* #if !UCONFIG_NO_TRANSLITERATION */