Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

nultrans.h

Go to the documentation of this file.
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/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[]; // public for Transliterator
00036 
00041     static const UChar SHORT_ID[]; // public for Transliterator
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 /* ICU_NULLTRANSLITERATOR_USE_DEPRECATES */
00097 
00098 #endif /* #if !UCONFIG_NO_TRANSLITERATION */
00099 
00100 #endif

Generated on Wed Dec 18 16:49:40 2002 for ICU 2.4 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001