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

compitr.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 1996-1999, International Business Machines
00005 *   Corporation and others.  All Rights Reserved.
00006 *
00007 *******************************************************************************
00008 */
00009 
00010 #ifndef COMPITR_H
00011 #define COMPITR_H
00012 
00013 
00014 #include "unicode/utypes.h"
00015 #include "unicode/unistr.h"
00016 
00017 
00058 class U_COMMON_API ComposedCharIter 
00059 {
00060  public:
00067   enum { DONE = 0xffff };
00068     
00074   ComposedCharIter();
00075     
00076   
00090   ComposedCharIter(UBool compat, int32_t options);
00091   
00096   UBool hasNext(void) const;
00097   
00105   UChar next(void);
00106   
00115   void getDecomposition(UnicodeString& result) const;
00116   
00117  private:
00118   void    findNextChar(void);
00119   
00120   int32_t    minDecomp;
00121   UBool    hangul;
00122   
00123   UChar    curChar;
00124   UChar    nextChar;
00125 };
00126 
00127 #endif // _COMPITR
00128 
00129 
00130 

Generated at Tue Dec 5 17:55:25 2000 for ICU by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000