00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef NULTRANS_H
00011 #define NULTRANS_H
00012
00013 #include "unicode/utypes.h"
00014
00015 #if !UCONFIG_NO_TRANSLITERATION
00016
00017 #include "unicode/translit.h"
00018
00019 #ifdef ICU_NULLTRANSLITERATOR_USE_DEPRECATES
00020 U_NAMESPACE_BEGIN
00021
00027 class U_I18N_API NullTransliterator : public Transliterator {
00028
00029 public:
00030
00035 static const UChar ID[];
00036
00041 static const UChar SHORT_ID[];
00042
00047 NullTransliterator();
00048
00053 virtual ~NullTransliterator();
00054
00059 Transliterator* clone(void) const;
00060
00065 virtual void handleTransliterate(Replaceable& text, UTransPosition& offset,
00066 UBool isIncremental) const;
00067
00073 virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); }
00074
00080 static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; }
00081
00082 private:
00083
00088 static const char fgClassID;
00089 };
00090
00091 inline NullTransliterator::NullTransliterator() : Transliterator(ID, 0) {}
00092
00093 inline NullTransliterator::~NullTransliterator() {}
00094
00095 U_NAMESPACE_END
00096 #endif
00097
00098 #endif
00099
00100 #endif