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

unirepl.h

00001 /*
00002 **********************************************************************
00003 *   Copyright (c) 2002, International Business Machines Corporation
00004 *   and others.  All Rights Reserved.
00005 **********************************************************************
00006 *   Date        Name        Description
00007 *   01/14/2002  aliu        Creation.
00008 **********************************************************************
00009 */
00010 #ifndef UNIREPL_H
00011 #define UNIREPL_H
00012 
00013 #include "unicode/utypes.h"
00014 
00015 U_NAMESPACE_BEGIN
00016 
00017 class Replaceable;
00018 class UnicodeString;
00019 
00029 class U_I18N_API UnicodeReplacer {
00030 
00031  public:
00032 
00050     virtual int32_t replace(Replaceable& text,
00051                             int32_t start,
00052                             int32_t limit,
00053                             int32_t& cursor) = 0;
00054 
00068     virtual UnicodeString& toReplacerPattern(UnicodeString& result,
00069                                              UBool escapeUnprintable) const = 0;
00070 };
00071 
00072 U_NAMESPACE_END
00073 
00074 #endif

Generated on Sun May 22 23:05:50 2005 for ICU 2.1 by  doxygen 1.4.2