2000-01-11 17:28:49 +00:00
|
|
|
/*
|
|
|
|
**********************************************************************
|
2016-05-26 22:32:17 +00:00
|
|
|
* Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
|
|
* License & terms of use: http://www.unicode.org/copyright.html
|
2000-01-11 17:28:49 +00:00
|
|
|
**********************************************************************
|
|
|
|
* Date Name Description
|
|
|
|
* 01/11/2000 aliu Creation.
|
|
|
|
**********************************************************************
|
|
|
|
*/
|
2002-08-21 19:12:24 +00:00
|
|
|
|
2002-09-20 01:54:48 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_TRANSLITERATION
|
|
|
|
|
2003-02-14 01:44:49 +00:00
|
|
|
#include "nultrans.h"
|
2000-01-11 17:28:49 +00:00
|
|
|
|
2001-10-08 23:26:58 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2003-08-29 20:06:23 +00:00
|
|
|
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NullTransliterator)
|
2001-10-08 23:26:58 +00:00
|
|
|
|
2005-03-08 23:05:38 +00:00
|
|
|
NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {}
|
2003-08-29 20:06:23 +00:00
|
|
|
|
|
|
|
NullTransliterator::~NullTransliterator() {}
|
|
|
|
|
2000-01-11 17:28:49 +00:00
|
|
|
Transliterator* NullTransliterator::clone(void) const {
|
|
|
|
return new NullTransliterator();
|
|
|
|
}
|
|
|
|
|
2000-08-15 18:25:20 +00:00
|
|
|
void NullTransliterator::handleTransliterate(Replaceable& /*text*/, UTransPosition& offsets,
|
|
|
|
UBool /*isIncremental*/) const {
|
2000-06-27 20:06:52 +00:00
|
|
|
offsets.start = offsets.limit;
|
2000-01-11 17:28:49 +00:00
|
|
|
}
|
2001-10-08 23:26:58 +00:00
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
|
2002-09-20 01:54:48 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
|