Xerces-C++ 3.2.0

XMLUniDefs.hpp
Go to the documentation of this file.
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: XMLUniDefs.hpp 527149 2007-04-10 14:56:39Z amassari $
20 */
21
22 #if !defined(XERCESC_INCLUDE_GUARD_XMLUNIDEFS_HPP)
23 #define XERCESC_INCLUDE_GUARD_XMLUNIDEFS_HPP
24
25 #include <xercesc/util/XercesDefs.hpp>
26
27 XERCES_CPP_NAMESPACE_BEGIN
28
29 // ---------------------------------------------------------------------------
30 // Constants for the Unicode characters of interest to us in an XML parser
31 // We don't put these inside the class because then they could not be const
32 // inline values, which would have significant performance ramifications.
33 //
34 // We cannot use a namespace because of the requirement to support old
35 // compilers.
36 // ---------------------------------------------------------------------------
37 const XMLCh chNull = 0x00;
38 const XMLCh chHTab = 0x09;
39 const XMLCh chLF = 0x0A;
40 const XMLCh chVTab = 0x0B;
41 const XMLCh chFF = 0x0C;
42 const XMLCh chCR = 0x0D;
43 const XMLCh chAmpersand = 0x26;
44 const XMLCh chAsterisk = 0x2A;
45 const XMLCh chAt = 0x40;
46 const XMLCh chBackSlash = 0x5C;
47 const XMLCh chBang = 0x21;
48 const XMLCh chCaret = 0x5E;
49 const XMLCh chCloseAngle = 0x3E;
50 const XMLCh chCloseCurly = 0x7D;
51 const XMLCh chCloseParen = 0x29;
52 const XMLCh chCloseSquare = 0x5D;
53 const XMLCh chColon = 0x3A;
54 const XMLCh chComma = 0x2C;
55 const XMLCh chDash = 0x2D;
56 const XMLCh chDollarSign = 0x24;
57 const XMLCh chDoubleQuote = 0x22;
58 const XMLCh chEqual = 0x3D;
59 const XMLCh chForwardSlash = 0x2F;
60 const XMLCh chGrave = 0x60;
61 const XMLCh chNEL = 0x85;
62 const XMLCh chOpenAngle = 0x3C;
63 const XMLCh chOpenCurly = 0x7B;
64 const XMLCh chOpenParen = 0x28;
65 const XMLCh chOpenSquare = 0x5B;
66 const XMLCh chPercent = 0x25;
67 const XMLCh chPeriod = 0x2E;
68 const XMLCh chPipe = 0x7C;
69 const XMLCh chPlus = 0x2B;
70 const XMLCh chPound = 0x23;
71 const XMLCh chQuestion = 0x3F;
72 const XMLCh chSingleQuote = 0x27;
73 const XMLCh chSpace = 0x20;
74 const XMLCh chSemiColon = 0x3B;
75 const XMLCh chTilde = 0x7E;
76 const XMLCh chUnderscore = 0x5F;
77
78 const XMLCh chSwappedUnicodeMarker = XMLCh(0xFFFE);
79 const XMLCh chUnicodeMarker = XMLCh(0xFEFF);
80
81 const XMLCh chDigit_0 = 0x30;
82 const XMLCh chDigit_1 = 0x31;
83 const XMLCh chDigit_2 = 0x32;
84 const XMLCh chDigit_3 = 0x33;
85 const XMLCh chDigit_4 = 0x34;
86 const XMLCh chDigit_5 = 0x35;
87 const XMLCh chDigit_6 = 0x36;
88 const XMLCh chDigit_7 = 0x37;
89 const XMLCh chDigit_8 = 0x38;
90 const XMLCh chDigit_9 = 0x39;
91
92 const XMLCh chLatin_A = 0x41;
93 const XMLCh chLatin_B = 0x42;
94 const XMLCh chLatin_C = 0x43;
95 const XMLCh chLatin_D = 0x44;
96 const XMLCh chLatin_E = 0x45;
97 const XMLCh chLatin_F = 0x46;
98 const XMLCh chLatin_G = 0x47;
99 const XMLCh chLatin_H = 0x48;
100 const XMLCh chLatin_I = 0x49;
101 const XMLCh chLatin_J = 0x4A;
102 const XMLCh chLatin_K = 0x4B;
103 const XMLCh chLatin_L = 0x4C;
104 const XMLCh chLatin_M = 0x4D;
105 const XMLCh chLatin_N = 0x4E;
106 const XMLCh chLatin_O = 0x4F;
107 const XMLCh chLatin_P = 0x50;
108 const XMLCh chLatin_Q = 0x51;
109 const XMLCh chLatin_R = 0x52;
110 const XMLCh chLatin_S = 0x53;
111 const XMLCh chLatin_T = 0x54;
112 const XMLCh chLatin_U = 0x55;
113 const XMLCh chLatin_V = 0x56;
114 const XMLCh chLatin_W = 0x57;
115 const XMLCh chLatin_X = 0x58;
116 const XMLCh chLatin_Y = 0x59;
117 const XMLCh chLatin_Z = 0x5A;
118
119 const XMLCh chLatin_a = 0x61;
120 const XMLCh chLatin_b = 0x62;
121 const XMLCh chLatin_c = 0x63;
122 const XMLCh chLatin_d = 0x64;
123 const XMLCh chLatin_e = 0x65;
124 const XMLCh chLatin_f = 0x66;
125 const XMLCh chLatin_g = 0x67;
126 const XMLCh chLatin_h = 0x68;
127 const XMLCh chLatin_i = 0x69;
128 const XMLCh chLatin_j = 0x6A;
129 const XMLCh chLatin_k = 0x6B;
130 const XMLCh chLatin_l = 0x6C;
131 const XMLCh chLatin_m = 0x6D;
132 const XMLCh chLatin_n = 0x6E;
133 const XMLCh chLatin_o = 0x6F;
134 const XMLCh chLatin_p = 0x70;
135 const XMLCh chLatin_q = 0x71;
136 const XMLCh chLatin_r = 0x72;
137 const XMLCh chLatin_s = 0x73;
138 const XMLCh chLatin_t = 0x74;
139 const XMLCh chLatin_u = 0x75;
140 const XMLCh chLatin_v = 0x76;
141 const XMLCh chLatin_w = 0x77;
142 const XMLCh chLatin_x = 0x78;
143 const XMLCh chLatin_y = 0x79;
144 const XMLCh chLatin_z = 0x7A;
145
146 const XMLCh chYenSign = 0xA5;
147 const XMLCh chWonSign = 0x20A9;
148
149 const XMLCh chLineSeparator = 0x2028;
150 const XMLCh chParagraphSeparator = 0x2029;
151
152 XERCES_CPP_NAMESPACE_END
153
154 #endif
chCloseSquare
const XMLCh chCloseSquare
Definition: XMLUniDefs.hpp:52
chDigit_2
const XMLCh chDigit_2
Definition: XMLUniDefs.hpp:83
chAmpersand
const XMLCh chAmpersand
Definition: XMLUniDefs.hpp:43
chLatin_V
const XMLCh chLatin_V
Definition: XMLUniDefs.hpp:113
chLatin_G
const XMLCh chLatin_G
Definition: XMLUniDefs.hpp:98
chLatin_P
const XMLCh chLatin_P
Definition: XMLUniDefs.hpp:107
chSwappedUnicodeMarker
const XMLCh chSwappedUnicodeMarker
Definition: XMLUniDefs.hpp:78
chLatin_N
const XMLCh chLatin_N
Definition: XMLUniDefs.hpp:105
chLatin_D
const XMLCh chLatin_D
Definition: XMLUniDefs.hpp:95
chLatin_H
const XMLCh chLatin_H
Definition: XMLUniDefs.hpp:99
chLatin_f
const XMLCh chLatin_f
Definition: XMLUniDefs.hpp:124
chLatin_o
const XMLCh chLatin_o
Definition: XMLUniDefs.hpp:133
chLatin_e
const XMLCh chLatin_e
Definition: XMLUniDefs.hpp:123
chLatin_W
const XMLCh chLatin_W
Definition: XMLUniDefs.hpp:114
chLatin_O
const XMLCh chLatin_O
Definition: XMLUniDefs.hpp:106
chLatin_M
const XMLCh chLatin_M
Definition: XMLUniDefs.hpp:104
chForwardSlash
const XMLCh chForwardSlash
Definition: XMLUniDefs.hpp:59
chLF
const XMLCh chLF
Definition: XMLUniDefs.hpp:39
chLatin_j
const XMLCh chLatin_j
Definition: XMLUniDefs.hpp:128
chLatin_b
const XMLCh chLatin_b
Definition: XMLUniDefs.hpp:120
chLatin_g
const XMLCh chLatin_g
Definition: XMLUniDefs.hpp:125
chLatin_i
const XMLCh chLatin_i
Definition: XMLUniDefs.hpp:127
chLatin_F
const XMLCh chLatin_F
Definition: XMLUniDefs.hpp:97
XercesDefs.hpp
chDigit_6
const XMLCh chDigit_6
Definition: XMLUniDefs.hpp:87
chLatin_l
const XMLCh chLatin_l
Definition: XMLUniDefs.hpp:130
chEqual
const XMLCh chEqual
Definition: XMLUniDefs.hpp:58
chLatin_k
const XMLCh chLatin_k
Definition: XMLUniDefs.hpp:129
chOpenAngle
const XMLCh chOpenAngle
Definition: XMLUniDefs.hpp:62
chPound
const XMLCh chPound
Definition: XMLUniDefs.hpp:70
chNEL
const XMLCh chNEL
Definition: XMLUniDefs.hpp:61
chCloseCurly
const XMLCh chCloseCurly
Definition: XMLUniDefs.hpp:50
chOpenSquare
const XMLCh chOpenSquare
Definition: XMLUniDefs.hpp:65
chAt
const XMLCh chAt
Definition: XMLUniDefs.hpp:45
chCR
const XMLCh chCR
Definition: XMLUniDefs.hpp:42
chParagraphSeparator
const XMLCh chParagraphSeparator
Definition: XMLUniDefs.hpp:150
chLatin_h
const XMLCh chLatin_h
Definition: XMLUniDefs.hpp:126
chLatin_A
const XMLCh chLatin_A
Definition: XMLUniDefs.hpp:92
chLatin_Q
const XMLCh chLatin_Q
Definition: XMLUniDefs.hpp:108
chLatin_E
const XMLCh chLatin_E
Definition: XMLUniDefs.hpp:96
chLatin_d
const XMLCh chLatin_d
Definition: XMLUniDefs.hpp:122
chDigit_8
const XMLCh chDigit_8
Definition: XMLUniDefs.hpp:89
chUnicodeMarker
const XMLCh chUnicodeMarker
Definition: XMLUniDefs.hpp:79
chDigit_7
const XMLCh chDigit_7
Definition: XMLUniDefs.hpp:88
chAsterisk
const XMLCh chAsterisk
Definition: XMLUniDefs.hpp:44
chLatin_Y
const XMLCh chLatin_Y
Definition: XMLUniDefs.hpp:116
chLatin_C
const XMLCh chLatin_C
Definition: XMLUniDefs.hpp:94
chUnderscore
const XMLCh chUnderscore
Definition: XMLUniDefs.hpp:76
chLatin_T
const XMLCh chLatin_T
Definition: XMLUniDefs.hpp:111
chCaret
const XMLCh chCaret
Definition: XMLUniDefs.hpp:48
chLatin_q
const XMLCh chLatin_q
Definition: XMLUniDefs.hpp:135
chLatin_S
const XMLCh chLatin_S
Definition: XMLUniDefs.hpp:110
chLatin_x
const XMLCh chLatin_x
Definition: XMLUniDefs.hpp:142
chSpace
const XMLCh chSpace
Definition: XMLUniDefs.hpp:73
chLatin_U
const XMLCh chLatin_U
Definition: XMLUniDefs.hpp:112
chDigit_1
const XMLCh chDigit_1
Definition: XMLUniDefs.hpp:82
chPlus
const XMLCh chPlus
Definition: XMLUniDefs.hpp:69
chYenSign
const XMLCh chYenSign
Definition: XMLUniDefs.hpp:146
XMLCh
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:118
chHTab
const XMLCh chHTab
Definition: XMLUniDefs.hpp:38
chDigit_9
const XMLCh chDigit_9
Definition: XMLUniDefs.hpp:90
chQuestion
const XMLCh chQuestion
Definition: XMLUniDefs.hpp:71
chDigit_5
const XMLCh chDigit_5
Definition: XMLUniDefs.hpp:86
chSingleQuote
const XMLCh chSingleQuote
Definition: XMLUniDefs.hpp:72
XERCES_CPP_NAMESPACE_BEGIN
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
chLatin_v
const XMLCh chLatin_v
Definition: XMLUniDefs.hpp:140
chLatin_u
const XMLCh chLatin_u
Definition: XMLUniDefs.hpp:139
chLatin_X
const XMLCh chLatin_X
Definition: XMLUniDefs.hpp:115
chDollarSign
const XMLCh chDollarSign
Definition: XMLUniDefs.hpp:56
chDoubleQuote
const XMLCh chDoubleQuote
Definition: XMLUniDefs.hpp:57
chLatin_c
const XMLCh chLatin_c
Definition: XMLUniDefs.hpp:121
chLatin_B
const XMLCh chLatin_B
Definition: XMLUniDefs.hpp:93
chLatin_z
const XMLCh chLatin_z
Definition: XMLUniDefs.hpp:144
chCloseParen
const XMLCh chCloseParen
Definition: XMLUniDefs.hpp:51
chPercent
const XMLCh chPercent
Definition: XMLUniDefs.hpp:66
chLatin_y
const XMLCh chLatin_y
Definition: XMLUniDefs.hpp:143
chFF
const XMLCh chFF
Definition: XMLUniDefs.hpp:41
chLatin_K
const XMLCh chLatin_K
Definition: XMLUniDefs.hpp:102
chLatin_s
const XMLCh chLatin_s
Definition: XMLUniDefs.hpp:137
chPipe
const XMLCh chPipe
Definition: XMLUniDefs.hpp:68
chLatin_p
const XMLCh chLatin_p
Definition: XMLUniDefs.hpp:134
chLatin_J
const XMLCh chLatin_J
Definition: XMLUniDefs.hpp:101
XERCES_CPP_NAMESPACE_END
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
chLineSeparator
const XMLCh chLineSeparator
Definition: XMLUniDefs.hpp:149
chBackSlash
const XMLCh chBackSlash
Definition: XMLUniDefs.hpp:46
chOpenParen
const XMLCh chOpenParen
Definition: XMLUniDefs.hpp:64
chGrave
const XMLCh chGrave
Definition: XMLUniDefs.hpp:60
chLatin_w
const XMLCh chLatin_w
Definition: XMLUniDefs.hpp:141
chWonSign
const XMLCh chWonSign
Definition: XMLUniDefs.hpp:147
chVTab
const XMLCh chVTab
Definition: XMLUniDefs.hpp:40
chSemiColon
const XMLCh chSemiColon
Definition: XMLUniDefs.hpp:74
chOpenCurly
const XMLCh chOpenCurly
Definition: XMLUniDefs.hpp:63
chLatin_m
const XMLCh chLatin_m
Definition: XMLUniDefs.hpp:131
chLatin_n
const XMLCh chLatin_n
Definition: XMLUniDefs.hpp:132
chPeriod
const XMLCh chPeriod
Definition: XMLUniDefs.hpp:67
chColon
const XMLCh chColon
Definition: XMLUniDefs.hpp:53
chNull
XERCES_CPP_NAMESPACE_BEGIN const XMLCh chNull
Definition: XMLUniDefs.hpp:37
chLatin_Z
const XMLCh chLatin_Z
Definition: XMLUniDefs.hpp:117
chBang
const XMLCh chBang
Definition: XMLUniDefs.hpp:47
chDigit_3
const XMLCh chDigit_3
Definition: XMLUniDefs.hpp:84
chLatin_r
const XMLCh chLatin_r
Definition: XMLUniDefs.hpp:136
chDash
const XMLCh chDash
Definition: XMLUniDefs.hpp:55
chCloseAngle
const XMLCh chCloseAngle
Definition: XMLUniDefs.hpp:49
chComma
const XMLCh chComma
Definition: XMLUniDefs.hpp:54
chLatin_t
const XMLCh chLatin_t
Definition: XMLUniDefs.hpp:138
chLatin_a
const XMLCh chLatin_a
Definition: XMLUniDefs.hpp:119
chDigit_0
const XMLCh chDigit_0
Definition: XMLUniDefs.hpp:81
chTilde
const XMLCh chTilde
Definition: XMLUniDefs.hpp:75
chLatin_L
const XMLCh chLatin_L
Definition: XMLUniDefs.hpp:103
chDigit_4
const XMLCh chDigit_4
Definition: XMLUniDefs.hpp:85
chLatin_I
const XMLCh chLatin_I
Definition: XMLUniDefs.hpp:100
chLatin_R
const XMLCh chLatin_R
Definition: XMLUniDefs.hpp:109