Doxygen
htmlgen.h
浏览该文件的文档.
1 /******************************************************************************
2  *
3  * Copyright (C) 1997-2020 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 #ifndef HTMLGEN_H
17 #define HTMLGEN_H
18 
19 #include "outputgen.h"
20 
22 {
23  public:
24  HtmlCodeGenerator(TextStream &t,const QCString &relPath);
26  int id() const { return m_id; }
27  void setId(int id) { m_id = id; }
28  void setRelativePath(const QCString &path);
29  void codify(const QCString &text);
30  void writeCodeLink(CodeSymbolType type,
31  const QCString &ref,const QCString &file,
32  const QCString &anchor,const QCString &name,
33  const QCString &tooltip);
34  void writeTooltip(const QCString &id,
35  const DocLinkInfo &docInfo,
36  const QCString &decl,
37  const QCString &desc,
38  const SourceLinkInfo &defInfo,
39  const SourceLinkInfo &declInfo
40  );
41  void writeLineNumber(const QCString &,const QCString &,const QCString &,int, bool);
42  void startCodeLine(bool);
43  void endCodeLine();
44  void startFontClass(const QCString &s);
45  void endFontClass();
46  void writeCodeAnchor(const QCString &anchor);
47  void setCurrentDoc(const Definition *,const QCString &,bool) {}
48  void addWord(const QCString &,bool) {}
49  void startCodeFragment(const QCString &style);
50  void endCodeFragment(const QCString &);
51 
52  private:
53  void _writeCodeLink(const QCString &className,
54  const QCString &ref,const QCString &file,
55  const QCString &anchor,const QCString &name,
56  const QCString &tooltip);
57  void docify(const QCString &str);
58  TextStream &m_t;
59  int m_col = 0;
61  bool m_lineOpen = false;
62  int m_id = 0;
63 };
64 
65 /** Generator for HTML output */
67 {
68  public:
69  HtmlGenerator();
72  virtual ~HtmlGenerator();
73  virtual std::unique_ptr<OutputGenerator> clone() const;
74 
75  virtual OutputType type() const { return Html; }
76  static void init();
77  void cleanup();
78  static void writeStyleSheetFile(TextStream &t);
79  static void writeHeaderFile(TextStream &t, const QCString &cssname);
80  static void writeFooterFile(TextStream &t);
81  static void writeTabData();
82  static void writeSearchInfo(TextStream &t,const QCString &relPath);
83  static void writeSearchData(const QCString &dir);
84  static void writeSearchPage();
85  static void writeExternalSearchPage();
86  static QCString writeLogoAsString(const QCString &path);
87  static QCString writeSplitBarAsString(const QCString &name,const QCString &relpath);
88  static QCString getMathJaxMacros();
89 
90  // ---- CodeOutputInterface
91  void codify(const QCString &text)
92  { m_codeGen.codify(text); }
94  const QCString &ref,const QCString &file,
95  const QCString &anchor,const QCString &name,
96  const QCString &tooltip)
97  { m_codeGen.writeCodeLink(type,ref,file,anchor,name,tooltip); }
98  void writeLineNumber(const QCString &ref,const QCString &file,const QCString &anchor,int lineNumber, bool writeLineAnchor)
99  { m_codeGen.writeLineNumber(ref,file,anchor,lineNumber,writeLineAnchor); }
100  void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl,
101  const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo
102  )
103  { m_codeGen.writeTooltip(id,docInfo,decl,desc,defInfo,declInfo); }
104  void startCodeLine(bool hasLineNumbers)
105  { m_codeGen.startCodeLine(hasLineNumbers); }
106  void endCodeLine()
107  { m_codeGen.endCodeLine(); }
108  void startFontClass(const QCString &s)
109  { m_codeGen.startFontClass(s); }
111  { m_codeGen.endFontClass(); }
112  void writeCodeAnchor(const QCString &anchor)
113  { m_codeGen.writeCodeAnchor(anchor); }
114  void startCodeFragment(const QCString &style)
115  { m_codeGen.startCodeFragment(style); }
116  void endCodeFragment(const QCString &style)
117  { m_codeGen.endCodeFragment(style); }
118  // ---------------------------
119 
120  void setCurrentDoc(const Definition *context,const QCString &anchor,bool isSourceFile);
121  void addWord(const QCString &word,bool hiPriority);
122  void writeDoc(DocNode *,const Definition *,const MemberDef *,int id);
123 
124  void startFile(const QCString &name,const QCString &manName,const QCString &title,int id);
125  void writeFooter(const QCString &navPath);
126  void endFile();
127  void clearBuffer();
128  void writeSearchInfo();
129 
132  void writePageLink(const QCString &,bool) {}
133  void startProjectNumber();
134  void endProjectNumber();
135  void writeStyleInfo(int part);
136  void startTitleHead(const QCString &);
137  void endTitleHead(const QCString &,const QCString &);
138  void startTitle() { m_t << "<div class=\"title\">"; }
139  void endTitle() { m_t << "</div>"; }
140 
141  void startParagraph(const QCString &classDef);
142  void endParagraph();
143  void writeString(const QCString &text);
144  void startIndexListItem();
145  void endIndexListItem();
146  void startIndexList();
147  void endIndexList();
148  void startIndexKey();
149  void endIndexKey();
150  void startIndexValue(bool);
151  void endIndexValue(const QCString &,bool);
152  void startItemList() { m_t << "<ul>\n"; }
153  void endItemList() { m_t << "</ul>\n"; }
154  void startIndexItem(const QCString &ref,const QCString &file);
155  void endIndexItem(const QCString &ref,const QCString &file);
156  void docify(const QCString &text);
157 
158  void writeObjectLink(const QCString &ref,const QCString &file,
159  const QCString &anchor,const QCString &name);
160 
161  void startTextLink(const QCString &file,const QCString &anchor);
162  void endTextLink();
163  void startHtmlLink(const QCString &url);
164  void endHtmlLink();
165  void startTypewriter() { m_t << "<code>"; }
166  void endTypewriter() { m_t << "</code>"; }
167  void startGroupHeader(int);
168  void endGroupHeader(int);
169  void startItemListItem() { m_t << "<li>"; }
170  void endItemListItem() { m_t << "</li>\n"; }
171 
172  void startMemberSections();
173  void endMemberSections();
174  void startHeaderSection();
175  void endHeaderSection();
176  void startMemberHeader(const QCString &, int);
177  void endMemberHeader();
178  void startMemberSubtitle();
179  void endMemberSubtitle();
180  void startMemberDocList();
181  void endMemberDocList();
182  void startMemberList();
183  void endMemberList();
184  void startInlineHeader();
185  void endInlineHeader();
186  void startAnonTypeScope(int) {}
187  void endAnonTypeScope(int) {}
188  void startMemberItem(const QCString &anchor,int,const QCString &inheritId);
189  void endMemberItem();
191  void endMemberTemplateParams(const QCString &anchor,const QCString &inheritId);
194 
195  void startMemberGroupHeader(bool);
196  void endMemberGroupHeader();
197  void startMemberGroupDocs();
198  void endMemberGroupDocs();
199  void startMemberGroup();
200  void endMemberGroup(bool);
201 
202  void insertMemberAlign(bool);
203  void insertMemberAlignLeft(int,bool);
204  void startMemberDescription(const QCString &anchor,const QCString &inheritId, bool typ);
205  void endMemberDescription();
207  void endMemberDeclaration(const QCString &anchor,const QCString &inheritId);
208  void writeInheritedSectionTitle(const QCString &id, const QCString &ref,
209  const QCString &file, const QCString &anchor,
210  const QCString &title,const QCString &name);
211 
212  void writeRuler() { m_t << "<hr/>"; }
213  void writeAnchor(const QCString &,const QCString &name)
214  { m_t << "<a name=\"" << name <<"\" id=\"" << name << "\"></a>"; }
215  void startEmphasis() { m_t << "<em>"; }
216  void endEmphasis() { m_t << "</em>"; }
217  void startBold() { m_t << "<b>"; }
218  void endBold() { m_t << "</b>"; }
219  void startDescription() { m_t << "\n<dl>\n"; }
220  void endDescription() { m_t << "\n</dl>\n\n"; }
221  void startDescItem() { m_t << "<dt>"; }
222  void endDescItem() { m_t << "</dt>"; }
223  void startDescForItem() { m_t << "<dd>"; }
224  void endDescForItem() { m_t << "</dd>\n"; }
225  void lineBreak(const QCString &style);
226  void writeChar(char c);
227  void startMemberDoc(const QCString &clName, const QCString &memName,
228  const QCString &anchor, const QCString &title,
229  int memCount, int memTotal, bool showInline);
230  void endMemberDoc(bool);
231  void startDoxyAnchor(const QCString &fName,const QCString &manName,
232  const QCString &anchor,const QCString &name,
233  const QCString &args);
234  void endDoxyAnchor(const QCString &fName,const QCString &anchor);
236  void writeStartAnnoItem(const QCString &type,const QCString &file,
237  const QCString &path,const QCString &name);
238  void writeEndAnnoItem(const QCString &) { m_t << "\n"; }
239  void startSubsection() { m_t << "<h2>"; }
240  void endSubsection() { m_t << "</h2>\n"; }
241  void startSubsubsection() { m_t << "<h3>"; }
242  void endSubsubsection() { m_t << "</h3>\n"; }
243  void startCenter() { m_t << "<center>\n"; }
244  void endCenter() { m_t << "</center>\n"; }
245  void startSmall() { m_t << "<small>\n"; }
246  void endSmall() { m_t << "</small>\n"; }
247  void startExamples();
248  void endExamples();
249  void startParamList(ParamListTypes,const QCString &);
250  void endParamList();
251  void startSection(const QCString &,const QCString &,SectionType);
252  void endSection(const QCString &,SectionType);
253  void addIndexItem(const QCString &,const QCString &);
254  void startIndent();
255  void endIndent();
256  void writeSynopsis() {}
257  void startClassDiagram();
258  void endClassDiagram(const ClassDiagram &,const QCString &,const QCString &);
259  void startPageRef() {}
260  void endPageRef(const QCString &,const QCString &) {}
262  void endQuickIndices();
263  void writeSplitBar(const QCString &name);
264  void writeNavigationPath(const QCString &s);
265  void writeLogo();
266  void writeQuickLinks(bool compact,HighlightedItem hli,const QCString &file);
267  void writeSummaryLink(const QCString &file,const QCString &anchor,const QCString &title,bool first);
268  void startContents();
269  void endContents();
270  void startPageDoc(const QCString &pageTitle);
271  void endPageDoc();
272  void writeNonBreakableSpace(int);
273 
274  void startDescTable(const QCString &title);
275  void endDescTable();
276  void startDescTableRow();
277  void endDescTableRow();
278  void startDescTableTitle();
279  void endDescTableTitle();
280  void startDescTableData();
281  void endDescTableData();
282 
283  void startDotGraph();
284  void endDotGraph(DotClassGraph &g);
285  void startInclDepGraph();
289  void startCallGraph();
290  void endCallGraph(DotCallGraph &g);
291  void startDirDepGraph();
292  void endDirDepGraph(DotDirDeps &g);
294 
295  void startTextBlock(bool)
296  { m_t << "<div class=\"textblock\">"; }
297  void endTextBlock(bool)
298  { m_t << "</div>"; }
299  void lastIndexPage() {}
300 
302  void endMemberDocPrefixItem();
303  void startMemberDocName(bool);
304  void endMemberDocName();
305  void startParameterType(bool first,const QCString &key);
306  void endParameterType();
307  void startParameterName(bool);
308  void endParameterName(bool last,bool emptyList,bool closeBracket);
309  void startParameterList(bool);
310  void endParameterList();
311  void exceptionEntry(const QCString &,bool);
312 
313  void startConstraintList(const QCString &);
314  void startConstraintParam();
315  void endConstraintParam();
316  void startConstraintType();
317  void endConstraintType();
318  void startConstraintDocs();
319  void endConstraintDocs();
320  void endConstraintList();
321 
322  void startMemberDocSimple(bool);
323  void endMemberDocSimple(bool);
324  void startInlineMemberType();
325  void endInlineMemberType();
326  void startInlineMemberName();
327  void endInlineMemberName();
328  void startInlineMemberDoc();
329  void endInlineMemberDoc();
330 
331  void startLabels();
332  void writeLabel(const QCString &l,bool isLast);
333  void endLabels();
334 
335  private:
336  static void writePageFooter(TextStream &t,const QCString &,const QCString &,const QCString &);
340  void docify(const QCString &text,bool inHtmlComment);
341 
342  int m_sectionCount = 0;
343  bool m_emptySection = false;
345 };
346 
347 #endif
HtmlCodeGenerator::startCodeLine
void startCodeLine(bool)
Definition: htmlgen.cpp:850
HtmlGenerator::endSmall
void endSmall()
Definition: htmlgen.h:246
HtmlGenerator::startMemberDescription
void startMemberDescription(const QCString &anchor, const QCString &inheritId, bool typ)
Definition: htmlgen.cpp:1739
HtmlGenerator::endLabels
void endLabels()
Definition: htmlgen.cpp:2990
HtmlGenerator::startMemberDeclaration
void startMemberDeclaration()
Definition: htmlgen.h:206
HtmlGenerator::endCompoundTemplateParams
void endCompoundTemplateParams()
Definition: htmlgen.cpp:1715
HtmlCodeGenerator::writeTooltip
void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
Definition: htmlgen.cpp:768
HtmlCodeGenerator::startFontClass
void startFontClass(const QCString &s)
Definition: htmlgen.cpp:874
HtmlCodeGenerator::_writeCodeLink
void _writeCodeLink(const QCString &className, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
Definition: htmlgen.cpp:742
HtmlGenerator::endFile
void endFile()
Definition: htmlgen.cpp:1225
HtmlGenerator::startLabels
void startLabels()
Definition: htmlgen.cpp:2976
HtmlGenerator::writeLabel
void writeLabel(const QCString &l, bool isLast)
Definition: htmlgen.cpp:2982
HtmlCodeGenerator::endFontClass
void endFontClass()
Definition: htmlgen.cpp:879
HtmlGenerator::exceptionEntry
void exceptionEntry(const QCString &, bool)
Definition: htmlgen.cpp:1980
HtmlGenerator::startSmall
void startSmall()
Definition: htmlgen.h:245
HtmlGenerator
Generator for HTML output
Definition: htmlgen.h:66
HtmlGenerator::startExamples
void startExamples()
Definition: htmlgen.cpp:2206
HtmlGenerator::startIndexValue
void startIndexValue(bool)
Definition: htmlgen.cpp:1840
HtmlGenerator::endConstraintType
void endConstraintType()
Definition: htmlgen.cpp:2853
HtmlGenerator::startGroupCollaboration
void startGroupCollaboration()
Definition: htmlgen.cpp:2053
HtmlGenerator::startDescTableRow
void startDescTableRow()
Definition: htmlgen.cpp:2176
HtmlCodeGenerator::setId
void setId(int id)
Definition: htmlgen.h:40
HtmlGenerator::endClassDiagram
void endClassDiagram(const ClassDiagram &, const QCString &, const QCString &)
Definition: htmlgen.cpp:1625
HtmlGenerator::endIndent
void endIndent()
Definition: htmlgen.cpp:2147
HtmlGenerator::endInlineMemberDoc
void endInlineMemberDoc()
Definition: htmlgen.cpp:2970
HtmlGenerator::endInlineHeader
void endInlineHeader()
Definition: htmlgen.cpp:2920
HtmlGenerator::startSubsection
void startSubsection()
Definition: htmlgen.h:239
HtmlGenerator::startMemberGroup
void startMemberGroup()
Definition: htmlgen.cpp:2132
DotDirDeps
Representation of an directory dependency graph
Definition: dotdirdeps.h:25
HtmlGenerator::endMemberGroupHeader
void endMemberGroupHeader()
Definition: htmlgen.cpp:2117
HtmlGenerator::startMemberDoc
void startMemberDoc(const QCString &clName, const QCString &memName, const QCString &anchor, const QCString &title, int memCount, int memTotal, bool showInline)
Definition: htmlgen.cpp:1861
HtmlCodeGenerator::m_t
TextStream & m_t
Definition: htmlgen.h:71
Definition
The common base class of all entity definitions found in the sources.
Definition: definition.h:76
HtmlCodeGenerator::docify
void docify(const QCString &str)
Definition: htmlgen.cpp:651
HtmlGenerator::writeLogo
void writeLogo()
Definition: htmlgen.cpp:1209
HtmlGenerator::writeRuler
void writeRuler()
Definition: htmlgen.h:212
BaseOutputDocInterface::ParamListTypes
ParamListTypes
Definition: outputgen.h:165
HtmlGenerator::startIndexList
void startIndexList()
Definition: htmlgen.cpp:1819
HtmlGenerator::startPageDoc
void startPageDoc(const QCString &pageTitle)
Definition: htmlgen.cpp:2618
HtmlGenerator::startDescForItem
void startDescForItem()
Definition: htmlgen.h:223
HtmlGenerator::endConstraintList
void endConstraintList()
Definition: htmlgen.cpp:2868
HtmlGenerator::endSection
void endSection(const QCString &, SectionType)
Definition: htmlgen.cpp:1486
HtmlGenerator::writeCodeLink
void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
Definition: htmlgen.h:93
HtmlGenerator::startCodeFragment
void startCodeFragment(const QCString &style)
Definition: htmlgen.h:114
HtmlCodeGenerator::m_lineOpen
bool m_lineOpen
Definition: htmlgen.h:74
HtmlGenerator::writeInheritedSectionTitle
void writeInheritedSectionTitle(const QCString &id, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &title, const QCString &name)
Definition: htmlgen.cpp:2996
HtmlGenerator::endDescTableData
void endDescTableData()
Definition: htmlgen.cpp:2201
HtmlCodeGenerator::m_col
int m_col
Definition: htmlgen.h:72
HtmlGenerator::startInclDepGraph
void startInclDepGraph()
Definition: htmlgen.cpp:2035
HtmlCodeGenerator::m_id
int m_id
Definition: htmlgen.h:75
HtmlGenerator::endMemberDeclaration
void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)
Definition: htmlgen.cpp:3050
HtmlGenerator::startIndexItem
void startIndexItem(const QCString &ref, const QCString &file)
Definition: htmlgen.cpp:1343
HtmlGenerator::endHeaderSection
void endHeaderSection()
Definition: htmlgen.cpp:2905
HtmlGenerator::writeQuickLinks
void writeQuickLinks(bool compact, HighlightedItem hli, const QCString &file)
Definition: htmlgen.cpp:2628
HtmlGenerator::lineBreak
void lineBreak(const QCString &style)
Definition: htmlgen.cpp:2876
HtmlGenerator::writeDoc
void writeDoc(DocNode *, const Definition *, const MemberDef *, int id)
Definition: htmlgen.cpp:2231
DocNode
Abstract node interface with type information.
Definition: docparser.h:96
HtmlGenerator::endMemberSections
void endMemberSections()
Definition: htmlgen.cpp:1772
HtmlGenerator::m_codeGen
HtmlCodeGenerator m_codeGen
Definition: htmlgen.h:344
HtmlGenerator::startDescItem
void startDescItem()
Definition: htmlgen.h:221
HtmlGenerator::startGroupHeader
void startGroupHeader(int)
Definition: htmlgen.cpp:1440
HtmlCodeGenerator::writeLineNumber
void writeLineNumber(const QCString &, const QCString &, const QCString &, int, bool)
Definition: htmlgen.cpp:698
HtmlGenerator::startMemberDocPrefixItem
void startMemberDocPrefixItem()
Definition: htmlgen.cpp:1878
HtmlGenerator::m_emptySection
bool m_emptySection
Definition: htmlgen.h:343
HtmlGenerator::startItemListItem
void startItemListItem()
Definition: htmlgen.h:169
HtmlGenerator::writeSummaryLink
void writeSummaryLink(const QCString &file, const QCString &anchor, const QCString &title, bool first)
Definition: htmlgen.cpp:3025
HtmlGenerator::writeChar
void writeChar(char c)
Definition: htmlgen.cpp:1538
HtmlGenerator::startQuickIndices
void startQuickIndices()
Definition: htmlgen.h:261
HtmlGenerator::startClassDiagram
void startClassDiagram()
Definition: htmlgen.cpp:1620
HtmlGenerator::writeStyleSheetFile
static void writeStyleSheetFile(TextStream &t)
Definition: htmlgen.cpp:1101
HtmlGenerator::writeFooter
void writeFooter(const QCString &navPath)
Definition: htmlgen.cpp:1220
HtmlGenerator::writeCodeAnchor
void writeCodeAnchor(const QCString &anchor)
Definition: htmlgen.h:112
HtmlCodeGenerator::addWord
void addWord(const QCString &, bool)
Definition: htmlgen.h:61
HtmlCodeGenerator::codify
void codify(const QCString &text)
Definition: htmlgen.cpp:587
HtmlGenerator::endDescTableRow
void endDescTableRow()
Definition: htmlgen.cpp:2181
HtmlGenerator::startMemberTemplateParams
void startMemberTemplateParams()
Definition: htmlgen.cpp:1695
HtmlGenerator::endCenter
void endCenter()
Definition: htmlgen.h:244
HtmlGenerator::writeSearchData
static void writeSearchData(const QCString &dir)
Definition: htmlgen.cpp:1044
HtmlGenerator::endIndexList
void endIndexList()
Definition: htmlgen.cpp:1824
HtmlGenerator::HtmlGenerator
HtmlGenerator()
Definition: htmlgen.cpp:905
HtmlGenerator::startAnonTypeScope
void startAnonTypeScope(int)
Definition: htmlgen.h:186
HtmlGenerator::startHeaderSection
void startHeaderSection()
Definition: htmlgen.cpp:2888
HtmlCodeGenerator::writeCodeLink
void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
Definition: htmlgen.cpp:727
HtmlGenerator::startDescTableTitle
void startDescTableTitle()
Definition: htmlgen.cpp:2186
HtmlGenerator::startHtmlLink
void startHtmlLink(const QCString &url)
Definition: htmlgen.cpp:1425
HtmlGenerator::startParagraph
void startParagraph(const QCString &classDef)
Definition: htmlgen.cpp:1315
HtmlGenerator::endPageDoc
void endPageDoc()
Definition: htmlgen.cpp:2623
TextStream
Text streaming class that buffers data.
Definition: textstream.h:33
HtmlGenerator::clearBuffer
void clearBuffer()
HtmlGenerator::endConstraintParam
void endConstraintParam()
Definition: htmlgen.cpp:2843
HtmlGenerator::startTitleHead
void startTitleHead(const QCString &)
Definition: htmlgen.cpp:2893
HtmlGenerator::startParameterType
void startParameterType(bool first, const QCString &key)
Definition: htmlgen.cpp:1914
HtmlGenerator::startIndexSection
void startIndexSection(IndexSections)
Definition: htmlgen.h:130
HtmlGenerator::startMemberSections
void startMemberSections()
Definition: htmlgen.cpp:1764
HtmlGenerator::startTextBlock
void startTextBlock(bool)
Definition: htmlgen.h:295
HtmlGenerator::startPageRef
void startPageRef()
Definition: htmlgen.h:259
HtmlGenerator::writeGraphicalHierarchy
void writeGraphicalHierarchy(DotGfxHierarchyTable &g)
Definition: htmlgen.cpp:2107
SectionType
SectionType
enum representing the various types of sections and entities that can be referred to.
Definition: section.h:28
HtmlGenerator::endCallGraph
void endCallGraph(DotCallGraph &g)
Definition: htmlgen.cpp:2076
HtmlGenerator::writeExternalSearchPage
static void writeExternalSearchPage()
Definition: htmlgen.cpp:2725
HtmlCodeGenerator::endCodeFragment
void endCodeFragment(const QCString &)
Definition: htmlgen.cpp:894
HtmlGenerator::docify
void docify(const QCString &text)
Definition: htmlgen.cpp:1499
HtmlGenerator::startInlineHeader
void startInlineHeader()
Definition: htmlgen.cpp:2910
HtmlGenerator::endIndexValue
void endIndexValue(const QCString &, bool)
Definition: htmlgen.cpp:1846
HtmlGenerator::endIndexListItem
void endIndexListItem()
Definition: htmlgen.cpp:1338
HtmlGenerator::endMemberList
void endMemberList()
Definition: htmlgen.cpp:1664
HtmlGenerator::getMathJaxMacros
static QCString getMathJaxMacros()
Definition: htmlgen.cpp:3076
HtmlGenerator::startMemberList
void startMemberList()
Definition: htmlgen.cpp:1659
HtmlGenerator::writeFooterFile
static void writeFooterFile(TextStream &t)
Definition: htmlgen.cpp:1112
HtmlGenerator::writeLatexSpacing
void writeLatexSpacing()
Definition: htmlgen.h:235
HtmlGenerator::writeAnchor
void writeAnchor(const QCString &, const QCString &name)
Definition: htmlgen.h:213
HtmlGenerator::endTitleHead
void endTitleHead(const QCString &, const QCString &)
Definition: htmlgen.cpp:2899
HtmlGenerator::m_lastFile
QCString m_lastFile
Definition: htmlgen.h:338
HtmlGenerator::startEmphasis
void startEmphasis()
Definition: htmlgen.h:215
HtmlGenerator::endMemberDocPrefixItem
void endMemberDocPrefixItem()
Definition: htmlgen.cpp:1884
HtmlGenerator::startIndent
void startIndent()
Definition: htmlgen.cpp:2140
HtmlGenerator::endDescTable
void endDescTable()
Definition: htmlgen.cpp:2171
HtmlGenerator::endDotGraph
void endDotGraph(DotClassGraph &g)
Definition: htmlgen.cpp:2012
HtmlGenerator::startFile
void startFile(const QCString &name, const QCString &manName, const QCString &title, int id)
Definition: htmlgen.cpp:1120
HtmlGenerator::endIndexKey
void endIndexKey()
Definition: htmlgen.cpp:1835
outputgen.h
OutputGenerator::m_t
TextStream m_t
Definition: outputgen.h:511
HtmlGenerator::startMemberSubtitle
void startMemberSubtitle()
Definition: htmlgen.cpp:1807
HtmlGenerator::setCurrentDoc
void setCurrentDoc(const Definition *context, const QCString &anchor, bool isSourceFile)
Definition: htmlgen.cpp:3060
MemberDef
A model of a class/file/namespace member symbol.
Definition: memberdef.h:45
HtmlGenerator::endProjectNumber
void endProjectNumber()
Definition: htmlgen.cpp:1235
HtmlGenerator::endParamList
void endParamList()
Definition: htmlgen.cpp:2226
HtmlGenerator::startContents
void startContents()
Definition: htmlgen.cpp:2608
HtmlCodeGenerator::m_relPath
QCString m_relPath
Definition: htmlgen.h:73
HtmlGenerator::endDescForItem
void endDescForItem()
Definition: htmlgen.h:224
HtmlGenerator::writeTooltip
void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
Definition: htmlgen.h:100
HtmlCodeGenerator::writeCodeAnchor
void writeCodeAnchor(const QCString &anchor)
Definition: htmlgen.cpp:884
HtmlGenerator::insertMemberAlign
void insertMemberAlign(bool)
Definition: htmlgen.cpp:1720
HtmlGenerator::writeSplitBar
void writeSplitBar(const QCString &name)
Definition: htmlgen.cpp:2598
HtmlGenerator::endContents
void endContents()
Definition: htmlgen.cpp:2613
HtmlGenerator::operator=
HtmlGenerator & operator=(const HtmlGenerator &g)
Definition: htmlgen.cpp:913
HtmlGenerator::startTypewriter
void startTypewriter()
Definition: htmlgen.h:165
HtmlGenerator::cleanup
void cleanup()
Definition: htmlgen.cpp:1005
HtmlGenerator::startTitle
void startTitle()
Definition: htmlgen.h:138
HtmlGenerator::endItemList
void endItemList()
Definition: htmlgen.h:153
HtmlGenerator::endCodeFragment
void endCodeFragment(const QCString &style)
Definition: htmlgen.h:116
HtmlGenerator::endTextLink
void endTextLink()
Definition: htmlgen.cpp:1420
HtmlGenerator::startMemberDocSimple
void startMemberDocSimple(bool)
Definition: htmlgen.cpp:2925
DotCallGraph
Representation of an call graph
Definition: dotcallgraph.h:26
HtmlGenerator::startDescTableData
void startDescTableData()
Definition: htmlgen.cpp:2196
HtmlGenerator::startInlineMemberType
void startInlineMemberType()
Definition: htmlgen.cpp:2940
HtmlGenerator::startCodeLine
void startCodeLine(bool hasLineNumbers)
Definition: htmlgen.h:104
HtmlGenerator::endQuickIndices
void endQuickIndices()
Definition: htmlgen.cpp:2558
HtmlGenerator::endMemberItem
void endMemberItem()
Definition: htmlgen.cpp:1690
HtmlGenerator::writeNavigationPath
void writeNavigationPath(const QCString &s)
Definition: htmlgen.cpp:2603
HtmlGenerator::endTextBlock
void endTextBlock(bool)
Definition: htmlgen.h:297
OutputGenerator::dir
QCString dir() const
Definition: outputgen.cpp:80
HtmlCodeGenerator::setCurrentDoc
void setCurrentDoc(const Definition *, const QCString &, bool)
Definition: htmlgen.h:60
HtmlGenerator::startIndexListItem
void startIndexListItem()
Definition: htmlgen.cpp:1333
HtmlGenerator::writeSynopsis
void writeSynopsis()
Definition: htmlgen.h:256
HtmlGenerator::startInlineMemberName
void startInlineMemberName()
Definition: htmlgen.cpp:2952
HtmlGenerator::writeStyleInfo
void writeStyleInfo(int part)
Definition: htmlgen.cpp:1240
HtmlGenerator::endPageRef
void endPageRef(const QCString &, const QCString &)
Definition: htmlgen.h:260
HtmlGenerator::endParameterType
void endParameterType()
Definition: htmlgen.cpp:1931
OutputGenerator::Html
@ Html
Definition: outputgen.h:333
HtmlGenerator::m_sectionCount
int m_sectionCount
Definition: htmlgen.h:342
HtmlGenerator::endMemberDocList
void endMemberDocList()
Definition: htmlgen.cpp:1856
HtmlGenerator::endMemberGroupDocs
void endMemberGroupDocs()
Definition: htmlgen.cpp:2127
HtmlGenerator::startFontClass
void startFontClass(const QCString &s)
Definition: htmlgen.h:108
HtmlGenerator::endExamples
void endExamples()
Definition: htmlgen.cpp:2213
HtmlGenerator::writeLineNumber
void writeLineNumber(const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)
Definition: htmlgen.h:98
HtmlGenerator::endMemberDoc
void endMemberDoc(bool)
Definition: htmlgen.cpp:1996
HtmlCodeGenerator
Definition: htmlgen.h:21
ClassDiagram
Class representing a built-in class diagram.
Definition: diagram.h:29
DotClassGraph
Representation of a class inheritance or dependency graph
Definition: dotclassgraph.h:28
HtmlGenerator::endDescItem
void endDescItem()
Definition: htmlgen.h:222
HtmlGenerator::m_lastTitle
QCString m_lastTitle
Definition: htmlgen.h:337
HtmlGenerator::endDoxyAnchor
void endDoxyAnchor(const QCString &fName, const QCString &anchor)
Definition: htmlgen.cpp:1306
HtmlGenerator::startDirDepGraph
void startDirDepGraph()
Definition: htmlgen.cpp:2089
HtmlGenerator::endCodeLine
void endCodeLine()
Definition: htmlgen.h:106
HtmlGenerator::startMemberItem
void startMemberItem(const QCString &anchor, int, const QCString &inheritId)
Definition: htmlgen.cpp:1673
HtmlGenerator::writeObjectLink
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
Definition: htmlgen.cpp:1391
HtmlGenerator::endParameterList
void endParameterList()
Definition: htmlgen.cpp:1973
HtmlGenerator::endGroupHeader
void endGroupHeader(int)
Definition: htmlgen.cpp:1456
HtmlGenerator::startMemberGroupHeader
void startMemberGroupHeader(bool)
Definition: htmlgen.cpp:2112
HtmlGenerator::insertMemberAlignLeft
void insertMemberAlignLeft(int, bool)
Definition: htmlgen.cpp:1727
HtmlGenerator::~HtmlGenerator
virtual ~HtmlGenerator()
Definition: htmlgen.cpp:924
OutputGenerator
Abstract output generator.
Definition: outputgen.h:330
HtmlGenerator::writePageLink
void writePageLink(const QCString &, bool)
Definition: htmlgen.h:132
HtmlGenerator::startConstraintType
void startConstraintType()
Definition: htmlgen.cpp:2848
HtmlGenerator::endConstraintDocs
void endConstraintDocs()
Definition: htmlgen.cpp:2863
HtmlGenerator::startMemberGroupDocs
void startMemberGroupDocs()
Definition: htmlgen.cpp:2122
HtmlGenerator::addWord
void addWord(const QCString &word, bool hiPriority)
Definition: htmlgen.cpp:3068
HtmlGenerator::startParameterName
void startParameterName(bool)
Definition: htmlgen.cpp:1937
HtmlGenerator::writeLogoAsString
static QCString writeLogoAsString(const QCString &path)
Definition: htmlgen.cpp:1185
HtmlGenerator::writeSearchPage
static void writeSearchPage()
Definition: htmlgen.cpp:2634
HtmlGenerator::endInlineMemberName
void endInlineMemberName()
Definition: htmlgen.cpp:2958
HtmlCodeGenerator::setRelativePath
void setRelativePath(const QCString &path)
Definition: htmlgen.cpp:582
HtmlGenerator::endBold
void endBold()
Definition: htmlgen.h:218
HtmlGenerator::startBold
void startBold()
Definition: htmlgen.h:217
HtmlGenerator::startCallGraph
void startCallGraph()
Definition: htmlgen.cpp:2071
HtmlGenerator::endDirDepGraph
void endDirDepGraph(DotDirDeps &g)
Definition: htmlgen.cpp:2094
CodeOutputInterface
Output interface for code parser.
Definition: outputgen.h:61
IndexSections
IndexSections
Definition: index.h:115
HtmlGenerator::endMemberSubtitle
void endMemberSubtitle()
Definition: htmlgen.cpp:1813
HtmlGenerator::endFontClass
void endFontClass()
Definition: htmlgen.h:110
HtmlGenerator::writeSearchInfo
void writeSearchInfo()
Definition: htmlgen.cpp:1179
HtmlGenerator::writeSplitBarAsString
static QCString writeSplitBarAsString(const QCString &name, const QCString &relpath)
Definition: htmlgen.cpp:2563
HtmlGenerator::endMemberDocSimple
void endMemberDocSimple(bool)
Definition: htmlgen.cpp:2934
HtmlGenerator::endIndexItem
void endIndexItem(const QCString &ref, const QCString &file)
Definition: htmlgen.cpp:1368
HtmlGenerator::endMemberTemplateParams
void endMemberTemplateParams(const QCString &anchor, const QCString &inheritId)
Definition: htmlgen.cpp:1699
HtmlGenerator::startParamList
void startParamList(ParamListTypes, const QCString &)
Definition: htmlgen.cpp:2218
HtmlGenerator::startInlineMemberDoc
void startInlineMemberDoc()
Definition: htmlgen.cpp:2964
HtmlGenerator::startCompoundTemplateParams
void startCompoundTemplateParams()
Definition: htmlgen.cpp:1710
HtmlGenerator::startSection
void startSection(const QCString &, const QCString &, SectionType)
Definition: htmlgen.cpp:1472
DotGroupCollaboration
Representation of a group collaboration graph
Definition: dotgroupcollaboration.h:28
HtmlGenerator::startSubsubsection
void startSubsubsection()
Definition: htmlgen.h:241
HtmlGenerator::startDescription
void startDescription()
Definition: htmlgen.h:219
HtmlGenerator::startDoxyAnchor
void startDoxyAnchor(const QCString &fName, const QCString &manName, const QCString &anchor, const QCString &name, const QCString &args)
Definition: htmlgen.cpp:1299
HtmlCodeGenerator::id
int id() const
Identifier for the output file
Definition: htmlgen.h:39
HtmlGenerator::startTextLink
void startTextLink(const QCString &file, const QCString &anchor)
Definition: htmlgen.cpp:1412
HtmlGenerator::startIndexKey
void startIndexKey()
Definition: htmlgen.cpp:1829
HtmlGenerator::startConstraintList
void startConstraintList(const QCString &)
Definition: htmlgen.cpp:2831
HtmlGenerator::endIndexSection
void endIndexSection(IndexSections)
Definition: htmlgen.h:131
HtmlGenerator::endInlineMemberType
void endInlineMemberType()
Definition: htmlgen.cpp:2946
HtmlGenerator::startDescTable
void startDescTable(const QCString &title)
Definition: htmlgen.cpp:2166
DotInclDepGraph
Representation of an include dependency graph
Definition: dotincldepgraph.h:30
HtmlGenerator::startDotGraph
void startDotGraph()
Definition: htmlgen.cpp:2007
HtmlGenerator::startConstraintDocs
void startConstraintDocs()
Definition: htmlgen.cpp:2858
HtmlGenerator::endSubsection
void endSubsection()
Definition: htmlgen.h:240
HtmlGenerator::writeEndAnnoItem
void writeEndAnnoItem(const QCString &)
Definition: htmlgen.h:238
DotGfxHierarchyTable
Represents a graphical class hierarchy
Definition: dotgfxhierarchytable.h:31
HtmlCodeGenerator::HtmlCodeGenerator
HtmlCodeGenerator(TextStream &t, const QCString &relPath)
Definition: htmlgen.cpp:577
OutputGenerator::OutputType
OutputType
Definition: outputgen.h:333
HtmlGenerator::endTitle
void endTitle()
Definition: htmlgen.h:139
HtmlGenerator::endDescTableTitle
void endDescTableTitle()
Definition: htmlgen.cpp:2191
HtmlGenerator::startMemberDocList
void startMemberDocList()
Definition: htmlgen.cpp:1851
HtmlGenerator::startItemList
void startItemList()
Definition: htmlgen.h:152
HtmlGenerator::startConstraintParam
void startConstraintParam()
Definition: htmlgen.cpp:2838
HtmlGenerator::endInclDepGraph
void endInclDepGraph(DotInclDepGraph &g)
Definition: htmlgen.cpp:2040
HtmlGenerator::endParagraph
void endParagraph()
Definition: htmlgen.cpp:1323
HtmlGenerator::writeNonBreakableSpace
void writeNonBreakableSpace(int)
Definition: htmlgen.cpp:2157
HtmlGenerator::startCenter
void startCenter()
Definition: htmlgen.h:243
HtmlGenerator::writeStartAnnoItem
void writeStartAnnoItem(const QCString &type, const QCString &file, const QCString &path, const QCString &name)
Definition: htmlgen.cpp:1381
HtmlGenerator::lastIndexPage
void lastIndexPage()
Definition: htmlgen.h:299
HtmlGenerator::startMemberHeader
void startMemberHeader(const QCString &, int)
Definition: htmlgen.cpp:1781
HtmlGenerator::endHtmlLink
void endHtmlLink()
Definition: htmlgen.cpp:1435
HtmlGenerator::writeString
void writeString(const QCString &text)
Definition: htmlgen.cpp:1328
HtmlGenerator::endGroupCollaboration
void endGroupCollaboration(DotGroupCollaboration &g)
Definition: htmlgen.cpp:2058
HtmlGenerator::endDescription
void endDescription()
Definition: htmlgen.h:220
HtmlCodeGenerator::endCodeLine
void endCodeLine()
Definition: htmlgen.cpp:860
HtmlGenerator::clone
virtual std::unique_ptr< OutputGenerator > clone() const
Definition: htmlgen.cpp:919
HtmlGenerator::endMemberGroup
void endMemberGroup(bool)
Definition: htmlgen.cpp:2136
HtmlGenerator::init
static void init()
Definition: htmlgen.cpp:930
HtmlGenerator::writePageFooter
static void writePageFooter(TextStream &t, const QCString &, const QCString &, const QCString &)
Definition: htmlgen.cpp:1214
HtmlGenerator::endAnonTypeScope
void endAnonTypeScope(int)
Definition: htmlgen.h:187
HtmlGenerator::writeHeaderFile
static void writeHeaderFile(TextStream &t, const QCString &cssname)
Definition: htmlgen.cpp:1106
HtmlGenerator::startMemberDocName
void startMemberDocName(bool)
Definition: htmlgen.cpp:1890
CodeSymbolType
CodeSymbolType
Definition: types.h:204
HtmlGenerator::endTypewriter
void endTypewriter()
Definition: htmlgen.h:166
HtmlGenerator::endEmphasis
void endEmphasis()
Definition: htmlgen.h:216
HtmlGenerator::endParameterName
void endParameterName(bool last, bool emptyList, bool closeBracket)
Definition: htmlgen.cpp:1943
HtmlGenerator::startParameterList
void startParameterList(bool)
Definition: htmlgen.cpp:1906
HtmlGenerator::type
virtual OutputType type() const
Definition: htmlgen.h:75
HtmlGenerator::codify
void codify(const QCString &text)
Definition: htmlgen.h:91
HtmlGenerator::endSubsubsection
void endSubsubsection()
Definition: htmlgen.h:242
HtmlGenerator::writeTabData
static void writeTabData()
Additional initialization after indices have been created
Definition: htmlgen.cpp:1013
HtmlGenerator::endMemberDocName
void endMemberDocName()
Definition: htmlgen.cpp:1900
HighlightedItem
HighlightedItem
Definition: index.h:140
HtmlGenerator::startProjectNumber
void startProjectNumber()
Definition: htmlgen.cpp:1230
HtmlGenerator::addIndexItem
void addIndexItem(const QCString &, const QCString &)
Definition: htmlgen.cpp:2153
HtmlGenerator::endMemberDescription
void endMemberDescription()
Definition: htmlgen.cpp:1758
HtmlGenerator::m_relPath
QCString m_relPath
Definition: htmlgen.h:339
HtmlGenerator::endItemListItem
void endItemListItem()
Definition: htmlgen.h:170
HtmlGenerator::endMemberHeader
void endMemberHeader()
Definition: htmlgen.cpp:1801
HtmlCodeGenerator::startCodeFragment
void startCodeFragment(const QCString &style)
Definition: htmlgen.cpp:889
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108