source: NonGTP/Xerces/xercesc/util/XMLUniDefs.hpp @ 188

Revision 188, 8.2 KB checked in by mattausch, 19 years ago (diff)

added xercesc to support

Line 
1/*
2 * The Apache Software License, Version 1.1
3 *
4 * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
5 * reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 *
11 * 1. Redistributions of source code must retain the above copyright
12 *    notice, this list of conditions and the following disclaimer.
13 *
14 * 2. Redistributions in binary form must reproduce the above copyright
15 *    notice, this list of conditions and the following disclaimer in
16 *    the documentation and/or other materials provided with the
17 *    distribution.
18 *
19 * 3. The end-user documentation included with the redistribution,
20 *    if any, must include the following acknowledgment:
21 *       "This product includes software developed by the
22 *        Apache Software Foundation (http://www.apache.org/)."
23 *    Alternately, this acknowledgment may appear in the software itself,
24 *    if and wherever such third-party acknowledgments normally appear.
25 *
26 * 4. The names "Xerces" and "Apache Software Foundation" must
27 *    not be used to endorse or promote products derived from this
28 *    software without prior written permission. For written
29 *    permission, please contact apache\@apache.org.
30 *
31 * 5. Products derived from this software may not be called "Apache",
32 *    nor may "Apache" appear in their name, without prior written
33 *    permission of the Apache Software Foundation.
34 *
35 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
36 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
37 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
38 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
39 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
40 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
41 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
42 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
43 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
44 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
45 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
46 * SUCH DAMAGE.
47 * ====================================================================
48 *
49 * This software consists of voluntary contributions made by many
50 * individuals on behalf of the Apache Software Foundation, and was
51 * originally based on software copyright (c) 1999, International
52 * Business Machines, Inc., http://www.ibm.com .  For more information
53 * on the Apache Software Foundation, please see
54 * <http://www.apache.org/>.
55 */
56
57/*
58 * $Id: XMLUniDefs.hpp,v 1.2 2002/11/04 15:22:05 tng Exp $
59 */
60#if !defined(XMLUNIDEFS_HPP)
61#define XMLUNIDEFS_HPP
62
63#include <xercesc/util/XercesDefs.hpp>
64
65XERCES_CPP_NAMESPACE_BEGIN
66
67// ---------------------------------------------------------------------------
68//  Constants for the Unicode characters of interest to us in an XML parser
69//  We don't put these inside the class because then they could not be const
70//  inline values, which would have significant performance ramifications.
71//
72//  We cannot use a namespace because of the requirement to support old
73//  compilers.
74// ---------------------------------------------------------------------------
75const XMLCh chNull                  = 0x00;
76const XMLCh chHTab                  = 0x09;
77const XMLCh chLF                    = 0x0A;
78const XMLCh chVTab                  = 0x0B;
79const XMLCh chFF                    = 0x0C;
80const XMLCh chCR                    = 0x0D;
81const XMLCh chAmpersand             = 0x26;
82const XMLCh chAsterisk              = 0x2A;
83const XMLCh chAt                    = 0x40;
84const XMLCh chBackSlash             = 0x5C;
85const XMLCh chBang                  = 0x21;
86const XMLCh chCaret                 = 0x5E;
87const XMLCh chCloseAngle            = 0x3E;
88const XMLCh chCloseCurly            = 0x7D;
89const XMLCh chCloseParen            = 0x29;
90const XMLCh chCloseSquare           = 0x5D;
91const XMLCh chColon                 = 0x3A;
92const XMLCh chComma                 = 0x2C;
93const XMLCh chDash                  = 0x2D;
94const XMLCh chDollarSign            = 0x24;
95const XMLCh chDoubleQuote           = 0x22;
96const XMLCh chEqual                 = 0x3D;
97const XMLCh chForwardSlash          = 0x2F;
98const XMLCh chGrave                 = 0x60;
99const XMLCh chNEL                   = 0x85;
100const XMLCh chOpenAngle             = 0x3C;
101const XMLCh chOpenCurly             = 0x7B;
102const XMLCh chOpenParen             = 0x28;
103const XMLCh chOpenSquare            = 0x5B;
104const XMLCh chPercent               = 0x25;
105const XMLCh chPeriod                = 0x2E;
106const XMLCh chPipe                  = 0x7C;
107const XMLCh chPlus                  = 0x2B;
108const XMLCh chPound                 = 0x23;
109const XMLCh chQuestion              = 0x3F;
110const XMLCh chSingleQuote           = 0x27;
111const XMLCh chSpace                 = 0x20;
112const XMLCh chSemiColon             = 0x3B;
113const XMLCh chTilde                 = 0x7E;
114const XMLCh chUnderscore            = 0x5F;
115
116const XMLCh chSwappedUnicodeMarker  = XMLCh(0xFFFE);
117const XMLCh chUnicodeMarker         = XMLCh(0xFEFF);
118
119const XMLCh chDigit_0               = 0x30;
120const XMLCh chDigit_1               = 0x31;
121const XMLCh chDigit_2               = 0x32;
122const XMLCh chDigit_3               = 0x33;
123const XMLCh chDigit_4               = 0x34;
124const XMLCh chDigit_5               = 0x35;
125const XMLCh chDigit_6               = 0x36;
126const XMLCh chDigit_7               = 0x37;
127const XMLCh chDigit_8               = 0x38;
128const XMLCh chDigit_9               = 0x39;
129
130const XMLCh chLatin_A               = 0x41;
131const XMLCh chLatin_B               = 0x42;
132const XMLCh chLatin_C               = 0x43;
133const XMLCh chLatin_D               = 0x44;
134const XMLCh chLatin_E               = 0x45;
135const XMLCh chLatin_F               = 0x46;
136const XMLCh chLatin_G               = 0x47;
137const XMLCh chLatin_H               = 0x48;
138const XMLCh chLatin_I               = 0x49;
139const XMLCh chLatin_J               = 0x4A;
140const XMLCh chLatin_K               = 0x4B;
141const XMLCh chLatin_L               = 0x4C;
142const XMLCh chLatin_M               = 0x4D;
143const XMLCh chLatin_N               = 0x4E;
144const XMLCh chLatin_O               = 0x4F;
145const XMLCh chLatin_P               = 0x50;
146const XMLCh chLatin_Q               = 0x51;
147const XMLCh chLatin_R               = 0x52;
148const XMLCh chLatin_S               = 0x53;
149const XMLCh chLatin_T               = 0x54;
150const XMLCh chLatin_U               = 0x55;
151const XMLCh chLatin_V               = 0x56;
152const XMLCh chLatin_W               = 0x57;
153const XMLCh chLatin_X               = 0x58;
154const XMLCh chLatin_Y               = 0x59;
155const XMLCh chLatin_Z               = 0x5A;
156
157const XMLCh chLatin_a               = 0x61;
158const XMLCh chLatin_b               = 0x62;
159const XMLCh chLatin_c               = 0x63;
160const XMLCh chLatin_d               = 0x64;
161const XMLCh chLatin_e               = 0x65;
162const XMLCh chLatin_f               = 0x66;
163const XMLCh chLatin_g               = 0x67;
164const XMLCh chLatin_h               = 0x68;
165const XMLCh chLatin_i               = 0x69;
166const XMLCh chLatin_j               = 0x6A;
167const XMLCh chLatin_k               = 0x6B;
168const XMLCh chLatin_l               = 0x6C;
169const XMLCh chLatin_m               = 0x6D;
170const XMLCh chLatin_n               = 0x6E;
171const XMLCh chLatin_o               = 0x6F;
172const XMLCh chLatin_p               = 0x70;
173const XMLCh chLatin_q               = 0x71;
174const XMLCh chLatin_r               = 0x72;
175const XMLCh chLatin_s               = 0x73;
176const XMLCh chLatin_t               = 0x74;
177const XMLCh chLatin_u               = 0x75;
178const XMLCh chLatin_v               = 0x76;
179const XMLCh chLatin_w               = 0x77;
180const XMLCh chLatin_x               = 0x78;
181const XMLCh chLatin_y               = 0x79;
182const XMLCh chLatin_z               = 0x7A;
183
184const XMLCh chYenSign               = 0xA5;
185const XMLCh chWonSign               = 0x20A9;
186
187const XMLCh chLineSeparator         = 0x2028;
188const XMLCh chParagraphSeparator    = 0x2029;
189
190XERCES_CPP_NAMESPACE_END
191
192#endif
Note: See TracBrowser for help on using the repository browser.