1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 #include <precomp.h>
23 #include <ary/namesort.hxx>
24 
25 
26 // NOT FULLY DEFINED SERVICES
27 
28 
29 
30 namespace
31 {
32 
33 
34 int C_cAutodocNameOrdering1[256] =
35     {   0,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, //  0 ..
36       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
37       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, // 32 ..
38        70, 71, 72, 73,  74, 75, 76, 77,      78, 79,255,255, 255,255,255,255,
39 
40       255, 11, 13, 15,  17, 19, 21, 23,      25, 27, 29, 31,  33, 35, 37, 39, // 64 ..
41        41, 43, 45, 47,  49, 51, 53, 55,      57, 59, 61,255, 255,255,255, 63,
42       255, 11, 13, 15,  17, 19, 21, 23,      25, 27, 29, 31,  33, 35, 37, 39, // 96 ..
43        41, 43, 45, 47,  49, 51, 53, 55,      57, 59, 61,255, 255,255,255,255,
44 
45       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, //128 ..
46       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
47       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, //160 ..
48       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
49 
50       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
51       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
52       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
53       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255
54     };
55 
56 int C_cAutodocNameOrdering2[256] =
57     {   0,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, //  0 ..
58       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
59       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, // 32 ..
60        70, 71, 72, 73,  74, 75, 76, 77,      78, 79,255,255, 255,255,255,255,
61 
62       255, 11, 13, 15,  17, 19, 21, 23,      25, 27, 29, 31,  33, 35, 37, 39, // 64 ..
63        41, 43, 45, 47,  49, 51, 53, 55,      57, 59, 61,255, 255,255,255, 63,
64       255, 12, 14, 16,  18, 20, 22, 24,      26, 28, 30, 32,  34, 36, 38, 40, // 96 ..
65        42, 44, 46, 48,  50, 52, 54, 56,      58, 60, 62,255, 255,255,255,255,
66 
67       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, //128 ..
68       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
69       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255, //160 ..
70       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
71 
72       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
73       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
74       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255,
75       255,255,255,255, 255,255,255,255,     255,255,255,255, 255,255,255,255
76     };
77 
78 
79 }   // namespace anonymous
80 
81 
82 namespace ary
83 {
84 
85 
86 const csv::CharOrder_Table
87 LesserName::aOrdering1_(C_cAutodocNameOrdering1);
88 
89 const csv::CharOrder_Table
90 LesserName::aOrdering2_(C_cAutodocNameOrdering2);
91 
92 
93 
94 }   // namespace ary
95