Doxygen
cmdmapper.cpp
浏览该文件的文档.
1 /******************************************************************************
2  *
3  * Copyright (C) 1997-2021 by Dimitri van Heesch.
4  *
5  * Permission to use, copy, modify, and distribute this software and its
6  * documentation under the terms of the GNU General Public License is hereby
7  * granted. No representations are made about the suitability of this software
8  * for any purpose. It is provided "as is" without express or implied warranty.
9  * See the GNU General Public License for more details.
10  *
11  * Documents produced by Doxygen are derivative works derived from the
12  * input used in their production; they are not affected by this license.
13  *
14  */
15 
16 #include "cmdmapper.h"
17 
18 /** Call representing a mapping from a command name to a command ID. */
19 struct CommandMap
20 {
21  const char *cmdName;
22  int cmdId;
23 };
24 
26 {
27  { "a", CMD_EMPHASIS },
28  { "addindex", CMD_ADDINDEX },
29  { "anchor", CMD_ANCHOR },
30  { "arg", CMD_LI },
31  { "attention", CMD_ATTENTION },
32  { "author", CMD_AUTHOR },
33  { "authors", CMD_AUTHORS },
34  { "b", CMD_BOLD },
35  { "c", CMD_CODE },
36  { "cite", CMD_CITE },
37  { "code", CMD_STARTCODE },
38  { "copydoc", CMD_COPYDOC },
39  { "copybrief", CMD_COPYBRIEF },
40  { "copydetails", CMD_COPYDETAILS },
41  { "copyright", CMD_COPYRIGHT },
42  { "date", CMD_DATE },
43  { "dontinclude", CMD_DONTINCLUDE },
44  { "dotfile", CMD_DOTFILE },
45  { "e", CMD_EMPHASIS },
46  { "em", CMD_EMPHASIS },
47  { "endcode", CMD_ENDCODE },
48  { "endhtmlonly", CMD_ENDHTMLONLY },
49  { "endlatexonly", CMD_ENDLATEXONLY },
50  { "endlink", CMD_ENDLINK },
51  { "endsecreflist", CMD_ENDSECREFLIST },
52  { "endverbatim", CMD_ENDVERBATIM },
53  { "endxmlonly", CMD_ENDXMLONLY },
54  { "exception", CMD_EXCEPTION },
55  { "_form", CMD_FORMULA },
56  { "htmlinclude", CMD_HTMLINCLUDE },
57  { "htmlonly", CMD_HTMLONLY },
58  { "image", CMD_IMAGE },
59  { "include", CMD_INCLUDE },
60  { "internal", CMD_INTERNAL },
61  { "invariant", CMD_INVARIANT },
62  { "javalink", CMD_JAVALINK },
63  { "latexinclude", CMD_LATEXINCLUDE },
64  { "latexonly", CMD_LATEXONLY },
65  { "li", CMD_LI },
66  { "line", CMD_LINE },
67  { "link", CMD_LINK },
68  { "n", CMD_LINEBREAK },
69  { "note", CMD_NOTE },
70  { "p", CMD_CODE },
71  { "par", CMD_PAR },
72  { "param", CMD_PARAM },
73  { "post", CMD_POST },
74  { "pre", CMD_PRE },
75  { "ref", CMD_REF },
76  { "refitem", CMD_SECREFITEM },
77  { "remark", CMD_REMARK },
78  { "remarks", CMD_REMARK },
79  { "result", CMD_RETURN },
80  { "return", CMD_RETURN },
81  { "returns", CMD_RETURN },
82  { "retval", CMD_RETVAL },
83  { "rtfonly", CMD_RTFONLY },
84  { "sa", CMD_SA },
85  { "secreflist", CMD_SECREFLIST },
86  { "section", CMD_SECTION },
87  { "snippet", CMD_SNIPPET },
88  { "snippetdoc", CMD_SNIPPETDOC },
89  { "snippetlineno", CMD_SNIPWITHLINES },
90  { "subpage", CMD_SUBPAGE },
91  { "subsection", CMD_SUBSECTION },
92  { "subsubsection", CMD_SUBSUBSECTION },
93  { "paragraph", CMD_PARAGRAPH },
94  { "see", CMD_SA },
95  { "since", CMD_SINCE },
96  { "skip", CMD_SKIP },
97  { "skipline", CMD_SKIPLINE },
98  { "xmlonly", CMD_XMLONLY },
99  { "xrefitem", CMD_XREFITEM },
100  { "throw", CMD_EXCEPTION },
101  { "until", CMD_UNTIL },
102  { "verbatim", CMD_VERBATIM },
103  { "verbinclude", CMD_VERBINCLUDE },
104  { "version", CMD_VERSION },
105  { "warning", CMD_WARNING },
106  { "throws", CMD_EXCEPTION },
107  { "tparam", CMD_TPARAM },
108  { "\\", CMD_BSLASH },
109  { "@", CMD_AT },
110  { "<", CMD_LESS },
111  { "=", CMD_EQUAL },
112  { ">", CMD_GREATER },
113  { "&", CMD_AMP },
114  { "$", CMD_DOLLAR },
115  { "#", CMD_HASH },
116  { "%", CMD_PERCENT },
117  { "|", CMD_PIPE },
118  { ".", CMD_PUNT },
119  { "+", CMD_PLUS },
120  { "-", CMD_MINUS },
121  { "::", CMD_DCOLON },
122  { "\"", CMD_QUOTE },
123  { "_internalref", CMD_INTERNALREF },
124  { "dot", CMD_DOT },
125  { "msc", CMD_MSC },
126  { "startuml", CMD_STARTUML },
127  { "enddot", CMD_ENDDOT },
128  { "endmsc", CMD_ENDMSC },
129  { "enduml", CMD_ENDUML },
130  { "manonly", CMD_MANONLY },
131  { "endmanonly", CMD_ENDMANONLY },
132  { "includelineno", CMD_INCWITHLINES },
133  { "includedoc", CMD_INCLUDEDOC },
134  { "inheritdoc", CMD_INHERITDOC },
135  { "mscfile", CMD_MSCFILE },
136  { "rtfonly", CMD_RTFONLY },
137  { "endrtfonly", CMD_ENDRTFONLY },
138  { "vhdlflow", CMD_VHDLFLOW },
139  { "docbookonly", CMD_DBONLY },
140  { "enddocbookonly",CMD_ENDDBONLY },
141  { "endinternal", CMD_ENDINTERNAL },
142  { "parblock", CMD_PARBLOCK },
143  { "endparblock", CMD_ENDPARBLOCK },
144  { "diafile", CMD_DIAFILE },
145  { "--", CMD_NDASH },
146  { "---", CMD_MDASH },
147  { "_setscope", CMD_SETSCOPE },
148  { "emoji", CMD_EMOJI },
149  { "rtfinclude", CMD_RTFINCLUDE },
150  { "docbookinclude",CMD_DOCBOOKINCLUDE },
151  { "maninclude", CMD_MANINCLUDE },
152  { "xmlinclude", CMD_XMLINCLUDE },
153  { "iline", CMD_ILINE },
154  { 0, 0 },
155 };
156 
157 //----------------------------------------------------------------------------
158 
160 {
161  { "strong", HTML_BOLD },
162  { "center", HTML_CENTER },
163  { "table", HTML_TABLE },
164  { "caption", HTML_CAPTION },
165  { "small", HTML_SMALL },
166  { "code", HTML_CODE },
167  { "dfn", HTML_CODE },
168  { "var", HTML_EMPHASIS },
169  { "img", HTML_IMG },
170  { "pre", HTML_PRE },
171  { "sub", HTML_SUB },
172  { "sup", HTML_SUP },
173  { "tr", HTML_TR },
174  { "td", HTML_TD },
175  { "th", HTML_TH },
176  { "ol", HTML_OL },
177  { "ul", HTML_UL },
178  { "li", HTML_LI },
179  { "tt", XML_C /*HTML_CODE*/ },
180  { "kbd", XML_C /*HTML_CODE*/ },
181  { "em", HTML_EMPHASIS },
182  { "hr", HTML_HR },
183  { "dl", HTML_DL },
184  { "dt", HTML_DT },
185  { "dd", HTML_DD },
186  { "br", HTML_BR },
187  { "i", HTML_EMPHASIS },
188  { "a", HTML_A },
189  { "b", HTML_BOLD },
190  { "p", HTML_P },
191  { "h1", HTML_H1 },
192  { "h2", HTML_H2 },
193  { "h3", HTML_H3 },
194  { "h4", HTML_H4 },
195  { "h5", HTML_H5 },
196  { "h6", HTML_H6 },
197  { "span", HTML_SPAN },
198  { "div", HTML_DIV },
199  { "blockquote", HTML_BLOCKQUOTE },
200  { "strike", HTML_STRIKE },
201  { "s", HTML_S },
202  { "u", HTML_UNDERLINE },
203  { "ins", HTML_INS },
204  { "del", HTML_DEL },
205 
206  { "c", XML_C },
207  // { "code", XML_CODE }, <= ambiguous <code> is also a HTML tag
208  { "description", XML_DESCRIPTION },
209  { "example", XML_EXAMPLE },
210  { "exception", XML_EXCEPTION },
211  { "include", XML_INCLUDE },
212  { "item", XML_ITEM },
213  { "list", XML_LIST }, // type="table|bullet|number"
214  { "listheader", XML_LISTHEADER },
215  { "para", XML_PARA },
216  { "param", XML_PARAM },
217  { "paramref", XML_PARAMREF },
218  { "typeparam", XML_TYPEPARAM },
219  { "typeparamref", XML_TYPEPARAMREF },
220  { "permission", XML_PERMISSION },
221  { "remarks", XML_REMARKS },
222  { "returns", XML_RETURNS },
223  { "see", XML_SEE },
224  { "seealso", XML_SEEALSO },
225  { "summary", XML_SUMMARY },
226  { "term", XML_TERM },
227  { "value", XML_VALUE },
228  { "inheritdoc", XML_INHERITDOC },
229  { 0, 0 }
230 };
231 
232 //----------------------------------------------------------------------------
233 
236 
237 int Mapper::map(const QCString &n)
238 {
239  if (n.isEmpty()) return 0;
240  QCString name = n;
241  if (!m_cs) name=name.lower();
242  auto it = m_map.find(name.str());
243  return it!=m_map.end() ? it->second : 0;
244 }
245 
246 QCString Mapper::find(const int n)
247 {
248  for (const auto &kv : m_map)
249  {
250  int curVal = kv.second;
251  if (curVal == n || (curVal == (n | SIMPLESECT_BIT))) return kv.first.c_str();
252  }
253  return QCString();
254 }
255 
256 Mapper::Mapper(const CommandMap *cm,bool caseSensitive) : m_cs(caseSensitive)
257 {
258  const CommandMap *p = cm;
259  while (p->cmdName)
260  {
261  m_map.insert(std::make_pair(p->cmdName,p->cmdId));
262  p++;
263  }
264 }
265 
267 {
268  delete cmdMapper; cmdMapper = 0;
269  delete htmlTagMapper; htmlTagMapper = 0;
270 }
271 
272 
CMD_DOLLAR
@ CMD_DOLLAR
Definition: cmdmapper.h:42
CMD_ENDRTFONLY
@ CMD_ENDRTFONLY
Definition: cmdmapper.h:118
CMD_SUBSECTION
@ CMD_SUBSECTION
Definition: cmdmapper.h:85
HTML_UNDERLINE
@ HTML_UNDERLINE
Definition: cmdmapper.h:185
CMD_ENDMANONLY
@ CMD_ENDMANONLY
Definition: cmdmapper.h:105
CMD_ENDVERBATIM
@ CMD_ENDVERBATIM
Definition: cmdmapper.h:51
CMD_BSLASH
@ CMD_BSLASH
Definition: cmdmapper.h:38
HTML_H5
@ HTML_H5
Definition: cmdmapper.h:179
Mapper::find
QCString find(const int n)
Definition: cmdmapper.cpp:246
CMD_ENDXMLONLY
@ CMD_ENDXMLONLY
Definition: cmdmapper.h:52
CMD_FORMULA
@ CMD_FORMULA
Definition: cmdmapper.h:54
CMD_EMPHASIS
@ CMD_EMPHASIS
Definition: cmdmapper.h:45
CMD_LESS
@ CMD_LESS
Definition: cmdmapper.h:65
CMD_STARTCODE
@ CMD_STARTCODE
Definition: cmdmapper.h:91
CMD_POST
@ CMD_POST
Definition: cmdmapper.h:74
CMD_ENDCODE
@ CMD_ENDCODE
Definition: cmdmapper.h:46
XML_SEE
@ XML_SEE
Definition: cmdmapper.h:207
CMD_AT
@ CMD_AT
Definition: cmdmapper.h:33
XML_PARA
@ XML_PARA
Definition: cmdmapper.h:201
CMD_SECTION
@ CMD_SECTION
Definition: cmdmapper.h:83
CMD_SETSCOPE
@ CMD_SETSCOPE
Definition: cmdmapper.h:132
XML_SUMMARY
@ XML_SUMMARY
Definition: cmdmapper.h:209
CMD_BOLD
@ CMD_BOLD
Definition: cmdmapper.h:37
CMD_COPYDOC
@ CMD_COPYDOC
Definition: cmdmapper.h:40
HTML_LI
@ HTML_LI
Definition: cmdmapper.h:165
cmdmapper.h
CMD_INTERNAL
@ CMD_INTERNAL
Definition: cmdmapper.h:61
CMD_ENDDOT
@ CMD_ENDDOT
Definition: cmdmapper.h:101
QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
CMD_LINK
@ CMD_LINK
Definition: cmdmapper.h:69
CMD_VERSION
@ CMD_VERSION
Definition: cmdmapper.h:96
CMD_AUTHORS
@ CMD_AUTHORS
Definition: cmdmapper.h:36
XML_VALUE
@ XML_VALUE
Definition: cmdmapper.h:213
HTML_CODE
@ HTML_CODE
Definition: cmdmapper.h:155
HTML_SMALL
@ HTML_SMALL
Definition: cmdmapper.h:154
XML_REMARKS
@ XML_REMARKS
Definition: cmdmapper.h:205
CMD_CITE
@ CMD_CITE
Definition: cmdmapper.h:115
HTML_PRE
@ HTML_PRE
Definition: cmdmapper.h:157
CMD_PRE
@ CMD_PRE
Definition: cmdmapper.h:75
CMD_LI
@ CMD_LI
Definition: cmdmapper.h:66
HTML_H4
@ HTML_H4
Definition: cmdmapper.h:178
QCString::str
std::string str() const
Definition: qcstring.h:442
CMD_ENDDBONLY
@ CMD_ENDDBONLY
Definition: cmdmapper.h:122
CMD_LATEXONLY
@ CMD_LATEXONLY
Definition: cmdmapper.h:64
CMD_ENDMSC
@ CMD_ENDMSC
Definition: cmdmapper.h:103
XML_RETURNS
@ XML_RETURNS
Definition: cmdmapper.h:206
CMD_COPYRIGHT
@ CMD_COPYRIGHT
Definition: cmdmapper.h:114
CMD_SNIPPET
@ CMD_SNIPPET
Definition: cmdmapper.h:116
CMD_SNIPPETDOC
@ CMD_SNIPPETDOC
Definition: cmdmapper.h:137
XML_EXAMPLE
@ XML_EXAMPLE
Definition: cmdmapper.h:195
CMD_ANCHOR
@ CMD_ANCHOR
Definition: cmdmapper.h:32
CMD_PAR
@ CMD_PAR
Definition: cmdmapper.h:71
CMD_INCWITHLINES
@ CMD_INCWITHLINES
Definition: cmdmapper.h:106
HTML_H6
@ HTML_H6
Definition: cmdmapper.h:180
CMD_LINE
@ CMD_LINE
Definition: cmdmapper.h:67
CMD_MSC
@ CMD_MSC
Definition: cmdmapper.h:102
CMD_INVARIANT
@ CMD_INVARIANT
Definition: cmdmapper.h:63
CommandMap::cmdId
int cmdId
Definition: cmdmapper.cpp:35
HTML_SUP
@ HTML_SUP
Definition: cmdmapper.h:159
HTML_CAPTION
@ HTML_CAPTION
Definition: cmdmapper.h:153
CMD_ENDSECREFLIST
@ CMD_ENDSECREFLIST
Definition: cmdmapper.h:50
Mapper::Mapper
Mapper(const CommandMap *cm, bool caseSensitive)
Definition: cmdmapper.cpp:256
CMD_DIAFILE
@ CMD_DIAFILE
Definition: cmdmapper.h:126
XML_TERM
@ XML_TERM
Definition: cmdmapper.h:210
HTML_SUB
@ HTML_SUB
Definition: cmdmapper.h:158
CMD_SA
@ CMD_SA
Definition: cmdmapper.h:81
XML_PARAMREF
@ XML_PARAMREF
Definition: cmdmapper.h:203
CMD_WARNING
@ CMD_WARNING
Definition: cmdmapper.h:97
CMD_COPYDETAILS
@ CMD_COPYDETAILS
Definition: cmdmapper.h:110
CMD_REMARK
@ CMD_REMARK
Definition: cmdmapper.h:78
Mapper
Class representing a mapping from command names to command IDs.
Definition: cmdmapper.h:219
CMD_SNIPWITHLINES
@ CMD_SNIPWITHLINES
Definition: cmdmapper.h:138
HTML_IMG
@ HTML_IMG
Definition: cmdmapper.h:156
HTML_P
@ HTML_P
Definition: cmdmapper.h:174
Mappers::htmlTagMapper
static Mapper * htmlTagMapper
Definition: cmdmapper.h:235
HTML_DL
@ HTML_DL
Definition: cmdmapper.h:168
CMD_HASH
@ CMD_HASH
Definition: cmdmapper.h:56
CMD_MANONLY
@ CMD_MANONLY
Definition: cmdmapper.h:104
CommandMap
Call representing a mapping from a command name to a command ID.
Definition: cmdmapper.cpp:19
XML_TYPEPARAMREF
@ XML_TYPEPARAMREF
Definition: cmdmapper.h:212
CMD_PIPE
@ CMD_PIPE
Definition: cmdmapper.h:119
CMD_ATTENTION
@ CMD_ATTENTION
Definition: cmdmapper.h:34
HTML_S
@ HTML_S
Definition: cmdmapper.h:188
CMD_PARAM
@ CMD_PARAM
Definition: cmdmapper.h:72
cmdMap
CommandMap cmdMap[]
Definition: cmdmapper.cpp:25
CMD_INCLUDEDOC
@ CMD_INCLUDEDOC
Definition: cmdmapper.h:136
CMD_INHERITDOC
@ CMD_INHERITDOC
Definition: cmdmapper.h:107
CMD_STARTUML
@ CMD_STARTUML
Definition: cmdmapper.h:130
CMD_VERBINCLUDE
@ CMD_VERBINCLUDE
Definition: cmdmapper.h:95
HTML_STRIKE
@ HTML_STRIKE
Definition: cmdmapper.h:184
XML_INHERITDOC
@ XML_INHERITDOC
Definition: cmdmapper.h:214
CMD_GREATER
@ CMD_GREATER
Definition: cmdmapper.h:55
CMD_RETVAL
@ CMD_RETVAL
Definition: cmdmapper.h:80
Mapper::m_cs
bool m_cs
Definition: cmdmapper.h:227
CMD_HTMLONLY
@ CMD_HTMLONLY
Definition: cmdmapper.h:58
HTML_DD
@ HTML_DD
Definition: cmdmapper.h:170
SIMPLESECT_BIT
const int SIMPLESECT_BIT
Definition: cmdmapper.h:25
CMD_XMLINCLUDE
@ CMD_XMLINCLUDE
Definition: cmdmapper.h:144
CMD_DATE
@ CMD_DATE
Definition: cmdmapper.h:41
CMD_AUTHOR
@ CMD_AUTHOR
Definition: cmdmapper.h:35
CMD_IMAGE
@ CMD_IMAGE
Definition: cmdmapper.h:59
HTML_DT
@ HTML_DT
Definition: cmdmapper.h:169
CMD_CODE
@ CMD_CODE
Definition: cmdmapper.h:39
CMD_SINCE
@ CMD_SINCE
Definition: cmdmapper.h:88
HTML_BLOCKQUOTE
@ HTML_BLOCKQUOTE
Definition: cmdmapper.h:183
CMD_ILINE
@ CMD_ILINE
Definition: cmdmapper.h:145
QCString::lower
QCString lower() const
Definition: qcstring.h:232
CMD_ENDPARBLOCK
@ CMD_ENDPARBLOCK
Definition: cmdmapper.h:125
HTML_TD
@ HTML_TD
Definition: cmdmapper.h:161
CMD_HTMLINCLUDE
@ CMD_HTMLINCLUDE
Definition: cmdmapper.h:57
CMD_INTERNALREF
@ CMD_INTERNALREF
Definition: cmdmapper.h:62
HTML_OL
@ HTML_OL
Definition: cmdmapper.h:163
XML_LIST
@ XML_LIST
Definition: cmdmapper.h:199
HTML_CENTER
@ HTML_CENTER
Definition: cmdmapper.h:151
CMD_REF
@ CMD_REF
Definition: cmdmapper.h:76
CMD_MDASH
@ CMD_MDASH
Definition: cmdmapper.h:129
CMD_MSCFILE
@ CMD_MSCFILE
Definition: cmdmapper.h:112
HTML_H1
@ HTML_H1
Definition: cmdmapper.h:175
CMD_DOTFILE
@ CMD_DOTFILE
Definition: cmdmapper.h:44
CMD_UNTIL
@ CMD_UNTIL
Definition: cmdmapper.h:93
CMD_ENDHTMLONLY
@ CMD_ENDHTMLONLY
Definition: cmdmapper.h:47
CMD_PARBLOCK
@ CMD_PARBLOCK
Definition: cmdmapper.h:124
CMD_ADDINDEX
@ CMD_ADDINDEX
Definition: cmdmapper.h:30
CMD_SECREFLIST
@ CMD_SECREFLIST
Definition: cmdmapper.h:82
CMD_XMLONLY
@ CMD_XMLONLY
Definition: cmdmapper.h:99
CMD_PERCENT
@ CMD_PERCENT
Definition: cmdmapper.h:73
HTML_DEL
@ HTML_DEL
Definition: cmdmapper.h:187
Mappers::freeMappers
static void freeMappers()
Definition: cmdmapper.cpp:266
CMD_PUNT
@ CMD_PUNT
Definition: cmdmapper.h:133
CMD_LINEBREAK
@ CMD_LINEBREAK
Definition: cmdmapper.h:68
CMD_JAVALINK
@ CMD_JAVALINK
Definition: cmdmapper.h:92
HTML_TABLE
@ HTML_TABLE
Definition: cmdmapper.h:152
XML_ITEM
@ XML_ITEM
Definition: cmdmapper.h:198
CMD_QUOTE
@ CMD_QUOTE
Definition: cmdmapper.h:111
CMD_SUBPAGE
@ CMD_SUBPAGE
Definition: cmdmapper.h:84
HTML_EMPHASIS
@ HTML_EMPHASIS
Definition: cmdmapper.h:166
XML_LISTHEADER
@ XML_LISTHEADER
Definition: cmdmapper.h:200
HTML_UL
@ HTML_UL
Definition: cmdmapper.h:164
HTML_A
@ HTML_A
Definition: cmdmapper.h:172
XML_TYPEPARAM
@ XML_TYPEPARAM
Definition: cmdmapper.h:211
CMD_PLUS
@ CMD_PLUS
Definition: cmdmapper.h:134
CMD_MANINCLUDE
@ CMD_MANINCLUDE
Definition: cmdmapper.h:143
CMD_AMP
@ CMD_AMP
Definition: cmdmapper.h:31
CMD_SECREFITEM
@ CMD_SECREFITEM
Definition: cmdmapper.h:77
CMD_NOTE
@ CMD_NOTE
Definition: cmdmapper.h:70
XML_DESCRIPTION
@ XML_DESCRIPTION
Definition: cmdmapper.h:194
HTML_HR
@ HTML_HR
Definition: cmdmapper.h:167
HTML_DIV
@ HTML_DIV
Definition: cmdmapper.h:182
CMD_PARAGRAPH
@ CMD_PARAGRAPH
Definition: cmdmapper.h:87
CMD_DOT
@ CMD_DOT
Definition: cmdmapper.h:100
CMD_DBONLY
@ CMD_DBONLY
Definition: cmdmapper.h:121
XML_PARAM
@ XML_PARAM
Definition: cmdmapper.h:202
CMD_DCOLON
@ CMD_DCOLON
Definition: cmdmapper.h:113
CMD_ENDINTERNAL
@ CMD_ENDINTERNAL
Definition: cmdmapper.h:123
CMD_SKIPLINE
@ CMD_SKIPLINE
Definition: cmdmapper.h:90
CMD_EMOJI
@ CMD_EMOJI
Definition: cmdmapper.h:139
HTML_TR
@ HTML_TR
Definition: cmdmapper.h:160
CMD_MINUS
@ CMD_MINUS
Definition: cmdmapper.h:135
Mappers::cmdMapper
static Mapper * cmdMapper
Definition: cmdmapper.h:234
CMD_ENDLATEXONLY
@ CMD_ENDLATEXONLY
Definition: cmdmapper.h:48
CMD_ENDUML
@ CMD_ENDUML
Definition: cmdmapper.h:131
CMD_RETURN
@ CMD_RETURN
Definition: cmdmapper.h:79
Mapper::map
int map(const QCString &n)
Definition: cmdmapper.cpp:237
CMD_RTFONLY
@ CMD_RTFONLY
Definition: cmdmapper.h:117
CMD_VHDLFLOW
@ CMD_VHDLFLOW
Definition: cmdmapper.h:120
HTML_H3
@ HTML_H3
Definition: cmdmapper.h:177
HTML_BOLD
@ HTML_BOLD
Definition: cmdmapper.h:173
XML_C
@ XML_C
Definition: cmdmapper.h:192
XML_INCLUDE
@ XML_INCLUDE
Definition: cmdmapper.h:197
CMD_EXCEPTION
@ CMD_EXCEPTION
Definition: cmdmapper.h:53
HTML_INS
@ HTML_INS
Definition: cmdmapper.h:186
CMD_COPYBRIEF
@ CMD_COPYBRIEF
Definition: cmdmapper.h:109
CMD_LATEXINCLUDE
@ CMD_LATEXINCLUDE
Definition: cmdmapper.h:127
CMD_NDASH
@ CMD_NDASH
Definition: cmdmapper.h:128
CommandMap::cmdName
const char * cmdName
Definition: cmdmapper.cpp:34
CMD_VERBATIM
@ CMD_VERBATIM
Definition: cmdmapper.h:94
CMD_SKIP
@ CMD_SKIP
Definition: cmdmapper.h:89
CMD_SUBSUBSECTION
@ CMD_SUBSUBSECTION
Definition: cmdmapper.h:86
CMD_RTFINCLUDE
@ CMD_RTFINCLUDE
Definition: cmdmapper.h:141
XML_EXCEPTION
@ XML_EXCEPTION
Definition: cmdmapper.h:196
HTML_H2
@ HTML_H2
Definition: cmdmapper.h:176
htmlTagMap
CommandMap htmlTagMap[]
Definition: cmdmapper.cpp:159
HTML_SPAN
@ HTML_SPAN
Definition: cmdmapper.h:181
XML_SEEALSO
@ XML_SEEALSO
Definition: cmdmapper.h:208
CMD_DOCBOOKINCLUDE
@ CMD_DOCBOOKINCLUDE
Definition: cmdmapper.h:142
Mapper::m_map
std::map< std::string, int > m_map
Definition: cmdmapper.h:226
CMD_ENDLINK
@ CMD_ENDLINK
Definition: cmdmapper.h:49
HTML_TH
@ HTML_TH
Definition: cmdmapper.h:162
CMD_TPARAM
@ CMD_TPARAM
Definition: cmdmapper.h:108
CMD_XREFITEM
@ CMD_XREFITEM
Definition: cmdmapper.h:98
HTML_BR
@ HTML_BR
Definition: cmdmapper.h:171
XML_PERMISSION
@ XML_PERMISSION
Definition: cmdmapper.h:204
CMD_DONTINCLUDE
@ CMD_DONTINCLUDE
Definition: cmdmapper.h:43
CMD_INCLUDE
@ CMD_INCLUDE
Definition: cmdmapper.h:60
CMD_EQUAL
@ CMD_EQUAL
Definition: cmdmapper.h:140
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108