]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/nultrans.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 **********************************************************************
5 * Copyright (c) 2000-2007, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 **********************************************************************
8 * Date Name Description
9 * 01/11/2000 aliu Creation.
10 **********************************************************************
15 #include "unicode/utypes.h"
17 #if !UCONFIG_NO_TRANSLITERATION
19 #include "unicode/translit.h"
24 * A transliterator that leaves text unchanged.
26 * @internal Use transliterator factory methods instead since this class will be removed in that release.
28 class NullTransliterator
: public Transliterator
{
33 * Constructs a transliterator.
34 * @internal Use transliterator factory methods instead since this class will be removed in that release.
40 * @internal Use transliterator factory methods instead since this class will be removed in that release.
42 virtual ~NullTransliterator();
46 * @internal Use transliterator factory methods instead since this class will be removed in that release.
48 virtual Transliterator
* clone(void) const;
51 * Implements {@link Transliterator#handleTransliterate}.
52 * @internal Use transliterator factory methods instead since this class will be removed in that release.
54 virtual void handleTransliterate(Replaceable
& text
, UTransPosition
& offset
,
55 UBool isIncremental
) const;
58 * ICU "poor man's RTTI", returns a UClassID for the actual class.
60 virtual UClassID
getDynamicClassID() const;
63 * ICU "poor man's RTTI", returns a UClassID for this class.
65 U_I18N_API
static UClassID U_EXPORT2
getStaticClassID();
71 #endif /* #if !UCONFIG_NO_TRANSLITERATION */