http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Release Info

Installation
Download
Build

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XMLUniDefs.hpp

Go to the documentation of this file.
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.2 2002/11/04 15:22:05 tng Exp $
00059  */
00060 #if !defined(XMLUNIDEFS_HPP)
00061 #define XMLUNIDEFS_HPP
00062 
00063 #include <xercesc/util/XercesDefs.hpp>
00064 
00065 XERCES_CPP_NAMESPACE_BEGIN
00066 
00067 // ---------------------------------------------------------------------------
00068 //  Constants for the Unicode characters of interest to us in an XML parser
00069 //  We don't put these inside the class because then they could not be const
00070 //  inline values, which would have significant performance ramifications.
00071 //
00072 //  We cannot use a namespace because of the requirement to support old
00073 //  compilers.
00074 // ---------------------------------------------------------------------------
00075 const XMLCh chNull                  = 0x00;
00076 const XMLCh chHTab                  = 0x09;
00077 const XMLCh chLF                    = 0x0A;
00078 const XMLCh chVTab                  = 0x0B;
00079 const XMLCh chFF                    = 0x0C;
00080 const XMLCh chCR                    = 0x0D;
00081 const XMLCh chAmpersand             = 0x26;
00082 const XMLCh chAsterisk              = 0x2A;
00083 const XMLCh chAt                    = 0x40;
00084 const XMLCh chBackSlash             = 0x5C;
00085 const XMLCh chBang                  = 0x21;
00086 const XMLCh chCaret                 = 0x5E;
00087 const XMLCh chCloseAngle            = 0x3E;
00088 const XMLCh chCloseCurly            = 0x7D;
00089 const XMLCh chCloseParen            = 0x29;
00090 const XMLCh chCloseSquare           = 0x5D;
00091 const XMLCh chColon                 = 0x3A;
00092 const XMLCh chComma                 = 0x2C;
00093 const XMLCh chDash                  = 0x2D;
00094 const XMLCh chDollarSign            = 0x24;
00095 const XMLCh chDoubleQuote           = 0x22;
00096 const XMLCh chEqual                 = 0x3D;
00097 const XMLCh chForwardSlash          = 0x2F;
00098 const XMLCh chGrave                 = 0x60;
00099 const XMLCh chNEL                   = 0x85;
00100 const XMLCh chOpenAngle             = 0x3C;
00101 const XMLCh chOpenCurly             = 0x7B;
00102 const XMLCh chOpenParen             = 0x28;
00103 const XMLCh chOpenSquare            = 0x5B;
00104 const XMLCh chPercent               = 0x25;
00105 const XMLCh chPeriod                = 0x2E;
00106 const XMLCh chPipe                  = 0x7C;
00107 const XMLCh chPlus                  = 0x2B;
00108 const XMLCh chPound                 = 0x23;
00109 const XMLCh chQuestion              = 0x3F;
00110 const XMLCh chSingleQuote           = 0x27;
00111 const XMLCh chSpace                 = 0x20;
00112 const XMLCh chSemiColon             = 0x3B;
00113 const XMLCh chTilde                 = 0x7E;
00114 const XMLCh chUnderscore            = 0x5F;
00115 
00116 const XMLCh chSwappedUnicodeMarker  = XMLCh(0xFFFE);
00117 const XMLCh chUnicodeMarker         = XMLCh(0xFEFF);
00118 
00119 const XMLCh chDigit_0               = 0x30;
00120 const XMLCh chDigit_1               = 0x31;
00121 const XMLCh chDigit_2               = 0x32;
00122 const XMLCh chDigit_3               = 0x33;
00123 const XMLCh chDigit_4               = 0x34;
00124 const XMLCh chDigit_5               = 0x35;
00125 const XMLCh chDigit_6               = 0x36;
00126 const XMLCh chDigit_7               = 0x37;
00127 const XMLCh chDigit_8               = 0x38;
00128 const XMLCh chDigit_9               = 0x39;
00129 
00130 const XMLCh chLatin_A               = 0x41;
00131 const XMLCh chLatin_B               = 0x42;
00132 const XMLCh chLatin_C               = 0x43;
00133 const XMLCh chLatin_D               = 0x44;
00134 const XMLCh chLatin_E               = 0x45;
00135 const XMLCh chLatin_F               = 0x46;
00136 const XMLCh chLatin_G               = 0x47;
00137 const XMLCh chLatin_H               = 0x48;
00138 const XMLCh chLatin_I               = 0x49;
00139 const XMLCh chLatin_J               = 0x4A;
00140 const XMLCh chLatin_K               = 0x4B;
00141 const XMLCh chLatin_L               = 0x4C;
00142 const XMLCh chLatin_M               = 0x4D;
00143 const XMLCh chLatin_N               = 0x4E;
00144 const XMLCh chLatin_O               = 0x4F;
00145 const XMLCh chLatin_P               = 0x50;
00146 const XMLCh chLatin_Q               = 0x51;
00147 const XMLCh chLatin_R               = 0x52;
00148 const XMLCh chLatin_S               = 0x53;
00149 const XMLCh chLatin_T               = 0x54;
00150 const XMLCh chLatin_U               = 0x55;
00151 const XMLCh chLatin_V               = 0x56;
00152 const XMLCh chLatin_W               = 0x57;
00153 const XMLCh chLatin_X               = 0x58;
00154 const XMLCh chLatin_Y               = 0x59;
00155 const XMLCh chLatin_Z               = 0x5A;
00156 
00157 const XMLCh chLatin_a               = 0x61;
00158 const XMLCh chLatin_b               = 0x62;
00159 const XMLCh chLatin_c               = 0x63;
00160 const XMLCh chLatin_d               = 0x64;
00161 const XMLCh chLatin_e               = 0x65;
00162 const XMLCh chLatin_f               = 0x66;
00163 const XMLCh chLatin_g               = 0x67;
00164 const XMLCh chLatin_h               = 0x68;
00165 const XMLCh chLatin_i               = 0x69;
00166 const XMLCh chLatin_j               = 0x6A;
00167 const XMLCh chLatin_k               = 0x6B;
00168 const XMLCh chLatin_l               = 0x6C;
00169 const XMLCh chLatin_m               = 0x6D;
00170 const XMLCh chLatin_n               = 0x6E;
00171 const XMLCh chLatin_o               = 0x6F;
00172 const XMLCh chLatin_p               = 0x70;
00173 const XMLCh chLatin_q               = 0x71;
00174 const XMLCh chLatin_r               = 0x72;
00175 const XMLCh chLatin_s               = 0x73;
00176 const XMLCh chLatin_t               = 0x74;
00177 const XMLCh chLatin_u               = 0x75;
00178 const XMLCh chLatin_v               = 0x76;
00179 const XMLCh chLatin_w               = 0x77;
00180 const XMLCh chLatin_x               = 0x78;
00181 const XMLCh chLatin_y               = 0x79;
00182 const XMLCh chLatin_z               = 0x7A;
00183 
00184 const XMLCh chYenSign               = 0xA5;
00185 const XMLCh chWonSign               = 0x20A9;
00186 
00187 const XMLCh chLineSeparator         = 0x2028;
00188 const XMLCh chParagraphSeparator    = 0x2029;
00189 
00190 XERCES_CPP_NAMESPACE_END
00191 
00192 #endif


Copyright © 2004 The Apache Software Foundation. All Rights Reserved.