]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/toolutil/ppucd.h
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / tools / toolutil / ppucd.h
index 3cd6feee00e05defdaf6badf906dc3db034b0fed..1f9fb295c1070bc6d2c3029d78572879d145ff67 100644 (file)
@@ -84,6 +84,8 @@ public:
         BLOCK_LINE,
         /** cp;0030;AHex;bc=EN;gc=Nd;na=DIGIT ZERO;... */
         CP_LINE,
+        /** unassigned;E01F0..E0FFF;bc=BN;CWKCF;DI;GCB=CN;NFKC_CF= */
+        UNASSIGNED_LINE,
 
         /** algnamesrange;4E00..9FCC;han;CJK UNIFIED IDEOGRAPH- */
         ALG_NAMES_RANGE_LINE,
@@ -119,7 +121,9 @@ public:
     const UVersionInfo &getUnicodeVersion() const { return ucdVersion; }
 
     /** Returns TRUE if the current line has property values. */
-    UBool lineHasPropertyValues() const { return DEFAULTS_LINE<=lineType && lineType<=CP_LINE; }
+    UBool lineHasPropertyValues() const {
+        return DEFAULTS_LINE<=lineType && lineType<=UNASSIGNED_LINE;
+    }
 
     /**
      * Parses properties from the current line.
@@ -166,6 +170,7 @@ private:
 
     UVersionInfo ucdVersion;
     UniProps defaultProps, blockProps, cpProps;
+    UnicodeSet blockValues;
     // Multiple lines so that default and block properties can maintain pointers
     // into their line buffers.
     char lines[kNumLineBuffers][4096];