Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

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 Sun May 22 23:05:49 2005 for ICU 2.1 by  doxygen 1.4.2