浏览该文件的文档.
45 template<
class Generator>
48 m_outputs.emplace_back(std::make_unique<Generator>());
70 bool indexWords,
bool isExample,
const QCString &exampleName ,
71 bool singleLine ,
bool linkFromIndex ,
72 bool markdownSupport );
250 int lineNumber,
bool writeLineAnchor)
260 int memCount,
int memTotal,
bool showInline)
318 file,anchor,title,name); }
507 template<
typename T,
class... Ts,
class... As>
508 void forall(
void (T::*methodPtr)(Ts...),As&&... args)
512 if (og->isEnabled()) (og.get()->*methodPtr)(std::forward<As>(args)...);
516 std::vector< std::unique_ptr<OutputGenerator> >
m_outputs;
void endDirDepGraph(DotDirDeps &g)
void startParameterType(bool first, const QCString &key)
virtual void startParameterType(bool, const QCString &key)=0
void startParameterName(bool one)
void disableAllBut(OutputGenerator::OutputType o)
virtual void endDescription()=0
virtual void startInclDepGraph()=0
virtual void writeSynopsis()=0
virtual void startMemberGroup()=0
void startMemberDescription(const QCString &anchor, const QCString &inheritId=QCString(), bool typ=false)
virtual void endHtmlLink()=0
void startSubsubsection()
virtual void startMemberTemplateParams()=0
void endGroupHeader(int extraLevels=0)
void endIndexValue(const QCString &name, bool b)
virtual void startInlineMemberType()=0
void startAnonTypeScope(int i1)
virtual void startMemberItem(const QCString &, int, const QCString &)=0
virtual void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)=0
virtual void writeLineNumber(const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)=0
void endMemberDocSimple(bool b)
virtual void endInclDepGraph(DotInclDepGraph &g)=0
virtual void endParameterList()=0
void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)
virtual void endMemberTemplateParams(const QCString &, const QCString &)=0
int id() const
Identifier for the output file
Representation of an directory dependency graph
virtual void addWord(const QCString &word, bool hiPriority)=0
virtual void endConstraintDocs()=0
virtual void startMemberDocName(bool)=0
virtual void startDotGraph()=0
virtual void startDoxyAnchor(const QCString &fName, const QCString &manName, const QCString &anchor, const QCString &name, const QCString &args)=0
The common base class of all entity definitions found in the sources.
virtual void writeNonBreakableSpace(int)=0
virtual void lastIndexPage()=0
void startDoxyAnchor(const QCString &fName, const QCString &manName, const QCString &anchor, const QCString &name, const QCString &args)
virtual void startConstraintList(const QCString &)=0
virtual void startTextLink(const QCString &file, const QCString &anchor)=0
void endDoxyAnchor(const QCString &fn, const QCString &anchor)
virtual void insertMemberAlign(bool)=0
virtual void endItemListItem()=0
void startIndexItem(const QCString &ref, const QCString &file)
virtual void endHeaderSection()=0
void addWord(const QCString &word, bool hiPriority)
Interface used for generating documentation.
Root node of documentation tree
void docify(const QCString &s)
virtual void startIndexSection(IndexSections)=0
void startInlineMemberType()
virtual void startContents()=0
virtual void startCallGraph()=0
void endTitleHead(const QCString &fileName, const QCString &name)
virtual void startMemberDocSimple(bool)=0
virtual void startInlineMemberName()=0
void endMemberDescription()
virtual void endGroupHeader(int)=0
void startConstraintParam()
virtual void endDotGraph(DotClassGraph &g)=0
void startConstraintType()
virtual void startPageRef()=0
virtual void startMemberList()=0
void writeLabel(const QCString &l, bool isLast)
void startCompoundTemplateParams()
void startMemberSections()
void writeSplitBar(const QCString &name)
void endMemberDocPrefixItem()
void writeString(const QCString &text)
void insertMemberAlign(bool templ=FALSE)
void endGroupCollaboration(DotGroupCollaboration &g)
void endConstraintParam()
virtual void startTypewriter()=0
virtual void writeInheritedSectionTitle(const QCString &id, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &title, const QCString &name)=0
void setCurrentDoc(const Definition *context, const QCString &anchor, bool isSourceFile)
virtual void endTitleHead(const QCString &fileName, const QCString &name)=0
virtual void endMemberSections()=0
static QCString align(DocHtmlCell *cell)
virtual void endPageDoc()
virtual void startConstraintDocs()=0
virtual void startDescTableData()=0
virtual void startFontClass(const QCString &clsName)=0
virtual void endAnonTypeScope(int)=0
virtual void endCodeFragment(const QCString &style)=0
void endParameterName(bool last, bool one, bool bracket)
void startGroupCollaboration()
void startMemberTemplateParams()
virtual void endConstraintList()=0
virtual void endConstraintType()=0
void startConstraintList(const QCString &header)
virtual void writeFooter(const QCString &navPath)=0
virtual void codify(const QCString &s)=0
virtual void startHtmlLink(const QCString &url)=0
void writeGraphicalHierarchy(DotGfxHierarchyTable &g)
virtual void startDescTable(const QCString &title)=0
virtual void writeNavigationPath(const QCString &)=0
virtual void addIndexItem(const QCString &s1, const QCString &s2)=0
virtual void endFontClass()=0
virtual void startClassDiagram()=0
void addIndexItem(const QCString &s1, const QCString &s2)
virtual void endLabels()=0
virtual void endDescForItem()=0
virtual void startIndexList()=0
virtual void startCompoundTemplateParams()=0
virtual void writeSearchInfo()=0
virtual void endParameterName(bool, bool, bool)=0
virtual void exceptionEntry(const QCString &, bool)=0
virtual void endItemList()=0
virtual void startMemberDescription(const QCString &anchor, const QCString &inheritId, bool typ)=0
virtual void endCodeLine()=0
void endCompoundTemplateParams()
SectionType
enum representing the various types of sections and entities that can be referred to.
virtual void endSubsection()=0
void writeStyleInfo(int part)
virtual void endParamList()=0
virtual void endSubsubsection()=0
void endPageRef(const QCString &c, const QCString &a)
void writeDoc(DocRoot *root, const Definition *ctx, const MemberDef *md, int id=0)
virtual void startCodeFragment(const QCString &style)=0
virtual void endMemberSubtitle()=0
virtual void endClassDiagram(const ClassDiagram &, const QCString &, const QCString &)=0
virtual void startTextBlock(bool)=0
virtual void endInlineMemberDoc()=0
virtual void startInlineMemberDoc()=0
virtual void endMemberDocSimple(bool)=0
virtual void startExamples()=0
virtual void endIndexValue(const QCString &, bool)=0
virtual void writeStyleInfo(int part)=0
virtual void writeCodeAnchor(const QCString &name)=0
void endMemberGroupDocs()
virtual void endIndexList()=0
virtual void startQuickIndices()=0
virtual void endMemberGroupHeader()=0
void writeSummaryLink(const QCString &file, const QCString &anchor, const QCString &title, bool first)
void endTextBlock(bool paraBreak=FALSE)
virtual void startMemberDoc(const QCString &, const QCString &, const QCString &, const QCString &, int, int, bool)=0
virtual void endTextBlock(bool)=0
virtual void endMemberHeader()=0
virtual void endQuickIndices()=0
void startPlainFile(const QCString &name)
virtual void startParameterList(bool)=0
virtual void startTitle()=0
virtual void startDescTableTitle()=0
virtual void startParagraph(const QCString &classDef)=0
virtual void endGroupCollaboration(DotGroupCollaboration &g)=0
void startParamList(ParamListTypes t, const QCString &title)
virtual void startCodeLine(bool hasLineNumbers)=0
void writeLineNumber(const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)
virtual void startSection(const QCString &, const QCString &, SectionType)=0
void startMemberGroupDocs()
virtual void startDescForItem()=0
virtual void endPageRef(const QCString &, const QCString &)=0
Class representing a list of output generators that are written to in parallel.
void writeEndAnnoItem(const QCString &name)
void startMemberDocName(bool align)
virtual void startDescription()=0
virtual void endCompoundTemplateParams()=0
virtual void startSubsection()=0
virtual void startMemberGroupHeader(bool)=0
A model of a class/file/namespace member symbol.
void startParameterList(bool openBracket)
virtual void startParameterName(bool)=0
virtual void startInlineHeader()=0
void startTextBlock(bool dense=FALSE)
void startMemberItem(const QCString &anchor, int i1, const QCString &id=QCString())
void disable(OutputGenerator::OutputType o)
virtual void startIndexItem(const QCString &ref, const QCString &file)=0
void exceptionEntry(const QCString &prefix, bool closeBracket)
void startMemberHeader(const QCString &anchor, int typ=2)
void startConstraintDocs()
void forall(void(T::*methodPtr)(Ts...), As &&... args)
virtual void startMemberHeader(const QCString &anchor, int typ)=0
virtual void endConstraintParam()=0
virtual void startBold()=0
void writeAnchor(const QCString &fileName, const QCString &name)
virtual void startSubsubsection()=0
virtual void endTextLink()=0
virtual void endDescTableData()=0
virtual void endDirDepGraph(DotDirDeps &g)=0
void endMemberGroup(bool last)
void writeInheritedSectionTitle(const QCString &id, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &title, const QCString &name)
virtual void startGroupHeader(int)=0
virtual void endMemberList()=0
Representation of an call graph
void endInclDepGraph(DotInclDepGraph &g)
virtual void endMemberDocPrefixItem()=0
void startHeaderSection()
virtual void writeStartAnnoItem(const QCString &type, const QCString &file, const QCString &path, const QCString &name)=0
virtual void endParagraph()=0
virtual void lineBreak(const QCString &style)=0
void lineBreak(const QCString &style=QCString())
virtual void startLabels()=0
virtual void startConstraintParam()=0
virtual void writeAnchor(const QCString &fileName, const QCString &name)=0
void startIndexSection(IndexSections is)
void endClassDiagram(const ClassDiagram &d, const QCString &f, const QCString &n)
void endAnonTypeScope(int i1)
virtual void startMemberDeclaration()=0
void startHtmlLink(const QCString &url)
virtual void endMemberDocList()=0
virtual void startTitleHead(const QCString &)=0
virtual void endDescItem()=0
void startProjectNumber()
virtual void endEmphasis()=0
bool isEnabled(OutputGenerator::OutputType o)
virtual void endParameterType()=0
virtual void endMemberGroup(bool)=0
virtual void writeRuler()=0
virtual void startEmphasis()=0
void writeNavigationPath(const QCString &s)
Class representing a built-in class diagram.
void startIndexValue(bool b)
virtual void startIndexKey()=0
void endInlineMemberName()
Representation of a class inheritance or dependency graph
virtual void endCallGraph(DotCallGraph &g)=0
virtual void endProjectNumber()=0
virtual void writeChar(char c)=0
void startGroupHeader(int extraLevels=0)
virtual void writePageLink(const QCString &, bool)=0
void writeQuickLinks(bool compact, HighlightedItem hli, const QCString &file)
virtual void startMemberSections()=0
void startMemberDocSimple(bool b)
void startTextLink(const QCString &file, const QCString &anchor)
void endMemberDoc(bool hasArgs)
void endCallGraph(DotCallGraph &g)
virtual void endTitle()=0
void startDescTableTitle()
void startCodeLine(bool hasLineNumbers)
virtual void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)=0
OutputList & operator=(const OutputList &ol)
virtual void endMemberDescription()=0
void startCodeFragment(const QCString &style)
void startMemberGroupHeader(bool b)
virtual void startFile(const QCString &name, const QCString &manName, const QCString &title, int id=0)=0
void endSection(const QCString &lab, SectionType t)
virtual void startMemberSubtitle()=0
virtual void startIndexValue(bool)=0
std::vector< std::unique_ptr< OutputGenerator > > m_outputs
virtual void endSmall()=0
void endDotGraph(DotClassGraph &g)
virtual void writeGraphicalHierarchy(DotGfxHierarchyTable &g)=0
void writeNonBreakableSpace(int num)
virtual void writeQuickLinks(bool compact, HighlightedItem hli, const QCString &file)=0
virtual void startMemberDocPrefixItem()=0
virtual void startDirDepGraph()=0
virtual void writeLogo()=0
virtual void endInlineMemberName()=0
virtual void startDescTableRow()=0
void startTitleHead(const QCString &fileName)
void startDescTableData()
void endIndexItem(const QCString &ref, const QCString &file)
virtual void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)=0
virtual void endTypewriter()=0
virtual void docify(const QCString &s)=0
void startSection(const QCString &lab, const QCString &title, SectionType t)
void startMemberDoc(const QCString &clName, const QCString &memName, const QCString &anchor, const QCString &title, int memCount, int memTotal, bool showInline)
void endIndexSection(IndexSections is)
virtual void endDescTable()=0
virtual void endMemberDoc(bool)=0
virtual void startAnonTypeScope(int)=0
void parseText(const QCString &textStr)
void startInlineMemberDoc()
virtual void endIndexListItem()=0
void endMemberGroupHeader()
virtual void endDescTableTitle()=0
virtual void startPageDoc(const QCString &)
void startMemberSubtitle()
virtual void writeEndAnnoItem(const QCString &name)=0
void endMemberTemplateParams(const QCString &anchor, const QCString &inheritId)
void startInlineMemberName()
virtual void endContents()=0
void writeCodeAnchor(const QCString &name)
void startDescTable(const QCString &title)
virtual void writeLabel(const QCString &, bool)=0
virtual void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)=0
void startFontClass(const QCString &c)
void generateDoc(const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
void endInlineMemberType()
virtual void startGroupCollaboration()=0
void startMemberDocPrefixItem()
virtual void endDescTableRow()=0
virtual void endIndexKey()=0
Representation of a group collaboration graph
virtual void startMemberGroupDocs()=0
virtual void startMemberDocList()=0
void pushGeneratorState()
virtual void endSection(const QCString &, SectionType)=0
void writeCodeLink(CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
void startMemberDocList()
Representation of an include dependency graph
virtual void endMemberItem()=0
virtual void endIndexItem(const QCString &ref, const QCString &file)=0
void writeFooter(const QCString &navPath)
virtual void endMemberDocName()=0
virtual void startCenter()=0
virtual void startParamList(ParamListTypes t, const QCString &title)=0
void startPageDoc(const QCString &pageTitle)
void startIndexListItem()
void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
void insertMemberAlignLeft(int typ=0, bool templ=FALSE)
Represents a graphical class hierarchy
void codify(const QCString &s)
void writeStartAnnoItem(const QCString &type, const QCString &file, const QCString &path, const QCString &name)
void startMemberDeclaration()
virtual void writeString(const QCString &text)=0
virtual void insertMemberAlignLeft(int, bool)=0
virtual void startHeaderSection()=0
virtual void endMemberGroupDocs()=0
virtual void startProjectNumber()=0
void startFile(const QCString &name, const QCString &manName, const QCString &title)
virtual void endExamples()=0
virtual void endIndexSection(IndexSections)=0
virtual void writeLatexSpacing()=0
virtual void endIndent()=0
void endInlineMemberDoc()
virtual void startIndexListItem()=0
virtual void startItemListItem()=0
virtual void startSmall()=0
void enable(OutputGenerator::OutputType o)
virtual void setCurrentDoc(const Definition *context, const QCString &anchor, bool isSourceFile)=0
virtual void startIndent()=0
virtual void startDescItem()=0
virtual void writeSummaryLink(const QCString &file, const QCString &anchor, const QCString &title, bool first)=0
virtual void startItemList()=0
void startPlainFile(const QCString &name)
void endCodeFragment(const QCString &style)
void writePageLink(const QCString &name, bool first)
virtual void endDoxyAnchor(const QCString &fileName, const QCString &anchor)=0
virtual void endInlineMemberType()=0
void startParagraph(const QCString &classDef=QCString())
virtual void endInlineHeader()=0
virtual void endCenter()=0
virtual void writeSplitBar(const QCString &)=0
This is an alternative implementation of QCString.
virtual void startConstraintType()=0