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.

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

mercurial