00001 /* 00002 ********************************************************************** 00003 * Copyright (c) 2000, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * Date Name Description 00007 * 01/11/2000 aliu Creation. 00008 ********************************************************************** 00009 */ 00010 #ifndef NULTRANS_H 00011 #define NULTRANS_H 00012 00013 #include "unicode/translit.h" 00014 00019 class U_I18N_API NullTransliterator : public Transliterator { 00020 00024 static const char* _ID; 00025 00026 public: 00027 00031 NullTransliterator(); 00032 00036 virtual ~NullTransliterator(); 00037 00041 Transliterator* clone(void) const; 00042 00046 virtual void handleTransliterate(Replaceable& text, UTransPosition& offset, 00047 UBool isIncremental) const; 00048 }; 00049 00050 inline NullTransliterator::NullTransliterator() : Transliterator(_ID, 0) {} 00051 00052 inline NullTransliterator::~NullTransliterator() {} 00053 00054 #endif