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

spclmap.h

Go to the documentation of this file.
00001 /*
00002 * Copyright © {1997-1999}, International Business Machines Corporation and others. All Rights Reserved.
00003 *****************************************************************************************
00004 *
00005 * File SPCLMAP.H
00006 *
00007 * SpecialMapping represents exceptions to the normal unicode category mapping.
00008 *
00009 * @package  Text and International
00010 * @category Text Scanning
00011 *
00012 * Modification History:
00013 *
00014 *   Date        Name        Description
00015 *   02/18/97    aliu        Converted from OpenClass.
00016 *****************************************************************************************
00017 */
00018 
00019 #ifndef SPCLMAP_H
00020 #define SPCLMAP_H
00021 
00022 #include "unicode/utypes.h" // UChar
00023 #include "txtbdat.h"
00024 
00030 class SpecialMapping {
00031 public:
00035     SpecialMapping(UChar ch, TextBoundaryData::Type nv) : fStartChar(ch), fEndChar(ch), fNewValue(nv) {}
00036 
00040     SpecialMapping(UChar sch, UChar ech, TextBoundaryData::Type nv) : fStartChar(sch), fEndChar(ech), fNewValue(nv) {}
00041 
00045     UChar fStartChar;
00046 
00050     UChar fEndChar;
00051 
00055     TextBoundaryData::Type fNewValue;
00056 private:
00057     SpecialMapping() {}
00058 };
00059 
00060 #endif // _SPCLMAP
00061 //eof

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