1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/i18n/ucol_bld.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,59 @@ 1.4 +/* 1.5 +******************************************************************************* 1.6 +* 1.7 +* Copyright (C) 2001-2010, International Business Machines 1.8 +* Corporation and others. All Rights Reserved. 1.9 +* 1.10 +******************************************************************************* 1.11 +* file name: ucol_tok.cpp 1.12 +* encoding: US-ASCII 1.13 +* tab size: 8 (not used) 1.14 +* indentation:4 1.15 +* 1.16 +* created 02/22/2001 1.17 +* created by: Vladimir Weinstein 1.18 +* 1.19 +* This module builds a collator based on the rule set. 1.20 +* 1.21 +*/ 1.22 + 1.23 +#ifndef UCOL_BLD_H 1.24 +#define UCOL_BLD_H 1.25 + 1.26 +#ifdef UCOL_DEBUG 1.27 +#include <stdio.h> 1.28 +#include <stdlib.h> 1.29 +#endif 1.30 + 1.31 +#include "unicode/utypes.h" 1.32 + 1.33 +#if !UCONFIG_NO_COLLATION 1.34 +/*#if !UCONFIG_NO_COLLATION_BUILDER*/ 1.35 + 1.36 +#include "ucol_imp.h" 1.37 +#include "ucol_tok.h" 1.38 +#include "ucol_wgt.h" 1.39 + 1.40 +U_CFUNC 1.41 +UCATableHeader *ucol_assembleTailoringTable(UColTokenParser *src, UErrorCode *status); 1.42 + 1.43 +typedef struct { 1.44 + WeightRange ranges[7]; 1.45 + int32_t noOfRanges; 1.46 + uint32_t byteSize; uint32_t start; uint32_t limit; 1.47 + int32_t maxCount; 1.48 + int32_t count; 1.49 + uint32_t current; 1.50 + uint32_t fLow; /*forbidden Low */ 1.51 + uint32_t fHigh; /*forbidden High */ 1.52 +} ucolCEGenerator; 1.53 + 1.54 +U_CFUNC uint32_t U_EXPORT2 ucol_getCEStrengthDifference(uint32_t CE, uint32_t contCE, 1.55 + uint32_t prevCE, uint32_t prevContCE); 1.56 + 1.57 +U_INTERNAL int32_t U_EXPORT2 ucol_findReorderingEntry(const char* name); 1.58 + 1.59 +/*#endif*/ /* #if !UCONFIG_NO_COLLATION_BUILDER */ 1.60 +#endif /* #if !UCONFIG_NO_COLLATION */ 1.61 + 1.62 +#endif