ximol/parser/def_signs.hpp

Go to the documentation of this file.
00001 /*****************************************************************************\
00002  *                                                                           *
00003  * library XiMoL                                                             *
00004  * Copyright (C) 2002, 2003, 2004 Florent Tournois                           *
00005  *                                                                           *
00006  * This library is free software; you can redistribute it and/or             *
00007  * modify it under the terms of the GNU Lesser General Public                *
00008  * License as published by the Free Software Foundation; either              *
00009  * version 2.1 of the License, or (at your option) any later version.        *
00010  *                                                                           *
00011  * This library is distributed in the hope that it will be useful,           *
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of            *
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00014  * Lesser General Public License for more details.                           *
00015  *                                                                           *
00016  * You should have received a copy of the GNU Lesser General Public          *
00017  * License along with this library; if not, write to the Free Software       *
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA   *
00019  *                                                                           *
00020 \*****************************************************************************/
00021 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00022 /** \file 
00023         \brief Define some macros for signs.
00024     All ascii character are define here with macros.
00025     We need it to avoid error in the parser by confusing two character.
00026 
00027         \author Tournois Florent
00028         \version 1.0
00029 
00030     $Id: def_signs.hpp,v 1.4 2004/02/22 10:27:34 tournois Exp $
00031     $Log: def_signs.hpp,v $
00032     Revision 1.4  2004/02/22 10:27:34  tournois
00033     Add some doc.
00034 
00035     Revision 1.3  2004/02/22 09:54:20  tournois
00036     Change years on the copyright.
00037 
00038     Revision 1.2  2003/11/02 19:23:01  tournois
00039     Go to the boost coding standard.
00040     Change all name to lower case.
00041 
00042     Revision 1.1  2003/09/24 08:28:17  tournois
00043     Create the namespace Encoders, Parser, Xml
00044     Change the library organization.
00045     add VC7.1 project for this organization.
00046 
00047   */
00048 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00049 #ifndef XIMOL_PARSER_DEF_SIGNS_HPP_
00050 #define XIMOL_PARSER_DEF_SIGNS_HPP_
00051 
00052 #define XCHAR_SPACE                    (xchar_t)0x0020 /**< character ' ' */
00053 #define XCHAR_EXCLAMATION_MARK         (xchar_t)0x0021 /**< character '!' */
00054 #define XCHAR_QUOTATION_MARK           (xchar_t)0x0022 /**< character '"' */
00055 #define XCHAR_NUMBER_SIGN              (xchar_t)0x0023 /**< character '#' */
00056 #define XCHAR_DOLLAR_SIGN              (xchar_t)0x0024 /**< character '$' */
00057 #define XCHAR_PERCENT_SIGN             (xchar_t)0x0025 /**< character '%' */
00058 #define XCHAR_AMPERSAND                (xchar_t)0x0026 /**< character '&' */
00059 #define XCHAR_APOSTROPHE               (xchar_t)0x0027 /**< character ''' */
00060 #define XCHAR_LEFT_PARENTHESIS         (xchar_t)0x0028 /**< character '(' */
00061 #define XCHAR_RIGHT_PARENTHESIS        (xchar_t)0x0029 /**< character ')' */
00062 #define XCHAR_ASTERISK                 (xchar_t)0x002a /**< character '*' */
00063 #define XCHAR_PLUS_SIGN                (xchar_t)0x002b /**< character '+' */
00064 #define XCHAR_COMMA                    (xchar_t)0x002c /**< character ',' */
00065 #define XCHAR_HYPHEN_MINUS             (xchar_t)0x002d /**< character '-' */
00066 #define XCHAR_FULL_STOP                (xchar_t)0x002e /**< character '.' */
00067 #define XCHAR_SOLIDUS                  (xchar_t)0x002f /**< character '/' */
00068 #define XCHAR_DIGIT_ZERO               (xchar_t)0x0030 /**< character '0' */
00069 #define XCHAR_DIGIT_ONE                (xchar_t)0x0031 /**< character '1' */
00070 #define XCHAR_DIGIT_TWO                (xchar_t)0x0032 /**< character '2' */
00071 #define XCHAR_DIGIT_THREE              (xchar_t)0x0033 /**< character '3' */
00072 #define XCHAR_DIGIT_FOUR               (xchar_t)0x0034 /**< character '4' */
00073 #define XCHAR_DIGIT_FIVE               (xchar_t)0x0035 /**< character '5' */
00074 #define XCHAR_DIGIT_SIX                (xchar_t)0x0036 /**< character '6' */
00075 #define XCHAR_DIGIT_SEVEN              (xchar_t)0x0037 /**< character '7' */
00076 #define XCHAR_DIGIT_EIGHT              (xchar_t)0x0038 /**< character '8' */
00077 #define XCHAR_DIGIT_NINE               (xchar_t)0x0039 /**< character '9' */
00078 #define XCHAR_COLON                    (xchar_t)0x003a /**< character ':' */
00079 #define XCHAR_SEMICOLON                (xchar_t)0x003b /**< character ';' */
00080 #define XCHAR_LESS_THAN_SIGN           (xchar_t)0x003c /**< character '<' */
00081 #define XCHAR_EQUALS_SIGN              (xchar_t)0x003d /**< character '=' */
00082 #define XCHAR_GREATER_THAN_SIGN        (xchar_t)0x003e /**< character '>' */
00083 #define XCHAR_QUESTION_MARK            (xchar_t)0x003f /**< character '?' */
00084 #define XCHAR_COMMERCIAL_AT            (xchar_t)0x0040 /**< character '@' */
00085 #define XCHAR_LATIN_CAPITAL_LETTER_A   (xchar_t)0x0041 /**< character 'A' */
00086 #define XCHAR_LATIN_CAPITAL_LETTER_B   (xchar_t)0x0042 /**< character 'B' */
00087 #define XCHAR_LATIN_CAPITAL_LETTER_C   (xchar_t)0x0043 /**< character 'C' */
00088 #define XCHAR_LATIN_CAPITAL_LETTER_D   (xchar_t)0x0044 /**< character 'D' */
00089 #define XCHAR_LATIN_CAPITAL_LETTER_E   (xchar_t)0x0045 /**< character 'E' */
00090 #define XCHAR_LATIN_CAPITAL_LETTER_F   (xchar_t)0x0046 /**< character 'F' */
00091 #define XCHAR_LATIN_CAPITAL_LETTER_G   (xchar_t)0x0047 /**< character 'G' */
00092 #define XCHAR_LATIN_CAPITAL_LETTER_H   (xchar_t)0x0048 /**< character 'H' */
00093 #define XCHAR_LATIN_CAPITAL_LETTER_I   (xchar_t)0x0049 /**< character 'I' */
00094 #define XCHAR_LATIN_CAPITAL_LETTER_J   (xchar_t)0x004a /**< character 'J' */
00095 #define XCHAR_LATIN_CAPITAL_LETTER_K   (xchar_t)0x004b /**< character 'K' */
00096 #define XCHAR_LATIN_CAPITAL_LETTER_L   (xchar_t)0x004c /**< character 'L' */
00097 #define XCHAR_LATIN_CAPITAL_LETTER_M   (xchar_t)0x004d /**< character 'M' */
00098 #define XCHAR_LATIN_CAPITAL_LETTER_N   (xchar_t)0x004e /**< character 'N' */
00099 #define XCHAR_LATIN_CAPITAL_LETTER_O   (xchar_t)0x004f /**< character 'O' */
00100 #define XCHAR_LATIN_CAPITAL_LETTER_P   (xchar_t)0x0050 /**< character 'P' */
00101 #define XCHAR_LATIN_CAPITAL_LETTER_Q   (xchar_t)0x0051 /**< character 'Q' */
00102 #define XCHAR_LATIN_CAPITAL_LETTER_R   (xchar_t)0x0052 /**< character 'R' */
00103 #define XCHAR_LATIN_CAPITAL_LETTER_S   (xchar_t)0x0053 /**< character 'S' */
00104 #define XCHAR_LATIN_CAPITAL_LETTER_T   (xchar_t)0x0054 /**< character 'T' */
00105 #define XCHAR_LATIN_CAPITAL_LETTER_U   (xchar_t)0x0055 /**< character 'U' */
00106 #define XCHAR_LATIN_CAPITAL_LETTER_V   (xchar_t)0x0056 /**< character 'V' */
00107 #define XCHAR_LATIN_CAPITAL_LETTER_W   (xchar_t)0x0057 /**< character 'W' */
00108 #define XCHAR_LATIN_CAPITAL_LETTER_X   (xchar_t)0x0058 /**< character 'X' */
00109 #define XCHAR_LATIN_CAPITAL_LETTER_Y   (xchar_t)0x0059 /**< character 'Y' */
00110 #define XCHAR_LATIN_CAPITAL_LETTER_Z   (xchar_t)0x005a /**< character 'Z' */
00111 #define XCHAR_LEFT_SQUARE_BRACKET      (xchar_t)0x005b /**< character '[' */
00112 #define XCHAR_REVERSE_SOLIDUS          (xchar_t)0x005c /**< character '\' */
00113 #define XCHAR_RIGHT_SQUARE_BRACKET     (xchar_t)0x005d /**< character ']' */
00114 #define XCHAR_CIRCUMFLEX_ACCENT        (xchar_t)0x005e /**< character '^' */
00115 #define XCHAR_LOW_LINE                 (xchar_t)0x005f /**< character '_' */
00116 #define XCHAR_GRAVE_ACCENT             (xchar_t)0x0060 /**< character '`' */
00117 #define XCHAR_LATIN_SMALL_LETTER_A     (xchar_t)0x0061 /**< character 'a' */
00118 #define XCHAR_LATIN_SMALL_LETTER_B     (xchar_t)0x0062 /**< character 'b' */
00119 #define XCHAR_LATIN_SMALL_LETTER_C     (xchar_t)0x0063 /**< character 'c' */
00120 #define XCHAR_LATIN_SMALL_LETTER_D     (xchar_t)0x0064 /**< character 'd' */
00121 #define XCHAR_LATIN_SMALL_LETTER_E     (xchar_t)0x0065 /**< character 'e' */
00122 #define XCHAR_LATIN_SMALL_LETTER_F     (xchar_t)0x0066 /**< character 'f' */
00123 #define XCHAR_LATIN_SMALL_LETTER_G     (xchar_t)0x0067 /**< character 'g' */
00124 #define XCHAR_LATIN_SMALL_LETTER_H     (xchar_t)0x0068 /**< character 'h' */
00125 #define XCHAR_LATIN_SMALL_LETTER_I     (xchar_t)0x0069 /**< character 'i' */
00126 #define XCHAR_LATIN_SMALL_LETTER_J     (xchar_t)0x006a /**< character 'j' */
00127 #define XCHAR_LATIN_SMALL_LETTER_K     (xchar_t)0x006b /**< character 'k' */
00128 #define XCHAR_LATIN_SMALL_LETTER_L     (xchar_t)0x006c /**< character 'l' */
00129 #define XCHAR_LATIN_SMALL_LETTER_M     (xchar_t)0x006d /**< character 'm' */
00130 #define XCHAR_LATIN_SMALL_LETTER_N     (xchar_t)0x006e /**< character 'n' */
00131 #define XCHAR_LATIN_SMALL_LETTER_O     (xchar_t)0x006f /**< character 'o' */
00132 #define XCHAR_LATIN_SMALL_LETTER_P     (xchar_t)0x0070 /**< character 'p' */
00133 #define XCHAR_LATIN_SMALL_LETTER_Q     (xchar_t)0x0071 /**< character 'q' */
00134 #define XCHAR_LATIN_SMALL_LETTER_R     (xchar_t)0x0072 /**< character 'r' */
00135 #define XCHAR_LATIN_SMALL_LETTER_S     (xchar_t)0x0073 /**< character 's' */
00136 #define XCHAR_LATIN_SMALL_LETTER_T     (xchar_t)0x0074 /**< character 't' */
00137 #define XCHAR_LATIN_SMALL_LETTER_U     (xchar_t)0x0075 /**< character 'u' */
00138 #define XCHAR_LATIN_SMALL_LETTER_V     (xchar_t)0x0076 /**< character 'v' */
00139 #define XCHAR_LATIN_SMALL_LETTER_W     (xchar_t)0x0077 /**< character 'w' */
00140 #define XCHAR_LATIN_SMALL_LETTER_X     (xchar_t)0x0078 /**< character 'x' */
00141 #define XCHAR_LATIN_SMALL_LETTER_Y     (xchar_t)0x0079 /**< character 'y' */
00142 #define XCHAR_LATIN_SMALL_LETTER_Z     (xchar_t)0x007a /**< character 'z' */
00143 #define XCHAR_LEFT_CURLY_BRACKET       (xchar_t)0x007b /**< character '{' */
00144 #define XCHAR_VERTICAL_LINE            (xchar_t)0x007c /**< character '|' */
00145 #define XCHAR_RIGHT_CURLY_BRACKET      (xchar_t)0x007d /**< character '}' */
00146 #define XCHAR_TILDE                    (xchar_t)0x007e /**< character '~' */
00147 #define XCHAR_DELETE                   (xchar_t)0x007f /**< character ' ' */
00148 
00149 #endif // #define XIMOL_PARSER_DEF_SIGNS_HPP_


Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.