Main Page   Class Hierarchy   Compound List   File List   Compound Members  

XMLUniDefs.hpp

00001 /*
00002  * The Apache Software License, Version 1.1
00003  *
00004  * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
00005  * reserved.
00006  *
00007  * Redistribution and use in source and binary forms, with or without
00008  * modification, are permitted provided that the following conditions
00009  * are met:
00010  *
00011  * 1. Redistributions of source code must retain the above copyright
00012  *    notice, this list of conditions and the following disclaimer.
00013  *
00014  * 2. Redistributions in binary form must reproduce the above copyright
00015  *    notice, this list of conditions and the following disclaimer in
00016  *    the documentation and/or other materials provided with the
00017  *    distribution.
00018  *
00019  * 3. The end-user documentation included with the redistribution,
00020  *    if any, must include the following acknowledgment:
00021  *       "This product includes software developed by the
00022  *        Apache Software Foundation (http://www.apache.org/)."
00023  *    Alternately, this acknowledgment may appear in the software itself,
00024  *    if and wherever such third-party acknowledgments normally appear.
00025  *
00026  * 4. The names "Xerces" and "Apache Software Foundation" must
00027  *    not be used to endorse or promote products derived from this
00028  *    software without prior written permission. For written
00029  *    permission, please contact apache\@apache.org.
00030  *
00031  * 5. Products derived from this software may not be called "Apache",
00032  *    nor may "Apache" appear in their name, without prior written
00033  *    permission of the Apache Software Foundation.
00034  *
00035  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
00036  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00037  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00038  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
00039  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00040  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00041  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
00042  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00043  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00044  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
00045  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00046  * SUCH DAMAGE.
00047  * ====================================================================
00048  *
00049  * This software consists of voluntary contributions made by many
00050  * individuals on behalf of the Apache Software Foundation, and was
00051  * originally based on software copyright (c) 1999, International
00052  * Business Machines, Inc., http://www.ibm.com .  For more information
00053  * on the Apache Software Foundation, please see
00054  * <http://www.apache.org/>.
00055  */
00056 
00057 /*
00058  * $Id: XMLUniDefs.hpp,v 1.1 2002/05/11 21:20:56 bhavani Exp $
00059  */
00060 #if !defined(XMLUNIDEFS_HPP)
00061 #define XMLUNIDEFS_HPP
00062 
00063 #include <xercesc/util/XercesDefs.hpp>
00064 
00065 // ---------------------------------------------------------------------------
00066 //  Constants for the Unicode characters of interest to us in an XML parser
00067 //  We don't put these inside the class because then they could not be const
00068 //  inline values, which would have significant performance ramifications.
00069 //
00070 //  We cannot use a namespace because of the requirement to support old
00071 //  compilers.
00072 // ---------------------------------------------------------------------------
00073 const XMLCh chNull                  = 0x00;
00074 const XMLCh chHTab                  = 0x09;
00075 const XMLCh chLF                    = 0x0A;
00076 const XMLCh chVTab                  = 0x0B;
00077 const XMLCh chFF                    = 0x0C;
00078 const XMLCh chCR                    = 0x0D;
00079 const XMLCh chAmpersand             = 0x26;
00080 const XMLCh chAsterisk              = 0x2A;
00081 const XMLCh chAt                    = 0x40;
00082 const XMLCh chBackSlash             = 0x5C;
00083 const XMLCh chBang                  = 0x21;
00084 const XMLCh chCaret                 = 0x5E;
00085 const XMLCh chCloseAngle            = 0x3E;
00086 const XMLCh chCloseCurly            = 0x7D;
00087 const XMLCh chCloseParen            = 0x29;
00088 const XMLCh chCloseSquare           = 0x5D;
00089 const XMLCh chColon                 = 0x3A;
00090 const XMLCh chComma                 = 0x2C;
00091 const XMLCh chDash                  = 0x2D;
00092 const XMLCh chDollarSign            = 0x24;
00093 const XMLCh chDoubleQuote           = 0x22;
00094 const XMLCh chEqual                 = 0x3D;
00095 const XMLCh chForwardSlash          = 0x2F;
00096 const XMLCh chGrave                 = 0x60;
00097 const XMLCh chNEL                   = 0x85;
00098 const XMLCh chOpenAngle             = 0x3C;
00099 const XMLCh chOpenCurly             = 0x7B;
00100 const XMLCh chOpenParen             = 0x28;
00101 const XMLCh chOpenSquare            = 0x5B;
00102 const XMLCh chPercent               = 0x25;
00103 const XMLCh chPeriod                = 0x2E;
00104 const XMLCh chPipe                  = 0x7C;
00105 const XMLCh chPlus                  = 0x2B;
00106 const XMLCh chPound                 = 0x23;
00107 const XMLCh chQuestion              = 0x3F;
00108 const XMLCh chSingleQuote           = 0x27;
00109 const XMLCh chSpace                 = 0x20;
00110 const XMLCh chSemiColon             = 0x3B;
00111 const XMLCh chTilde                 = 0x7E;
00112 const XMLCh chUnderscore            = 0x5F;
00113 
00114 const XMLCh chSwappedUnicodeMarker  = XMLCh(0xFFFE);
00115 const XMLCh chUnicodeMarker         = XMLCh(0xFEFF);
00116 
00117 const XMLCh chDigit_0               = 0x30;
00118 const XMLCh chDigit_1               = 0x31;
00119 const XMLCh chDigit_2               = 0x32;
00120 const XMLCh chDigit_3               = 0x33;
00121 const XMLCh chDigit_4               = 0x34;
00122 const XMLCh chDigit_5               = 0x35;
00123 const XMLCh chDigit_6               = 0x36;
00124 const XMLCh chDigit_7               = 0x37;
00125 const XMLCh chDigit_8               = 0x38;
00126 const XMLCh chDigit_9               = 0x39;
00127 
00128 const XMLCh chLatin_A               = 0x41;
00129 const XMLCh chLatin_B               = 0x42;
00130 const XMLCh chLatin_C               = 0x43;
00131 const XMLCh chLatin_D               = 0x44;
00132 const XMLCh chLatin_E               = 0x45;
00133 const XMLCh chLatin_F               = 0x46;
00134 const XMLCh chLatin_G               = 0x47;
00135 const XMLCh chLatin_H               = 0x48;
00136 const XMLCh chLatin_I               = 0x49;
00137 const XMLCh chLatin_J               = 0x4A;
00138 const XMLCh chLatin_K               = 0x4B;
00139 const XMLCh chLatin_L               = 0x4C;
00140 const XMLCh chLatin_M               = 0x4D;
00141 const XMLCh chLatin_N               = 0x4E;
00142 const XMLCh chLatin_O               = 0x4F;
00143 const XMLCh chLatin_P               = 0x50;
00144 const XMLCh chLatin_Q               = 0x51;
00145 const XMLCh chLatin_R               = 0x52;
00146 const XMLCh chLatin_S               = 0x53;
00147 const XMLCh chLatin_T               = 0x54;
00148 const XMLCh chLatin_U               = 0x55;
00149 const XMLCh chLatin_V               = 0x56;
00150 const XMLCh chLatin_W               = 0x57;
00151 const XMLCh chLatin_X               = 0x58;
00152 const XMLCh chLatin_Y               = 0x59;
00153 const XMLCh chLatin_Z               = 0x5A;
00154 
00155 const XMLCh chLatin_a               = 0x61;
00156 const XMLCh chLatin_b               = 0x62;
00157 const XMLCh chLatin_c               = 0x63;
00158 const XMLCh chLatin_d               = 0x64;
00159 const XMLCh chLatin_e               = 0x65;
00160 const XMLCh chLatin_f               = 0x66;
00161 const XMLCh chLatin_g               = 0x67;
00162 const XMLCh chLatin_h               = 0x68;
00163 const XMLCh chLatin_i               = 0x69;
00164 const XMLCh chLatin_j               = 0x6A;
00165 const XMLCh chLatin_k               = 0x6B;
00166 const XMLCh chLatin_l               = 0x6C;
00167 const XMLCh chLatin_m               = 0x6D;
00168 const XMLCh chLatin_n               = 0x6E;
00169 const XMLCh chLatin_o               = 0x6F;
00170 const XMLCh chLatin_p               = 0x70;
00171 const XMLCh chLatin_q               = 0x71;
00172 const XMLCh chLatin_r               = 0x72;
00173 const XMLCh chLatin_s               = 0x73;
00174 const XMLCh chLatin_t               = 0x74;
00175 const XMLCh chLatin_u               = 0x75;
00176 const XMLCh chLatin_v               = 0x76;
00177 const XMLCh chLatin_w               = 0x77;
00178 const XMLCh chLatin_x               = 0x78;
00179 const XMLCh chLatin_y               = 0x79;
00180 const XMLCh chLatin_z               = 0x7A;
00181 
00182 const XMLCh chYenSign               = 0xA5;
00183 const XMLCh chWonSign               = 0x20A9;
00184 
00185 const XMLCh chLineSeparator         = 0x2028;
00186 const XMLCh chParagraphSeparator    = 0x2029;
00187 
00188 #endif

Generated on Tue Nov 19 09:36:36 2002 by doxygen1.3-rc1