DeltaQt
Version 0.2.0 End user documentation
A C++/Qt library for parsing DELTA (DEscription Language for TAxonomy) files
|
00001 /* Copyright 2012 Craig Robbins 00002 00003 This file is part of DeltaQt 00004 00005 DeltaQt is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 DeltaQt is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with DeltaQt. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef DELTASYMBOLS_H 00020 #define DELTASYMBOLS_H 00021 00022 /* TODO: Make this a class that returns the values (see also NOTE below) 00023 * 00024 * NOTE: There is some reduncancy here (some of the delimiters are 00025 * identical) however it should be left this way as they may become 00026 * user-definable by some future revision of the DELTA Standard; 00027 * (another reason to make a class for symbols: so they can be 00028 * redefined at run-time) 00029 */ 00030 00031 #define DELTA_DELIM_DIRECTIVE_BEGIN '*' 00032 #define DELTA_DELIM_DATABLOCKBEGIN '#' 00033 00034 #define DELTA_DELIM_FEATUREDESC_BEGIN '#' 00035 #define DELTA_DELIM_CHARDESC_PARTEND '/' 00036 00037 #define DELTA_DELIM_ITEMDESC_BEGIN '#' 00038 #define DELTA_DELIM_ITEMNAME_END '/' 00039 #define DELTA_DELIM_ITEMATTR_SEPARATOR ' ' 00040 #define DELTA_DELIM_CHARVAL_SEPARATOR ',' 00041 #define DELTA_DELIM_ITEMATTR_OR '/' 00042 #define DELTA_DELIM_ITEMATTR_AND '&' 00043 #define DELTA_DELIM_EXTREMEVAL_START '(' 00044 #define DELTA_DELIM_EXTREMEVAL_END ')' 00045 00046 #define DELTA_DELIM_CHARTYPE_SEPARATOR ' ' 00047 00048 #define DELTA_PSEUDOVAL_UNKNOWN "U" 00049 #define DELTA_PSEUDOVAL_VARIABLE "V" 00050 #define DELTA_PSEUDOVAL_NOTAPPLICABLE "-" 00051 00052 #define DELTA_DELIM_CNOTES_BEGIN '#' 00053 00054 #define DELTA_DELIM_STARTCOMMENT '<' 00055 #define DELTA_DELIM_ENDCOMMENT '>' 00056 00057 #define DELTA_DELIM_COMMENTLEGALPRE "\n<> " 00058 #define DELTA_DELIM_COMMENTLEGALPOST "\n<> /" 00059 #endif // DELTASYMBOLS_H