]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/rbbisetb.h
ICU-6.2.4.tar.gz
[apple/icu.git] / icuSources / common / rbbisetb.h
index b4b80a6710b52efe087f631ce88afb3cb8c433f4..17544f54c057ea26e6e29f224dad269c223dd1fa 100644 (file)
@@ -2,7 +2,7 @@
 //  rbbisetb.h
 /*
 **********************************************************************
-*   Copyright (c) 2001, International Business Machines
+*   Copyright (c) 2001-2004, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 */
@@ -14,7 +14,6 @@
 #include "unicode/uobject.h"
 #include "rbbirb.h"
 #include "uvector.h"
-#include "uhash.h"
 
 struct  UNewTrie;
 
@@ -81,14 +80,21 @@ public:
 
     void     build();
     void     addValToSets(UVector *sets, uint32_t val);
-    int32_t  getNumCharCategories();   // CharCategories are the same as input symbol set to the
+    int32_t  getNumCharCategories() const;   // CharCategories are the same as input symbol set to the
                                    //    runtime state machine, which are the same as
                                    //    columns in the DFA state table
-    int32_t  getTrieSize();        // Size in bytes of the serialized Trie.
+    int32_t  getTrieSize() /*const*/;        // Size in bytes of the serialized Trie.
     void     serializeTrie(uint8_t *where);  // write out the serialized Trie.
+    UChar32  getFirstChar(int32_t  val) const;
+#ifdef RBBI_DEBUG
     void     printSets();
     void     printRanges();
     void     printRangeGroups();
+#else
+    #define printSets()
+    #define printRanges()
+    #define printRangeGroups()
+#endif
 
 private:
     void           numberSets();