1 /******************************************************************************
6 * Copyright (C) 1997-2014 by Dimitri van Heesch.
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation under the terms of the GNU General Public License is hereby
10 * granted. No representations are made about the suitability of this software
11 * for any purpose. It is provided "as is" without express or implied warranty.
12 * See the GNU General Public License for more details.
14 * Documents produced by Doxygen are derivative works derived from the
15 * input used in their production; they are not affected by this license.
26 const int SIMPLESECT_BIT = 0x1000;
35 CMD_ATTENTION = 5 | SIMPLESECT_BIT,
36 CMD_AUTHOR = 6 | SIMPLESECT_BIT,
37 CMD_AUTHORS = 7 | SIMPLESECT_BIT,
42 CMD_DATE = 12 | SIMPLESECT_BIT,
49 CMD_ENDLATEXONLY = 19,
51 CMD_ENDSECREFLIST= 21,
54 CMD_EXCEPTION = 24 | SIMPLESECT_BIT,
64 CMD_INVARIANT = 34 | SIMPLESECT_BIT ,
71 CMD_NOTE = 41 | SIMPLESECT_BIT,
72 CMD_PAR = 42 | SIMPLESECT_BIT,
73 CMD_PARAM = 43 | SIMPLESECT_BIT,
75 CMD_POST = 45 | SIMPLESECT_BIT,
76 CMD_PRE = 46 | SIMPLESECT_BIT,
79 CMD_REMARK = 49 | SIMPLESECT_BIT ,
80 CMD_RETURN = 50 | SIMPLESECT_BIT ,
81 CMD_RETVAL = 51 | SIMPLESECT_BIT,
82 CMD_SA = 52 | SIMPLESECT_BIT ,
87 CMD_SUBSUBSECTION= 57,
89 CMD_SINCE = 59 | SIMPLESECT_BIT,
97 CMD_VERSION = 67 | SIMPLESECT_BIT,
98 CMD_WARNING = 68 | SIMPLESECT_BIT,
99 CMD_XREFITEM = 69 | SIMPLESECT_BIT,
107 CMD_INCWITHLINES = 77,
109 CMD_TPARAM = 79 | SIMPLESECT_BIT,
111 CMD_COPYDETAILS = 81,
115 CMD_COPYRIGHT = 85 | SIMPLESECT_BIT,
124 CMD_ENDINTERNAL = 94,
126 CMD_ENDPARBLOCK = 96,
128 CMD_LATEXINCLUDE = 98,
172 XML_C = XML_CmdMask + 0,
173 XML_CODE = XML_CmdMask + 1,
174 XML_DESCRIPTION = XML_CmdMask + 2,
175 XML_EXAMPLE = XML_CmdMask + 3,
176 XML_EXCEPTION = XML_CmdMask + 4,
177 XML_INCLUDE = XML_CmdMask + 5,
178 XML_ITEM = XML_CmdMask + 6,
179 XML_LIST = XML_CmdMask + 7,
180 XML_LISTHEADER = XML_CmdMask + 8,
181 XML_PARA = XML_CmdMask + 9,
182 XML_PARAM = XML_CmdMask + 10,
183 XML_PARAMREF = XML_CmdMask + 11,
184 XML_PERMISSION = XML_CmdMask + 12,
185 XML_REMARKS = XML_CmdMask + 13,
186 XML_RETURNS = XML_CmdMask + 14,
187 XML_SEE = XML_CmdMask + 15,
188 XML_SEEALSO = XML_CmdMask + 16,
189 XML_SUMMARY = XML_CmdMask + 17,
190 XML_TERM = XML_CmdMask + 18,
191 XML_TYPEPARAM = XML_CmdMask + 19,
192 XML_TYPEPARAMREF = XML_CmdMask + 20,
193 XML_VALUE = XML_CmdMask + 21,
194 XML_INHERITDOC = XML_CmdMask + 22
197 /** Class representing a mapping from command names to command IDs. */
201 int map(const char *n);
202 Mapper(const CommandMap *cm,bool caseSensitive);
208 /** Class representing a namespace for the doxygen and HTML command mappers. */
211 static void freeMappers();
212 static Mapper *cmdMapper;
213 static Mapper *htmlTagMapper;