Xerces-C++: XMLUniDefs.hpp Source File

| API Docs for SAX and DOM |
| Main Page Classes Files Related Pages # XMLUniDefs.hpp Go to the documentation of this file.
    00001 /*
    00002  * Licensed to the Apache Software Foundation (ASF) under one or more
    00003  * contributor license agreements.  See the NOTICE file distributed with
    00004  * this work for additional information regarding copyright ownership.
    00005  * The ASF licenses this file to You under the Apache License, Version 2.0
    00006  * (the "License"); you may not use this file except in compliance with
    00007  * the License.  You may obtain a copy of the License at
    00008  *
    00009  *      http://www.apache.org/licenses/LICENSE-2.0
    00010  *
    00011  * Unless required by applicable law or agreed to in writing, software
    00012  * distributed under the License is distributed on an "AS IS" BASIS,
    00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00014  * See the License for the specific language governing permissions and
    00015  * limitations under the License.
    00016  */
    00017
    00018 /*
    00019  * $Id: XMLUniDefs.hpp 568078 2007-08-21 11:43:25Z amassari $
    00020  */
    00021 #if !defined(XMLUNIDEFS_HPP)
    00022 #define XMLUNIDEFS_HPP
    00023
    00024 #include <xercesc/util/XercesDefs.hpp>
    00025
    00026 XERCES_CPP_NAMESPACE_BEGIN
    00027
    00028 // ---------------------------------------------------------------------------
    00029 //  Constants for the Unicode characters of interest to us in an XML parser
    00030 //  We don't put these inside the class because then they could not be const
    00031 //  inline values, which would have significant performance ramifications.
    00032 //
    00033 //  We cannot use a namespace because of the requirement to support old
    00034 //  compilers.
    00035 // ---------------------------------------------------------------------------
    00036 const XMLCh chNull                  = 0x00;
    00037 const XMLCh chHTab                  = 0x09;
    00038 const XMLCh chLF                    = 0x0A;
    00039 const XMLCh chVTab                  = 0x0B;
    00040 const XMLCh chFF                    = 0x0C;
    00041 const XMLCh chCR                    = 0x0D;
    00042 const XMLCh chAmpersand             = 0x26;
    00043 const XMLCh chAsterisk              = 0x2A;
    00044 const XMLCh chAt                    = 0x40;
    00045 const XMLCh chBackSlash             = 0x5C;
    00046 const XMLCh chBang                  = 0x21;
    00047 const XMLCh chCaret                 = 0x5E;
    00048 const XMLCh chCloseAngle            = 0x3E;
    00049 const XMLCh chCloseCurly            = 0x7D;
    00050 const XMLCh chCloseParen            = 0x29;
    00051 const XMLCh chCloseSquare           = 0x5D;
    00052 const XMLCh chColon                 = 0x3A;
    00053 const XMLCh chComma                 = 0x2C;
    00054 const XMLCh chDash                  = 0x2D;
    00055 const XMLCh chDollarSign            = 0x24;
    00056 const XMLCh chDoubleQuote           = 0x22;
    00057 const XMLCh chEqual                 = 0x3D;
    00058 const XMLCh chForwardSlash          = 0x2F;
    00059 const XMLCh chGrave                 = 0x60;
    00060 const XMLCh chNEL                   = 0x85;
    00061 const XMLCh chOpenAngle             = 0x3C;
    00062 const XMLCh chOpenCurly             = 0x7B;
    00063 const XMLCh chOpenParen             = 0x28;
    00064 const XMLCh chOpenSquare            = 0x5B;
    00065 const XMLCh chPercent               = 0x25;
    00066 const XMLCh chPeriod                = 0x2E;
    00067 const XMLCh chPipe                  = 0x7C;
    00068 const XMLCh chPlus                  = 0x2B;
    00069 const XMLCh chPound                 = 0x23;
    00070 const XMLCh chQuestion              = 0x3F;
    00071 const XMLCh chSingleQuote           = 0x27;
    00072 const XMLCh chSpace                 = 0x20;
    00073 const XMLCh chSemiColon             = 0x3B;
    00074 const XMLCh chTilde                 = 0x7E;
    00075 const XMLCh chUnderscore            = 0x5F;
    00076
    00077 const XMLCh chSwappedUnicodeMarker  = XMLCh(0xFFFE);
    00078 const XMLCh chUnicodeMarker         = XMLCh(0xFEFF);
    00079
    00080 const XMLCh chDigit_0               = 0x30;
    00081 const XMLCh chDigit_1               = 0x31;
    00082 const XMLCh chDigit_2               = 0x32;
    00083 const XMLCh chDigit_3               = 0x33;
    00084 const XMLCh chDigit_4               = 0x34;
    00085 const XMLCh chDigit_5               = 0x35;
    00086 const XMLCh chDigit_6               = 0x36;
    00087 const XMLCh chDigit_7               = 0x37;
    00088 const XMLCh chDigit_8               = 0x38;
    00089 const XMLCh chDigit_9               = 0x39;
    00090
    00091 const XMLCh chLatin_A               = 0x41;
    00092 const XMLCh chLatin_B               = 0x42;
    00093 const XMLCh chLatin_C               = 0x43;
    00094 const XMLCh chLatin_D               = 0x44;
    00095 const XMLCh chLatin_E               = 0x45;
    00096 const XMLCh chLatin_F               = 0x46;
    00097 const XMLCh chLatin_G               = 0x47;
    00098 const XMLCh chLatin_H               = 0x48;
    00099 const XMLCh chLatin_I               = 0x49;
    00100 const XMLCh chLatin_J               = 0x4A;
    00101 const XMLCh chLatin_K               = 0x4B;
    00102 const XMLCh chLatin_L               = 0x4C;
    00103 const XMLCh chLatin_M               = 0x4D;
    00104 const XMLCh chLatin_N               = 0x4E;
    00105 const XMLCh chLatin_O               = 0x4F;
    00106 const XMLCh chLatin_P               = 0x50;
    00107 const XMLCh chLatin_Q               = 0x51;
    00108 const XMLCh chLatin_R               = 0x52;
    00109 const XMLCh chLatin_S               = 0x53;
    00110 const XMLCh chLatin_T               = 0x54;
    00111 const XMLCh chLatin_U               = 0x55;
    00112 const XMLCh chLatin_V               = 0x56;
    00113 const XMLCh chLatin_W               = 0x57;
    00114 const XMLCh chLatin_X               = 0x58;
    00115 const XMLCh chLatin_Y               = 0x59;
    00116 const XMLCh chLatin_Z               = 0x5A;
    00117
    00118 const XMLCh chLatin_a               = 0x61;
    00119 const XMLCh chLatin_b               = 0x62;
    00120 const XMLCh chLatin_c               = 0x63;
    00121 const XMLCh chLatin_d               = 0x64;
    00122 const XMLCh chLatin_e               = 0x65;
    00123 const XMLCh chLatin_f               = 0x66;
    00124 const XMLCh chLatin_g               = 0x67;
    00125 const XMLCh chLatin_h               = 0x68;
    00126 const XMLCh chLatin_i               = 0x69;
    00127 const XMLCh chLatin_j               = 0x6A;
    00128 const XMLCh chLatin_k               = 0x6B;
    00129 const XMLCh chLatin_l               = 0x6C;
    00130 const XMLCh chLatin_m               = 0x6D;
    00131 const XMLCh chLatin_n               = 0x6E;
    00132 const XMLCh chLatin_o               = 0x6F;
    00133 const XMLCh chLatin_p               = 0x70;
    00134 const XMLCh chLatin_q               = 0x71;
    00135 const XMLCh chLatin_r               = 0x72;
    00136 const XMLCh chLatin_s               = 0x73;
    00137 const XMLCh chLatin_t               = 0x74;
    00138 const XMLCh chLatin_u               = 0x75;
    00139 const XMLCh chLatin_v               = 0x76;
    00140 const XMLCh chLatin_w               = 0x77;
    00141 const XMLCh chLatin_x               = 0x78;
    00142 const XMLCh chLatin_y               = 0x79;
    00143 const XMLCh chLatin_z               = 0x7A;
    00144
    00145 const XMLCh chYenSign               = 0xA5;
    00146 const XMLCh chWonSign               = 0x20A9;
    00147
    00148 const XMLCh chLineSeparator         = 0x2028;
    00149 const XMLCh chParagraphSeparator    = 0x2029;
    00150
    00151 XERCES_CPP_NAMESPACE_END
    00152
    00153 #endif

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