Doxygen
Loading...
Searching...
No Matches
cmdmapper.cpp File Reference
#include "cmdmapper.h"
+ Include dependency graph for cmdmapper.cpp:

Go to the source code of this file.

Namespaces

namespace  Mappers
 Namespace for the doxygen and HTML command mappers.
 

Variables

static const CommandMap< CommandTypeg_cmdMap
 
static const CommandMap< HtmlTagTypeg_htmlTagMap
 
static Mapper< CommandTypeg_cmdMapper (g_cmdMap, true)
 
static Mapper< HtmlTagTypeg_htmlTagMapper (g_htmlTagMap, false)
 
const Mapper< CommandType > * Mappers::cmdMapper = &g_cmdMapper
 
const Mapper< HtmlTagType > * Mappers::htmlTagMapper = &g_htmlTagMapper
 

Variable Documentation

◆ g_cmdMap

const CommandMap<CommandType> g_cmdMap
static

Definition at line 18 of file cmdmapper.cpp.

19{
21 { "addindex", CommandType::CMD_ADDINDEX },
22 { "anchor", CommandType::CMD_ANCHOR },
23 { "arg", CommandType::CMD_LI },
24 { "attention", CommandType::CMD_ATTENTION },
25 { "author", CommandType::CMD_AUTHOR },
26 { "authors", CommandType::CMD_AUTHORS },
27 { "b", CommandType::CMD_BOLD },
28 { "c", CommandType::CMD_CODE },
29 { "cite", CommandType::CMD_CITE },
30 { "icode", CommandType::CMD_ISTARTCODE },
32 { "copydoc", CommandType::CMD_COPYDOC },
33 { "copybrief", CommandType::CMD_COPYBRIEF },
34 { "copydetails", CommandType::CMD_COPYDETAILS },
35 { "copyright", CommandType::CMD_COPYRIGHT },
36 { "date", CommandType::CMD_DATE },
37 { "showdate", CommandType::CMD_SHOWDATE },
38 { "dontinclude", CommandType::CMD_DONTINCLUDE },
39 { "dotfile", CommandType::CMD_DOTFILE },
40 { "doxyconfig", CommandType::CMD_DOXYCONFIG },
43 { "endicode", CommandType::CMD_ENDICODE },
44 { "endcode", CommandType::CMD_ENDCODE },
45 { "endhtmlonly", CommandType::CMD_ENDHTMLONLY },
46 { "endlatexonly", CommandType::CMD_ENDLATEXONLY },
47 { "endlink", CommandType::CMD_ENDLINK },
48 { "endsecreflist", CommandType::CMD_ENDSECREFLIST },
49 { "endiverbatim", CommandType::CMD_ENDIVERBATIM },
50 { "endverbatim", CommandType::CMD_ENDVERBATIM },
51 { "endxmlonly", CommandType::CMD_ENDXMLONLY },
52 { "exception", CommandType::CMD_EXCEPTION },
53 { "_form", CommandType::CMD_FORMULA },
54 { "htmlinclude", CommandType::CMD_HTMLINCLUDE },
55 { "htmlonly", CommandType::CMD_HTMLONLY },
56 { "image", CommandType::CMD_IMAGE },
57 { "important", CommandType::CMD_IMPORTANT },
58 { "include", CommandType::CMD_INCLUDE },
59 { "internal", CommandType::CMD_INTERNAL },
60 { "invariant", CommandType::CMD_INVARIANT },
61 { "javalink", CommandType::CMD_JAVALINK },
62 { "javalinkplain", CommandType::CMD_JAVALINK },
63 { "latexinclude", CommandType::CMD_LATEXINCLUDE },
64 { "latexonly", CommandType::CMD_LATEXONLY },
65 { "li", CommandType::CMD_LI },
66 { "line", CommandType::CMD_LINE },
67 { "link", CommandType::CMD_LINK },
69 { "note", CommandType::CMD_NOTE },
70 { "p", CommandType::CMD_CODE },
71 { "par", CommandType::CMD_PAR },
72 { "param", CommandType::CMD_PARAM },
73 { "post", CommandType::CMD_POST },
74 { "pre", CommandType::CMD_PRE },
75 { "ref", CommandType::CMD_REF },
76 { "refitem", CommandType::CMD_SECREFITEM },
77 { "remark", CommandType::CMD_REMARK },
78 { "remarks", CommandType::CMD_REMARK },
79 { "result", CommandType::CMD_RETURN },
80 { "return", CommandType::CMD_RETURN },
81 { "returns", CommandType::CMD_RETURN },
82 { "retval", CommandType::CMD_RETVAL },
83 { "sa", CommandType::CMD_SA },
84 { "secreflist", CommandType::CMD_SECREFLIST },
85 { "section", CommandType::CMD_SECTION },
86 { "snippet", CommandType::CMD_SNIPPET },
87 { "snippetlineno", CommandType::CMD_SNIPWITHLINES },
88 { "subpage", CommandType::CMD_SUBPAGE },
89 { "subsection", CommandType::CMD_SUBSECTION },
90 { "subsubsection", CommandType::CMD_SUBSUBSECTION },
91 { "paragraph", CommandType::CMD_PARAGRAPH },
92 { "subparagraph", CommandType::CMD_SUBPARAGRAPH },
93 { "subsubparagraph", CommandType::CMD_SUBSUBPARAGRAPH },
94 { "see", CommandType::CMD_SA },
95 { "since", CommandType::CMD_SINCE },
96 { "skip", CommandType::CMD_SKIP },
97 { "skipline", CommandType::CMD_SKIPLINE },
98 { "xmlonly", CommandType::CMD_XMLONLY },
99 { "xrefitem", CommandType::CMD_XREFITEM },
100 { "throw", CommandType::CMD_EXCEPTION },
101 { "until", CommandType::CMD_UNTIL },
102 { "iverbatim", CommandType::CMD_IVERBATIM },
103 { "verbatim", CommandType::CMD_VERBATIM },
104 { "verbinclude", CommandType::CMD_VERBINCLUDE },
105 { "version", CommandType::CMD_VERSION },
106 { "warning", CommandType::CMD_WARNING },
107 { "throws", CommandType::CMD_EXCEPTION },
108 { "tparam", CommandType::CMD_TPARAM },
109 { "\\", CommandType::CMD_BSLASH },
110 { "@", CommandType::CMD_AT },
111 { "<", CommandType::CMD_LESS },
112 { "=", CommandType::CMD_EQUAL },
114 { "&", CommandType::CMD_AMP },
116 { "#", CommandType::CMD_HASH },
118 { "|", CommandType::CMD_PIPE },
119 { ".", CommandType::CMD_PUNT },
120 { "+", CommandType::CMD_PLUS },
121 { "-", CommandType::CMD_MINUS },
122 { "::", CommandType::CMD_DCOLON },
123 { "\"", CommandType::CMD_QUOTE },
126 { "_internalref", CommandType::CMD_INTERNALREF },
127 { "dot", CommandType::CMD_DOT },
128 { "msc", CommandType::CMD_MSC },
129 { "startuml", CommandType::CMD_STARTUML },
130 { "enddot", CommandType::CMD_ENDDOT },
131 { "endmsc", CommandType::CMD_ENDMSC },
132 { "enduml", CommandType::CMD_ENDUML },
133 { "plantumlfile", CommandType::CMD_PLANTUMLFILE },
134 { "manonly", CommandType::CMD_MANONLY },
135 { "endmanonly", CommandType::CMD_ENDMANONLY },
136 { "includelineno", CommandType::CMD_INCWITHLINES },
137 { "inheritdoc", CommandType::CMD_INHERITDOC },
138 { "mscfile", CommandType::CMD_MSCFILE },
139 { "rtfonly", CommandType::CMD_RTFONLY },
140 { "endrtfonly", CommandType::CMD_ENDRTFONLY },
141 { "vhdlflow", CommandType::CMD_VHDLFLOW },
142 { "docbookonly", CommandType::CMD_DBONLY },
143 { "enddocbookonly",CommandType::CMD_ENDDBONLY },
144 { "endinternal", CommandType::CMD_ENDINTERNAL },
145 { "parblock", CommandType::CMD_PARBLOCK },
146 { "endparblock", CommandType::CMD_ENDPARBLOCK },
147 { "diafile", CommandType::CMD_DIAFILE },
148 { "--", CommandType::CMD_NDASH },
149 { "---", CommandType::CMD_MDASH },
150 { "_setscope", CommandType::CMD_SETSCOPE },
151 { "emoji", CommandType::CMD_EMOJI },
152 { "rtfinclude", CommandType::CMD_RTFINCLUDE },
153 { "docbookinclude",CommandType::CMD_DOCBOOKINCLUDE },
154 { "maninclude", CommandType::CMD_MANINCLUDE },
155 { "xmlinclude", CommandType::CMD_XMLINCLUDE },
156 { "iline", CommandType::CMD_ILINE },
157 { "ifile", CommandType::CMD_IFILE },
158 { "iliteral", CommandType::CMD_ILITERAL },
159 { "endiliteral", CommandType::CMD_ENDILITERAL },
160 { "ianchor" , CommandType::CMD_IANCHOR },
161 { "iprefix" , CommandType::CMD_IPREFIX },
162};
@ CMD_ENDSECREFLIST
Definition cmdmapper.h:53
@ CMD_ENDLATEXONLY
Definition cmdmapper.h:51
@ CMD_ENDVERBATIM
Definition cmdmapper.h:54
@ CMD_DONTINCLUDE
Definition cmdmapper.h:46
@ CMD_SUBSUBSECTION
Definition cmdmapper.h:89
@ CMD_SUBSUBPARAGRAPH
Definition cmdmapper.h:161
@ CMD_INTERNALREF
Definition cmdmapper.h:65
@ CMD_ENDHTMLONLY
Definition cmdmapper.h:50
@ CMD_VERBINCLUDE
Definition cmdmapper.h:98
@ CMD_DOCBOOKINCLUDE
Definition cmdmapper.h:145
@ CMD_HTMLINCLUDE
Definition cmdmapper.h:60
@ CMD_SNIPWITHLINES
Definition cmdmapper.h:141

◆ g_cmdMapper

Mapper< CommandType > g_cmdMapper(g_cmdMap, true) ( g_cmdMap ,
true  )
static

◆ g_htmlTagMap

const CommandMap<HtmlTagType> g_htmlTagMap
static

Definition at line 166 of file cmdmapper.cpp.

167{
168 { "strong", HtmlTagType::HTML_BOLD },
169 { "center", HtmlTagType::HTML_CENTER },
170 { "table", HtmlTagType::HTML_TABLE },
171 { "caption", HtmlTagType::HTML_CAPTION },
172 { "small", HtmlTagType::HTML_SMALL },
173 { "cite", HtmlTagType::HTML_CITE },
174 { "code", HtmlTagType::HTML_CODE },
175 { "dfn", HtmlTagType::HTML_CODE },
177 { "img", HtmlTagType::HTML_IMG },
178 { "pre", HtmlTagType::HTML_PRE },
179 { "sub", HtmlTagType::HTML_SUB },
180 { "sup", HtmlTagType::HTML_SUP },
181 { "tr", HtmlTagType::HTML_TR },
182 { "td", HtmlTagType::HTML_TD },
183 { "th", HtmlTagType::HTML_TH },
184 { "ol", HtmlTagType::HTML_OL },
185 { "ul", HtmlTagType::HTML_UL },
186 { "li", HtmlTagType::HTML_LI },
187 { "tt", HtmlTagType::XML_C /*HtmlTagType::HTML_CODE*/ },
188 { "kbd", HtmlTagType::HTML_KBD },
190 { "hr", HtmlTagType::HTML_HR },
191 { "dl", HtmlTagType::HTML_DL },
192 { "dt", HtmlTagType::HTML_DT },
193 { "dd", HtmlTagType::HTML_DD },
194 { "br", HtmlTagType::HTML_BR },
196 { "a", HtmlTagType::HTML_A },
197 { "b", HtmlTagType::HTML_BOLD },
198 { "p", HtmlTagType::HTML_P },
199 { "h1", HtmlTagType::HTML_H1 },
200 { "h2", HtmlTagType::HTML_H2 },
201 { "h3", HtmlTagType::HTML_H3 },
202 { "h4", HtmlTagType::HTML_H4 },
203 { "h5", HtmlTagType::HTML_H5 },
204 { "h6", HtmlTagType::HTML_H6 },
205 { "span", HtmlTagType::HTML_SPAN },
206 { "div", HtmlTagType::HTML_DIV },
207 { "blockquote", HtmlTagType::HTML_BLOCKQUOTE },
208 { "strike", HtmlTagType::HTML_STRIKE },
209 { "s", HtmlTagType::HTML_S },
211 { "ins", HtmlTagType::HTML_INS },
212 { "del", HtmlTagType::HTML_DEL },
213 { "thead", HtmlTagType::HTML_THEAD },
214 { "tbody", HtmlTagType::HTML_TBODY },
215 { "tfoot", HtmlTagType::HTML_TFOOT },
216 { "details", HtmlTagType::HTML_DETAILS },
217
218 { "c", HtmlTagType::XML_C },
219 // { "code", HtmlTagType::XML_CODE }, <= ambiguous <code> is also a HTML tag
220 { "description", HtmlTagType::XML_DESCRIPTION },
221 { "example", HtmlTagType::XML_EXAMPLE },
222 { "exception", HtmlTagType::XML_EXCEPTION },
223 { "include", HtmlTagType::XML_INCLUDE },
224 { "item", HtmlTagType::XML_ITEM },
225 { "list", HtmlTagType::XML_LIST }, // type="table|bullet|number"
226 { "listheader", HtmlTagType::XML_LISTHEADER },
227 { "para", HtmlTagType::XML_PARA },
228 { "param", HtmlTagType::XML_PARAM },
229 { "paramref", HtmlTagType::XML_PARAMREF },
230 { "typeparam", HtmlTagType::XML_TYPEPARAM },
231 { "typeparamref", HtmlTagType::XML_TYPEPARAMREF },
232 { "permission", HtmlTagType::XML_PERMISSION },
233 { "remarks", HtmlTagType::XML_REMARKS },
234 { "returns", HtmlTagType::XML_RETURNS },
235 { "see", HtmlTagType::XML_SEE },
236 { "seealso", HtmlTagType::XML_SEEALSO },
237 { "summary", HtmlTagType::XML_SUMMARY },
238 { "term", HtmlTagType::XML_TERM },
239 { "value", HtmlTagType::XML_VALUE },
240 { "inheritdoc", HtmlTagType::XML_INHERITDOC },
241};

◆ g_htmlTagMapper

Mapper< HtmlTagType > g_htmlTagMapper(g_htmlTagMap, false) ( g_htmlTagMap ,
false  )
static