21 #include "outputgen.h" 36 {
if (genStack->top()) active=*genStack->top();
else active=TRUE; }
37 void disable() { active=FALSE; }
38 void enableIf(OutputType o) {
if (o==Man) enable(); }
39 void disableIf(OutputType o) {
if (o==Man) disable(); }
40 void disableIfNot(OutputType o) {
if (o!=Man) disable(); }
41 bool isEnabled(OutputType o) {
return (o==Man && active); }
47 void startFile(
const char *name,
const char *manName,
const char *title);
48 void writeSearchInfo() {}
49 void writeFooter(
const char *) {}
53 void startIndexSection(IndexSections) {}
54 void endIndexSection(IndexSections) {}
55 void writePageLink(
const char *,
bool) {}
56 void startProjectNumber() {}
57 void endProjectNumber() {}
58 void writeStyleInfo(
int) {}
59 void startTitleHead(
const char *) {}
60 void endTitleHead(
const char *,
const char *);
68 void startIndexListItem() {}
69 void endIndexListItem() {}
70 void startIndexList() {}
71 void endIndexList() { newParagraph(); }
72 void startIndexKey() {}
74 void startIndexValue(
bool) {}
75 void endIndexValue(
const char *,
bool) {}
78 void startIndexItem(
const char *ref,
const char *file);
79 void endIndexItem(
const char *ref,
const char *file);
80 void docify(
const char *text);
81 void codify(
const char *text);
83 const char *anchor,
const char *name);
85 const char *anchor,
const char *name,
90 void startTextLink(
const char *,
const char *) {}
96 void startGroupHeader(
int);
97 void endGroupHeader(
int);
98 void startMemberSections() {}
99 void endMemberSections() {}
100 void startHeaderSection() {}
101 void endHeaderSection();
102 void startMemberHeader(
const char *);
103 void endMemberHeader();
104 void insertMemberAlign(
bool) {}
105 void startMemberSubtitle() {}
106 void endMemberSubtitle() {}
110 void startMemberDocList() {}
111 void endMemberDocList() {}
112 void startMemberList();
113 void endMemberList();
114 void startInlineHeader();
115 void endInlineHeader();
116 void startAnonTypeScope(
int);
117 void endAnonTypeScope(
int);
118 void startMemberItem(
const char *,
int,
const char *);
119 void endMemberItem();
120 void startMemberTemplateParams() {}
121 void endMemberTemplateParams(
const char *,
const char *) {}
123 void startMemberGroupHeader(
bool);
124 void endMemberGroupHeader();
125 void startMemberGroupDocs();
126 void endMemberGroupDocs();
127 void startMemberGroup();
128 void endMemberGroup(
bool);
131 void writeAnchor(
const char *,
const char *) {}
135 void startCodeLine(
bool) {}
140 void endBold() { t <<
"\\fP"; firstCol=FALSE; }
145 void lineBreak(
const char *) { t <<
"\n.br" << endl; }
147 void startMemberDoc(
const char *,
const char *,
const char *,
const char *,
int,
int,
bool);
148 void endMemberDoc(
bool);
149 void startDoxyAnchor(
const char *,
const char *,
const char *,
const char *,
const char *);
150 void endDoxyAnchor(
const char *,
const char *) {}
151 void writeLatexSpacing() {}
152 void writeStartAnnoItem(
const char *type,
const char *file,
153 const char *path,
const char *name);
154 void writeEndAnnoItem(
const char *) { t << endl; firstCol=TRUE; }
155 void startSubsection();
156 void endSubsection();
157 void startSubsubsection();
158 void endSubsubsection();
159 void startCenter() {}
163 void startMemberDescription(
const char *,
const char *) { t <<
"\n.RI \""; firstCol=FALSE; }
164 void endMemberDescription() { t <<
"\""; firstCol=FALSE; }
165 void startMemberDeclaration() {}
166 void endMemberDeclaration(
const char *,
const char *) {}
167 void writeInheritedSectionTitle(
const char *,
const char *,
const char *,
168 const char *,
const char *,
const char *) {}
169 void startDescList(SectionTypes);
170 void endDescList() {}
171 void startSimpleSect(SectionTypes,
const char *,
const char *,
const char *);
172 void endSimpleSect();
173 void startParamList(ParamListTypes,
const char *title);
176 void startDescForItem();
177 void endDescForItem();
178 void startSection(
const char *,
const char *,SectionInfo::SectionType);
179 void endSection(
const char *,SectionInfo::SectionType);
180 void addIndexItem(
const char *,
const char *) {}
181 void startIndent() {}
183 void writeSynopsis();
184 void startClassDiagram() {}
185 void endClassDiagram(
const ClassDiagram &,
const char *,
const char *) {}
186 void startPageRef() {}
187 void endPageRef(
const char *,
const char *) {}
188 void startQuickIndices() {}
189 void endQuickIndices() {}
190 void writeSplitBar(
const char *) {}
191 void writeNavigationPath(
const char *) {}
193 void writeQuickLinks(
bool,HighlightedItem,
const char *) {}
194 void writeSummaryLink(
const char *,
const char *,
const char *,
bool) {}
195 void startContents() {}
196 void endContents() {}
197 void writeNonBreakableSpace(
int n) {
int i;
for (i=0;i<n;i++) t <<
" "; }
199 void startDescTable(
const char *t)
200 { startSimpleSect(EnumValues,0,0,t); startDescForItem(); }
201 void endDescTable() { endDescForItem(); endSimpleSect(); }
202 void startDescTableRow() {}
203 void endDescTableRow() {}
206 void startDescTableData() { t << endl; firstCol=TRUE; }
207 void endDescTableData() {}
209 void startDotGraph() {}
211 void startInclDepGraph() {}
213 void startGroupCollaboration() {}
215 void startCallGraph() {}
217 void startDirDepGraph() {}
221 void startTextBlock(
bool) {}
222 void endTextBlock(
bool) {}
223 void lastIndexPage() {}
225 void startMemberDocPrefixItem() {}
226 void endMemberDocPrefixItem() {}
227 void startMemberDocName(
bool) {}
228 void endMemberDocName() {}
229 void startParameterType(
bool,
const char *) {}
230 void endParameterType() {}
231 void startParameterName(
bool) {}
232 void endParameterName(
bool,
bool,
bool) {}
233 void startParameterList(
bool) {}
234 void endParameterList() {}
235 void exceptionEntry(
const char*,
bool) {}
240 void startConstraintList(
const char *);
241 void startConstraintParam();
242 void endConstraintParam();
243 void startConstraintType();
244 void endConstraintType();
245 void startConstraintDocs();
246 void endConstraintDocs();
247 void endConstraintList();
249 void startMemberDocSimple(
bool);
250 void endMemberDocSimple(
bool);
251 void startInlineMemberType();
252 void endInlineMemberType();
253 void startInlineMemberName();
254 void endInlineMemberName();
255 void startInlineMemberDoc();
256 void endInlineMemberDoc();
259 void writeLabel(
const char *l,
bool isLast);
263 void setCurrentDoc(
Definition *,
const char *,
bool) {}
264 void addWord(
const char *,
bool) {}
void endParagraph()
Definition: mangen.cpp:222
void writeString(const char *text)
Definition: mangen.cpp:226
void writeCodeAnchor(const char *)
Definition: mangen.h:262
void endItemList()
Definition: mangen.h:77
void endBold()
Definition: mangen.h:140
The common base class of all entity definitions found in the sources.
Definition: definition.h:92
A model of a class/file/namespace member symbol.
Definition: memberdef.h:43
void endDescription()
Definition: mangen.h:142
void endHtmlLink()
Definition: mangen.cpp:261
void endDescItem()
Definition: mangen.cpp:532
void startDescItem()
Definition: mangen.cpp:505
void startEmphasis()
Definition: mangen.h:137
void startTypewriter()
Definition: mangen.h:94
void startDescription()
Definition: mangen.h:141
void writeObjectLink(const char *ref, const char *file, const char *anchor, const char *name)
Definition: mangen.cpp:244
void endEmphasis()
Definition: mangen.h:138
void docify(const char *text)
Definition: mangen.cpp:299
void writeRuler()
Definition: mangen.h:130
void writeChar(char c)
Definition: mangen.cpp:353
void codify(const char *text)
Definition: mangen.cpp:323
Represents a graphical class hierarchy.
Definition: dot.h:149
void startCodeFragment()
Definition: mangen.cpp:404
Representation of a group collaboration graph.
Definition: dot.h:278
void endCodeLine()
Definition: mangen.h:136
void startItemListItem()
Definition: mangen.cpp:391
void writeTooltip(const char *, const DocLinkInfo &, const char *, const char *, const SourceLinkInfo &, const SourceLinkInfo &)
Definition: mangen.h:87
void endItemListItem()
Definition: mangen.cpp:400
void startHtmlLink(const char *url)
Definition: mangen.cpp:257
void endCodeFragment()
Definition: mangen.cpp:412
void startBold()
Definition: mangen.h:139
The QFile class is an I/O device that operates on files.
Definition: qfile.h:50
void startFontClass(const char *)
Definition: mangen.h:237
Class representing a built-in class diagram.
Definition: diagram.h:29
void writeLineNumber(const char *, const char *, const char *, int l)
Definition: mangen.h:134
Representation of an call graph.
Definition: dot.h:232
void startItemList()
Definition: mangen.h:76
void writeCodeLink(const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
Definition: mangen.cpp:250
Representation of a class inheritance or dependency graph.
Definition: dot.h:169
Abstract node interface with type information.
Definition: docparser.h:79
Abstract output generator.
Definition: outputgen.h:322
Representation of an include dependency graph.
Definition: dot.h:203
Representation of an directory dependency graph.
Definition: dot.h:258
void endFontClass()
Definition: mangen.h:238
void endTypewriter()
Definition: mangen.h:95
void startParagraph(const char *classDef)
Definition: mangen.cpp:211
Definition: outputgen.h:48
Definition: outputgen.h:40
Generator for Man page output.
Definition: mangen.h:26