00001 /* 00002 * The Apache Software License, Version 1.1 00003 * 00004 * 00005 * Copyright (c) 2000-2002 The Apache Software Foundation. All rights 00006 * reserved. 00007 * 00008 * Redistribution and use in source and binary forms, with or without 00009 * modification, are permitted provided that the following conditions 00010 * are met: 00011 * 00012 * 1. Redistributions of source code must retain the above copyright 00013 * notice, this list of conditions and the following disclaimer. 00014 * 00015 * 2. Redistributions in binary form must reproduce the above copyright 00016 * notice, this list of conditions and the following disclaimer in 00017 * the documentation and/or other materials provided with the 00018 * distribution. 00019 * 00020 * 3. The end-user documentation included with the redistribution, 00021 * if any, must include the following acknowledgment: 00022 * "This product includes software developed by the 00023 * Apache Software Foundation (http://www.apache.org/)." 00024 * Alternately, this acknowledgment may appear in the software itself, 00025 * if and wherever such third-party acknowledgments normally appear. 00026 * 00027 * 4. The names "Xalan" and "Apache Software Foundation" must 00028 * not be used to endorse or promote products derived from this 00029 * software without prior written permission. For written 00030 * permission, please contact apache@apache.org. 00031 * 00032 * 5. Products derived from this software may not be called "Apache", 00033 * nor may "Apache" appear in their name, without prior written 00034 * permission of the Apache Software Foundation. 00035 * 00036 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 00037 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00038 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00039 * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 00040 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00041 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 00042 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 00043 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00044 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00045 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 00046 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00047 * SUCH DAMAGE. 00048 * ==================================================================== 00049 * 00050 * This software consists of voluntary contributions made by many 00051 * individuals on behalf of the Apache Software Foundation and was 00052 * originally based on software copyright (c) 1999, International 00053 * Business Machines, Inc., http://www.ibm.com. For more 00054 * information on the Apache Software Foundation, please see 00055 * <http://www.apache.org/>. 00056 */ 00057 #if !defined(XALANUNICODE_HEADER_GUARD_1357924680) 00058 #define XALANUNICODE_HEADER_GUARD_1357924680 00059 00060 00061 00062 // Base include file. Must be first. 00063 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp> 00064 00065 00066 00067 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00068 00069 00070 00071 XALAN_CPP_NAMESPACE_BEGIN 00072 00073 00074 00075 #if defined(XALAN_HAS_CPP_NAMESPACE) 00076 namespace XalanUnicode 00077 #else 00078 struct XALAN_PLATFORMSUPPORT_EXPORT XalanUnicode 00079 #endif 00080 { 00081 #if !defined(XALAN_HAS_CPP_NAMESPACE) 00082 00083 enum 00084 { 00085 charHTab = 0x09, 00086 charLF = 0x0A, 00087 charFF = 0x0C, 00088 charCR = 0x0D, 00089 charSpace = 0x20, 00090 00091 charExclamationMark = 0x21, 00092 00093 charQuoteMark = 0x22, 00094 00095 charNumberSign = 0x23, 00096 00097 charDollarSign = 0x24, 00098 00099 charPercentSign = 0x25, 00100 00101 charAmpersand = 0x26, 00102 00103 charApostrophe = 0x27, 00104 00105 charLeftParenthesis = 0x28, 00106 charRightParenthesis = 0x29, 00107 00108 charAsterisk = 0x2A, 00109 00110 charPlusSign = 0x2B, 00111 00112 charComma = 0x2C, 00113 00114 charHyphenMinus = 0x2D, 00115 00116 charFullStop = 0x2E, 00117 00118 charSolidus = 0x2F, 00119 00120 charDigit_0 = 0x30, 00121 charDigit_1 = 0x31, 00122 charDigit_2 = 0x32, 00123 charDigit_3 = 0x33, 00124 charDigit_4 = 0x34, 00125 charDigit_5 = 0x35, 00126 charDigit_6 = 0x36, 00127 charDigit_7 = 0x37, 00128 charDigit_8 = 0x38, 00129 charDigit_9 = 0x39, 00130 00131 charColon = 0x3A, 00132 charSemicolon = 0x3B, 00133 00134 charLessThanSign = 0x3C, 00135 00136 charEqualsSign = 0x3D, 00137 00138 charGreaterThanSign = 0x3E, 00139 00140 charQuestionMark = 0x3F, 00141 00142 charCommercialAt = 0x40, 00143 00144 charLetter_A = 0x41, 00145 charLetter_B = 0x42, 00146 charLetter_C = 0x43, 00147 charLetter_D = 0x44, 00148 charLetter_E = 0x45, 00149 charLetter_F = 0x46, 00150 charLetter_G = 0x47, 00151 charLetter_H = 0x48, 00152 charLetter_I = 0x49, 00153 charLetter_J = 0x4A, 00154 charLetter_K = 0x4B, 00155 charLetter_L = 0x4C, 00156 charLetter_M = 0x4D, 00157 charLetter_N = 0x4E, 00158 charLetter_O = 0x4F, 00159 charLetter_P = 0x50, 00160 charLetter_Q = 0x51, 00161 charLetter_R = 0x52, 00162 charLetter_S = 0x53, 00163 charLetter_T = 0x54, 00164 charLetter_U = 0x55, 00165 charLetter_V = 0x56, 00166 charLetter_W = 0x57, 00167 charLetter_X = 0x58, 00168 charLetter_Y = 0x59, 00169 charLetter_Z = 0x5A, 00170 00171 charLeftSquareBracket = 0x5B, 00172 00173 charReverseSolidus = 0x5C, 00174 00175 charRightSquareBracket = 0x5D, 00176 00177 charCircumflexAccent = 0x5E, 00178 00179 charLowLine = 0x5F, 00180 00181 charLetter_a = 0x61, 00182 charLetter_b = 0x62, 00183 charLetter_c = 0x63, 00184 charLetter_d = 0x64, 00185 charLetter_e = 0x65, 00186 charLetter_f = 0x66, 00187 charLetter_g = 0x67, 00188 charLetter_h = 0x68, 00189 charLetter_i = 0x69, 00190 charLetter_j = 0x6A, 00191 charLetter_k = 0x6B, 00192 charLetter_l = 0x6C, 00193 charLetter_m = 0x6D, 00194 charLetter_n = 0x6E, 00195 charLetter_o = 0x6F, 00196 charLetter_p = 0x70, 00197 charLetter_q = 0x71, 00198 charLetter_r = 0x72, 00199 charLetter_s = 0x73, 00200 charLetter_t = 0x74, 00201 charLetter_u = 0x75, 00202 charLetter_v = 0x76, 00203 charLetter_w = 0x77, 00204 charLetter_x = 0x78, 00205 charLetter_y = 0x79, 00206 charLetter_z = 0x7A, 00207 00208 charLeftCurlyBracket = 0x7B, 00209 00210 charVerticalLine = 0x7C, 00211 00212 charRightCurlyBracket = 0x7D, 00213 00214 charPerMilleSign = 0x2030 00215 }; 00216 00217 #else 00218 00219 static const XalanDOMChar charHTab = 0x09; 00220 static const XalanDOMChar charLF = 0x0A; 00221 static const XalanDOMChar charCR = 0x0D; 00222 static const XalanDOMChar charFF = 0x0C; 00223 static const XalanDOMChar charSpace = 0x20; 00224 00225 static const XalanDOMChar charExclamationMark = 0x21; 00226 00227 static const XalanDOMChar charQuoteMark = 0x22; 00228 00229 static const XalanDOMChar charNumberSign = 0x23; 00230 00231 static const XalanDOMChar charDollarSign = 0x24; 00232 00233 static const XalanDOMChar charPercentSign = 0x25; 00234 00235 static const XalanDOMChar charAmpersand = 0x26; 00236 00237 static const XalanDOMChar charApostrophe = 0x27; 00238 00239 static const XalanDOMChar charLeftParenthesis = 0x28; 00240 static const XalanDOMChar charRightParenthesis = 0x29; 00241 00242 static const XalanDOMChar charAsterisk = 0x2A; 00243 00244 static const XalanDOMChar charPlusSign = 0x2B; 00245 00246 static const XalanDOMChar charComma = 0x2C; 00247 00248 static const XalanDOMChar charHyphenMinus = 0x2D; 00249 00250 static const XalanDOMChar charFullStop = 0x2E; 00251 00252 static const XalanDOMChar charSolidus = 0x2F; 00253 00254 static const XalanDOMChar charDigit_0 = 0x30; 00255 static const XalanDOMChar charDigit_1 = 0x31; 00256 static const XalanDOMChar charDigit_2 = 0x32; 00257 static const XalanDOMChar charDigit_3 = 0x33; 00258 static const XalanDOMChar charDigit_4 = 0x34; 00259 static const XalanDOMChar charDigit_5 = 0x35; 00260 static const XalanDOMChar charDigit_6 = 0x36; 00261 static const XalanDOMChar charDigit_7 = 0x37; 00262 static const XalanDOMChar charDigit_8 = 0x38; 00263 static const XalanDOMChar charDigit_9 = 0x39; 00264 00265 static const XalanDOMChar charColon = 0x3A; 00266 static const XalanDOMChar charSemicolon = 0x3B; 00267 00268 static const XalanDOMChar charLessThanSign = 0x3C; 00269 00270 static const XalanDOMChar charEqualsSign = 0x3D; 00271 00272 static const XalanDOMChar charGreaterThanSign = 0x3E; 00273 00274 static const XalanDOMChar charQuestionMark = 0x3F; 00275 00276 static const XalanDOMChar charCommercialAt = 0x40; 00277 00278 static const XalanDOMChar charLetter_A = 0x41; 00279 static const XalanDOMChar charLetter_B = 0x42; 00280 static const XalanDOMChar charLetter_C = 0x43; 00281 static const XalanDOMChar charLetter_D = 0x44; 00282 static const XalanDOMChar charLetter_E = 0x45; 00283 static const XalanDOMChar charLetter_F = 0x46; 00284 static const XalanDOMChar charLetter_G = 0x47; 00285 static const XalanDOMChar charLetter_H = 0x48; 00286 static const XalanDOMChar charLetter_I = 0x49; 00287 static const XalanDOMChar charLetter_J = 0x4A; 00288 static const XalanDOMChar charLetter_K = 0x4B; 00289 static const XalanDOMChar charLetter_L = 0x4C; 00290 static const XalanDOMChar charLetter_M = 0x4D; 00291 static const XalanDOMChar charLetter_N = 0x4E; 00292 static const XalanDOMChar charLetter_O = 0x4F; 00293 static const XalanDOMChar charLetter_P = 0x50; 00294 static const XalanDOMChar charLetter_Q = 0x51; 00295 static const XalanDOMChar charLetter_R = 0x52; 00296 static const XalanDOMChar charLetter_S = 0x53; 00297 static const XalanDOMChar charLetter_T = 0x54; 00298 static const XalanDOMChar charLetter_U = 0x55; 00299 static const XalanDOMChar charLetter_V = 0x56; 00300 static const XalanDOMChar charLetter_W = 0x57; 00301 static const XalanDOMChar charLetter_X = 0x58; 00302 static const XalanDOMChar charLetter_Y = 0x59; 00303 static const XalanDOMChar charLetter_Z = 0x5A; 00304 00305 static const XalanDOMChar charLeftSquareBracket = 0x5B; 00306 00307 static const XalanDOMChar charReverseSolidus = 0x5C; 00308 00309 static const XalanDOMChar charRightSquareBracket = 0x5D; 00310 00311 static const XalanDOMChar charCircumflexAccent = 0x5E; 00312 00313 static const XalanDOMChar charLowLine = 0x5F; 00314 00315 static const XalanDOMChar charLetter_a = 0x61; 00316 static const XalanDOMChar charLetter_b = 0x62; 00317 static const XalanDOMChar charLetter_c = 0x63; 00318 static const XalanDOMChar charLetter_d = 0x64; 00319 static const XalanDOMChar charLetter_e = 0x65; 00320 static const XalanDOMChar charLetter_f = 0x66; 00321 static const XalanDOMChar charLetter_g = 0x67; 00322 static const XalanDOMChar charLetter_h = 0x68; 00323 static const XalanDOMChar charLetter_i = 0x69; 00324 static const XalanDOMChar charLetter_j = 0x6A; 00325 static const XalanDOMChar charLetter_k = 0x6B; 00326 static const XalanDOMChar charLetter_l = 0x6C; 00327 static const XalanDOMChar charLetter_m = 0x6D; 00328 static const XalanDOMChar charLetter_n = 0x6E; 00329 static const XalanDOMChar charLetter_o = 0x6F; 00330 static const XalanDOMChar charLetter_p = 0x70; 00331 static const XalanDOMChar charLetter_q = 0x71; 00332 static const XalanDOMChar charLetter_r = 0x72; 00333 static const XalanDOMChar charLetter_s = 0x73; 00334 static const XalanDOMChar charLetter_t = 0x74; 00335 static const XalanDOMChar charLetter_u = 0x75; 00336 static const XalanDOMChar charLetter_v = 0x76; 00337 static const XalanDOMChar charLetter_w = 0x77; 00338 static const XalanDOMChar charLetter_x = 0x78; 00339 static const XalanDOMChar charLetter_y = 0x79; 00340 static const XalanDOMChar charLetter_z = 0x7A; 00341 00342 static const XalanDOMChar charLeftCurlyBracket = 0x7B; 00343 00344 static const XalanDOMChar charVerticalLine = 0x7C; 00345 00346 static const XalanDOMChar charRightCurlyBracket = 0x7D; 00347 00348 static const XalanDOMChar charPerMilleSign = 0x2030; 00349 #endif 00350 00351 00352 00353 #if !defined(XALAN_HAS_CPP_NAMESPACE) 00354 00355 private: 00356 00357 // Not implemented... 00358 XalanUnicode(); 00359 00360 XalanUnicode(const XalanUnicode&); 00361 00362 ~XalanUnicode(); 00363 00364 XalanUnicode& 00365 operator=(const XalanUnicode&); 00366 00367 }; 00368 #else 00369 } 00370 #endif 00371 00372 00373 00374 XALAN_CPP_NAMESPACE_END 00375 00376 00377 00378 #endif // XALANUNICODE_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.6 |
|