source: icXML/icXML-devel/src/xercesc/util/regx/RegxDefs.hpp @ 2722

Last change on this file since 2722 was 2722, checked in by cameron, 6 years ago

Original Xerces files with import mods for icxercesc

File size: 5.8 KB
RevLine 
[2722]1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18/*
19 * $Id: RegxDefs.hpp 678879 2008-07-22 20:05:05Z amassari $
20 */
21
22#if !defined(XERCESC_INCLUDE_GUARD_REGXDEFS_HPP)
23#define XERCESC_INCLUDE_GUARD_REGXDEFS_HPP
24
25// ---------------------------------------------------------------------------
26//  Includes
27// ---------------------------------------------------------------------------
28#include <xercesc/util/XercesDefs.hpp>
29#include <xercesc/util/XMLUniDefs.hpp>
30
31XERCES_CPP_NAMESPACE_BEGIN
32
33static const XMLCh fgXMLCategory[] =
34{
35    chLatin_X, chLatin_M, chLatin_L, chNull
36};
37
38static const XMLCh fgASCIICategory[] =
39{
40    chLatin_A, chLatin_S, chLatin_C, chLatin_I, chLatin_I, chNull
41};
42
43static const XMLCh fgUnicodeCategory[] =
44{
45    chLatin_U, chLatin_N, chLatin_I, chLatin_C, chLatin_O, chLatin_D,
46    chLatin_E, chNull
47};
48
49static const XMLCh fgBlockCategory[] =
50{
51    chLatin_B, chLatin_L, chLatin_O, chLatin_C, chLatin_K, chNull
52};
53
54static const XMLCh fgXMLSpace[] =
55{
56    chLatin_x, chLatin_m, chLatin_l, chColon, chLatin_i, chLatin_s, chLatin_S,
57    chLatin_p, chLatin_a, chLatin_c, chLatin_e, chNull
58};
59
60static const XMLCh fgXMLDigit[] =
61{
62    chLatin_x, chLatin_m, chLatin_l, chColon, chLatin_i, chLatin_s, chLatin_D,
63    chLatin_i, chLatin_g, chLatin_i, chLatin_t, chNull
64};
65
66static const XMLCh fgXMLWord[] =
67{
68    chLatin_x, chLatin_m, chLatin_l, chColon, chLatin_i, chLatin_s, chLatin_W,
69    chLatin_o, chLatin_r, chLatin_d, chNull
70};
71
72static const XMLCh fgXMLNameChar[] =
73{
74    chLatin_x, chLatin_m, chLatin_l, chColon, chLatin_i, chLatin_s, chLatin_N,
75    chLatin_a, chLatin_m, chLatin_e, chLatin_C, chLatin_h, chLatin_a,
76    chLatin_r, chNull
77};
78
79static const XMLCh fgXMLInitialNameChar[] =
80{
81    chLatin_x, chLatin_m, chLatin_l, chColon, chLatin_i, chLatin_s, chLatin_I,
82    chLatin_n, chLatin_i, chLatin_t, chLatin_i, chLatin_a, chLatin_l,
83    chLatin_N, chLatin_a, chLatin_m, chLatin_e, chLatin_C, chLatin_h,
84    chLatin_a, chLatin_r, chNull
85};
86
87static const XMLCh fgASCII[] =
88{
89    chLatin_a, chLatin_s, chLatin_c, chLatin_i, chLatin_i, chColon, chLatin_i,
90    chLatin_s, chLatin_A, chLatin_s, chLatin_c, chLatin_i, chLatin_i, chNull
91};
92
93static const XMLCh fgASCIIDigit[] =
94{
95    chLatin_a, chLatin_s, chLatin_c, chLatin_i, chLatin_i, chColon, chLatin_i,
96    chLatin_s, chLatin_D, chLatin_i, chLatin_g, chLatin_i, chLatin_t, chNull
97};
98
99static const XMLCh fgASCIIWord[] =
100{
101    chLatin_a, chLatin_s, chLatin_c, chLatin_i, chLatin_i, chColon, chLatin_i,
102    chLatin_s, chLatin_W, chLatin_o, chLatin_r, chLatin_d, chNull
103};
104
105static const XMLCh fgASCIISpace[] =
106{
107    chLatin_a, chLatin_s, chLatin_c, chLatin_i, chLatin_i, chColon, chLatin_i,
108    chLatin_s, chLatin_S, chLatin_p, chLatin_a, chLatin_c, chLatin_e, chNull
109};
110
111static const XMLCh fgASCIIXDigit[] =
112{
113    chLatin_a, chLatin_s, chLatin_c, chLatin_i, chLatin_i, chColon, chLatin_i,
114    chLatin_s, chLatin_X, chLatin_D, chLatin_i, chLatin_g, chLatin_i,
115    chLatin_t, chNull
116};
117
118
119static const XMLCh fgUniAll[] =
120{
121    chLatin_A, chLatin_L, chLatin_L, chNull
122};
123
124static const XMLCh fgUniIsAlpha[] =
125{
126    chLatin_I, chLatin_s, chLatin_A, chLatin_l, chLatin_p, chLatin_h,
127    chLatin_a, chNull
128};
129
130static const XMLCh fgUniIsAlnum[] =
131{
132    chLatin_I, chLatin_s, chLatin_A, chLatin_l, chLatin_n, chLatin_u,
133    chLatin_m, chNull
134};
135
136static const XMLCh fgUniIsWord[] =
137{
138    chLatin_I, chLatin_s, chLatin_W, chLatin_o, chLatin_r, chLatin_d,
139    chNull
140};
141
142
143static const XMLCh fgUniIsDigit[] =
144{
145    chLatin_I, chLatin_s, chLatin_D, chLatin_i, chLatin_g, chLatin_i,
146    chLatin_t, chNull
147};
148
149static const XMLCh fgUniIsUpper[] =
150{
151    chLatin_I, chLatin_s, chLatin_U, chLatin_p, chLatin_p, chLatin_e,
152    chLatin_r, chNull
153};
154
155static const XMLCh fgUniIsLower[] =
156{
157    chLatin_I, chLatin_s, chLatin_L, chLatin_o, chLatin_w, chLatin_e,
158    chLatin_r, chNull
159};
160
161static const XMLCh fgUniIsPunct[] =
162{
163    chLatin_I, chLatin_s, chLatin_P, chLatin_u, chLatin_n, chLatin_c,
164    chLatin_t, chNull
165};
166
167static const XMLCh fgUniIsSpace[] =
168{
169    chLatin_I, chLatin_s, chLatin_S, chLatin_p, chLatin_a, chLatin_c,
170    chLatin_e, chNull
171};
172
173static const XMLCh fgUniAssigned[] =
174{
175    chLatin_A, chLatin_S, chLatin_S, chLatin_I, chLatin_G, chLatin_N,
176    chLatin_E, chLatin_D, chNull
177};
178
179
180static const XMLCh fgUniDecimalDigit[] =
181{
182    chLatin_N, chLatin_d, chNull
183};
184
185static const XMLCh fgBlockIsSpecials[] =
186{
187    chLatin_I, chLatin_s, chLatin_S, chLatin_p, chLatin_e, chLatin_c, chLatin_i, chLatin_a,
188    chLatin_l, chLatin_s, chNull
189};
190
191static const XMLCh fgBlockIsPrivateUse[] =
192{
193    chLatin_I, chLatin_s, chLatin_P, chLatin_r, chLatin_i, chLatin_v, chLatin_a, chLatin_t, chLatin_e,
194    chLatin_U, chLatin_s, chLatin_e,  chNull
195};
196
197static const XMLCh fgUniLetter[] =
198{
199    chLatin_L, chNull
200};
201
202static const XMLCh fgUniNumber[] =
203{
204    chLatin_N, chNull
205};
206
207static const XMLCh fgUniMark[] =
208{
209    chLatin_M, chNull
210};
211
212static const XMLCh fgUniSeparator[] =
213{
214    chLatin_Z, chNull
215};
216
217static const XMLCh fgUniPunctuation[] =
218{
219    chLatin_P, chNull
220};
221
222static const XMLCh fgUniControl[] =
223{
224    chLatin_C, chNull
225};
226
227static const XMLCh fgUniSymbol[] =
228{
229    chLatin_S, chNull
230};
231
232XERCES_CPP_NAMESPACE_END
233
234#endif
235
236/**
237  * End of file RegxDefs.hpp
238  */
239
Note: See TracBrowser for help on using the repository browser.