Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

nultrans.h

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 
00015 U_NAMESPACE_BEGIN
00016 
00022 class U_I18N_API NullTransliterator : public Transliterator {
00023 
00024 public:
00025 
00030     static const UChar ID[]; // public for Transliterator
00031 
00036     static const UChar SHORT_ID[]; // public for Transliterator
00037 
00042     NullTransliterator();
00043 
00048     virtual ~NullTransliterator();
00049 
00054     Transliterator* clone(void) const;
00055 
00060     virtual void handleTransliterate(Replaceable& text, UTransPosition& offset,
00061                                      UBool isIncremental) const;
00062 };
00063 
00064 inline NullTransliterator::NullTransliterator() : Transliterator(ID, 0) {}
00065 
00066 inline NullTransliterator::~NullTransliterator() {}
00067 
00068 U_NAMESPACE_END
00069 
00070 #endif

Generated on Mon Mar 4 20:03:14 2002 for ICU 2.0 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002