intl/icu/source/i18n/ucol_bld.h

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 /*
     2 *******************************************************************************
     3 *
     4 *   Copyright (C) 2001-2010, International Business Machines
     5 *   Corporation and others.  All Rights Reserved.
     6 *
     7 *******************************************************************************
     8 *   file name:  ucol_tok.cpp
     9 *   encoding:   US-ASCII
    10 *   tab size:   8 (not used)
    11 *   indentation:4
    12 *
    13 *   created 02/22/2001
    14 *   created by: Vladimir Weinstein
    15 *
    16 * This module builds a collator based on the rule set.
    17 * 
    18 */
    20 #ifndef UCOL_BLD_H
    21 #define UCOL_BLD_H
    23 #ifdef UCOL_DEBUG
    24 #include <stdio.h>
    25 #include <stdlib.h>
    26 #endif
    28 #include "unicode/utypes.h"
    30 #if !UCONFIG_NO_COLLATION
    31 /*#if !UCONFIG_NO_COLLATION_BUILDER*/
    33 #include "ucol_imp.h"
    34 #include "ucol_tok.h"
    35 #include "ucol_wgt.h"
    37 U_CFUNC
    38 UCATableHeader *ucol_assembleTailoringTable(UColTokenParser *src, UErrorCode *status);
    40 typedef struct {
    41   WeightRange ranges[7];
    42   int32_t noOfRanges;
    43   uint32_t byteSize; uint32_t start; uint32_t limit;
    44   int32_t maxCount;
    45   int32_t count;
    46   uint32_t current;
    47   uint32_t fLow; /*forbidden Low */
    48   uint32_t fHigh; /*forbidden High */
    49 } ucolCEGenerator;
    51 U_CFUNC uint32_t U_EXPORT2 ucol_getCEStrengthDifference(uint32_t CE, uint32_t contCE, 
    52                                             uint32_t prevCE, uint32_t prevContCE);
    54 U_INTERNAL int32_t U_EXPORT2 ucol_findReorderingEntry(const char* name);
    56 /*#endif*/ /* #if !UCONFIG_NO_COLLATION_BUILDER */
    57 #endif /* #if !UCONFIG_NO_COLLATION */
    59 #endif

mercurial