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

dbbi_tbl.h

Go to the documentation of this file.
00001 /*
00002 **********************************************************************
00003 *   Copyright (C) 1999-2000 IBM Corp. All rights reserved.
00004 **********************************************************************
00005 *   Date        Name        Description
00006 *   12/1/99    rgillam     Complete port from Java.
00007 *   01/13/2000 helena      Added UErrorCode to ctors.
00008 **********************************************************************
00009 */
00010 
00011 #ifndef DBBI_TBL_H
00012 #define DBBI_TBL_H
00013 
00014 #include "rbbi_tbl.h"
00015 #include "brkdict.h"
00016 #include "unicode/udata.h"
00017 
00018 /* forward declaration */
00019 class DictionaryBasedBreakIterator;
00020 
00029 class DictionaryBasedBreakIteratorTables : public RuleBasedBreakIteratorTables {
00030 
00031 private:
00036     BreakDictionary dictionary;
00037 
00043     int8_t* categoryFlags;
00044 
00045     //=======================================================================
00046     // constructor
00047     //=======================================================================
00048 
00049     DictionaryBasedBreakIteratorTables(UDataMemory* tablesMemory,
00050                                        char* dictionaryFilename,
00051                                        UErrorCode& status);
00052                                  
00057     DictionaryBasedBreakIteratorTables(const DictionaryBasedBreakIteratorTables& that);
00058 
00059     //=======================================================================
00060     // boilerplate
00061     //=======================================================================
00062 
00066     virtual ~DictionaryBasedBreakIteratorTables();
00067 
00072     DictionaryBasedBreakIteratorTables& operator=(
00073             const DictionaryBasedBreakIteratorTables& that);
00074 
00075 protected:
00080     virtual int32_t lookupCategory(UChar c, BreakIterator* bi) const;
00081 
00082     friend class DictionaryBasedBreakIterator;
00083 };
00084 
00085 #endif

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