]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | ******************************************************************************* | |
3 | * | |
4 | * Copyright (C) 2001, 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 | */ | |
19 | ||
20 | #ifndef UCOL_BLD_H | |
21 | #define UCOL_BLD_H | |
22 | ||
23 | #ifdef UCOL_DEBUG | |
24 | #include <stdio.h> | |
25 | #include <stdlib.h> | |
26 | #endif | |
27 | ||
28 | #include "unicode/utypes.h" | |
29 | ||
30 | #if !UCONFIG_NO_COLLATION | |
31 | ||
32 | #include "ucol_imp.h" | |
33 | #include "ucol_tok.h" | |
34 | #include "ucol_elm.h" | |
35 | #include "ucol_wgt.h" | |
36 | ||
37 | #include "uhash.h" | |
38 | #include "cpputils.h" | |
39 | ||
40 | #include "unicode/ustring.h" | |
41 | #include "unicode/unistr.h" | |
42 | #include "unicode/normlzr.h" | |
43 | ||
44 | U_CFUNC | |
45 | UCATableHeader *ucol_assembleTailoringTable(UColTokenParser *src, UErrorCode *status); | |
46 | ||
47 | typedef struct { | |
48 | WeightRange ranges[7]; | |
49 | int32_t noOfRanges; | |
50 | uint32_t byteSize; uint32_t start; uint32_t limit; | |
51 | int32_t maxCount; | |
52 | int32_t count; | |
53 | uint32_t current; | |
54 | uint32_t fLow; /*forbidden Low */ | |
55 | uint32_t fHigh; /*forbidden High */ | |
56 | } ucolCEGenerator; | |
57 | ||
58 | #endif /* #if !UCONFIG_NO_COLLATION */ | |
59 | ||
60 | #endif |