source: NonGTP/Xerces/xerces/include/xercesc/util/regx/RegxDefs.hpp @ 358

Revision 358, 5.6 KB checked in by bittner, 19 years ago (diff)

xerces added

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