My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OutputList Class Reference

#include <outputlist.h>

Inheritance diagram for OutputList:
OutputDocInterface BaseOutputDocInterface CodeOutputInterface

Public Member Functions

 OutputList (bool)
 
virtual ~OutputList ()
 
void add (const OutputGenerator *)
 
uint count () const
 
void disableAllBut (OutputGenerator::OutputType o)
 
void enableAll ()
 
void disableAll ()
 
void disable (OutputGenerator::OutputType o)
 
void enable (OutputGenerator::OutputType o)
 
bool isEnabled (OutputGenerator::OutputType o)
 
void pushGeneratorState ()
 
void popGeneratorState ()
 
bool generateDoc (const char *fileName, int startLine, Definition *ctx, MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const char *exampleName=0, bool singleLine=FALSE, bool linkFromIndex=FALSE)
 
void writeDoc (DocRoot *root, Definition *ctx, MemberDef *md)
 
bool parseText (const QCString &textStr)
 
void startIndexSection (IndexSections is)
 
void endIndexSection (IndexSections is)
 
void writePageLink (const char *name, bool first)
 
void startProjectNumber ()
 
void endProjectNumber ()
 
void writeStyleInfo (int part)
 
void startFile (const char *name, const char *manName, const char *title)
 
void writeSearchInfo ()
 
void writeFooter (const char *navPath)
 
void endFile ()
 
void startTitleHead (const char *fileName)
 
void endTitleHead (const char *fileName, const char *name)
 
void startTitle ()
 
void endTitle ()
 
void startParagraph ()
 
void endParagraph ()
 
void writeString (const char *text)
 
void startIndexListItem ()
 
void endIndexListItem ()
 
void startIndexList ()
 
void endIndexList ()
 
void startIndexKey ()
 
void endIndexKey ()
 
void startIndexValue (bool b)
 
void endIndexValue (const char *name, bool b)
 
void startItemList ()
 
void endItemList ()
 
void startIndexItem (const char *ref, const char *file)
 
void endIndexItem (const char *ref, const char *file)
 
void docify (const char *s)
 
void codify (const char *s)
 
void writeObjectLink (const char *ref, const char *file, const char *anchor, const char *name)
 
void writeCodeLink (const char *ref, const char *file, const char *anchor, const char *name, const char *tooltip)
 
void writeTooltip (const char *id, const DocLinkInfo &docInfo, const char *decl, const char *desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
 
void startTextLink (const char *file, const char *anchor)
 
void endTextLink ()
 
void startHtmlLink (const char *url)
 
void endHtmlLink ()
 
void writeStartAnnoItem (const char *type, const char *file, const char *path, const char *name)
 
void writeEndAnnoItem (const char *name)
 
void startTypewriter ()
 
void endTypewriter ()
 
void startGroupHeader (int extraLevels=0)
 
void endGroupHeader (int extraLevels=0)
 
void startItemListItem ()
 
void endItemListItem ()
 
void startMemberSections ()
 
void endMemberSections ()
 
void startHeaderSection ()
 
void endHeaderSection ()
 
void startMemberHeader (const char *anchor)
 
void endMemberHeader ()
 
void startMemberSubtitle ()
 
void endMemberSubtitle ()
 
void startMemberDocList ()
 
void endMemberDocList ()
 
void startMemberList ()
 
void endMemberList ()
 
void startInlineHeader ()
 
void endInlineHeader ()
 
void startAnonTypeScope (int i1)
 
void endAnonTypeScope (int i1)
 
void startMemberItem (const char *anchor, int i1, const char *id=0)
 
void endMemberItem ()
 
void startMemberTemplateParams ()
 
void endMemberTemplateParams (const char *anchor, const char *inheritId)
 
void startMemberGroupHeader (bool b)
 
void endMemberGroupHeader ()
 
void startMemberGroupDocs ()
 
void endMemberGroupDocs ()
 
void startMemberGroup ()
 
void endMemberGroup (bool last)
 
void insertMemberAlign (bool templ=FALSE)
 
void writeRuler ()
 
void writeAnchor (const char *fileName, const char *name)
 
void startCodeFragment ()
 
void endCodeFragment ()
 
void startCodeLine (bool hasLineNumbers)
 
void endCodeLine ()
 
void writeLineNumber (const char *ref, const char *file, const char *anchor, int lineNumber)
 
void startEmphasis ()
 
void endEmphasis ()
 
void writeChar (char c)
 
void startMemberDoc (const char *clName, const char *memName, const char *anchor, const char *title, int memCount, int memTotal, bool showInline)
 
void endMemberDoc (bool hasArgs)
 
void startDoxyAnchor (const char *fName, const char *manName, const char *anchor, const char *name, const char *args)
 
void endDoxyAnchor (const char *fn, const char *anchor)
 
void writeLatexSpacing ()
 
void startDescription ()
 
void endDescription ()
 
void startDescItem ()
 
void endDescItem ()
 
void startDescForItem ()
 
void endDescForItem ()
 
void startSubsection ()
 
void endSubsection ()
 
void startSubsubsection ()
 
void endSubsubsection ()
 
void startCenter ()
 
void endCenter ()
 
void startSmall ()
 
void endSmall ()
 
void lineBreak (const char *style=0)
 
void startBold ()
 
void endBold ()
 
void startMemberDescription (const char *anchor, const char *inheritId=0)
 
void endMemberDescription ()
 
void startMemberDeclaration ()
 
void endMemberDeclaration (const char *anchor, const char *inheritId)
 
void writeInheritedSectionTitle (const char *id, const char *ref, const char *file, const char *anchor, const char *title, const char *name)
 
void startSimpleSect (SectionTypes t, const char *file, const char *anchor, const char *title)
 
void endSimpleSect ()
 
void startParamList (ParamListTypes t, const char *title)
 
void endParamList ()
 
void startIndent ()
 
void endIndent ()
 
void startSection (const char *lab, const char *title, SectionInfo::SectionType t)
 
void endSection (const char *lab, SectionInfo::SectionType t)
 
void addIndexItem (const char *s1, const char *s2)
 
void writeSynopsis ()
 
void startClassDiagram ()
 
void endClassDiagram (const ClassDiagram &d, const char *f, const char *n)
 
void startPageRef ()
 
void endPageRef (const char *c, const char *a)
 
void startQuickIndices ()
 
void endQuickIndices ()
 
void writeSplitBar (const char *name)
 
void writeNavigationPath (const char *s)
 
void writeLogo ()
 
void writeQuickLinks (bool compact, HighlightedItem hli, const char *file)
 
void writeSummaryLink (const char *file, const char *anchor, const char *title, bool first)
 
void startContents ()
 
void endContents ()
 
void writeNonBreakableSpace (int num)
 
void startDescTable (const char *title)
 
void endDescTable ()
 
void startDescTableRow ()
 
void endDescTableRow ()
 
void startDescTableTitle ()
 
void endDescTableTitle ()
 
void startDescTableData ()
 
void endDescTableData ()
 
void startDotGraph ()
 
void endDotGraph (const DotClassGraph &g)
 
void startInclDepGraph ()
 
void endInclDepGraph (const DotInclDepGraph &g)
 
void startCallGraph ()
 
void endCallGraph (const DotCallGraph &g)
 
void startDirDepGraph ()
 
void endDirDepGraph (const DotDirDeps &g)
 
void startGroupCollaboration ()
 
void endGroupCollaboration (const DotGroupCollaboration &g)
 
void writeGraphicalHierarchy (const DotGfxHierarchyTable &g)
 
void startTextBlock (bool dense=FALSE)
 
void endTextBlock (bool paraBreak=FALSE)
 
void lastIndexPage ()
 
void startMemberDocPrefixItem ()
 
void endMemberDocPrefixItem ()
 
void startMemberDocName (bool align)
 
void endMemberDocName ()
 
void startParameterType (bool first, const char *key)
 
void endParameterType ()
 
void startParameterName (bool one)
 
void endParameterName (bool last, bool one, bool bracket)
 
void startParameterList (bool openBracket)
 
void endParameterList ()
 
void exceptionEntry (const char *prefix, bool closeBracket)
 
void startConstraintList (const char *header)
 
void startConstraintParam ()
 
void endConstraintParam ()
 
void startConstraintType ()
 
void endConstraintType ()
 
void startConstraintDocs ()
 
void endConstraintDocs ()
 
void endConstraintList ()
 
void startMemberDocSimple (bool b)
 
void endMemberDocSimple (bool b)
 
void startInlineMemberType ()
 
void endInlineMemberType ()
 
void startInlineMemberName ()
 
void endInlineMemberName ()
 
void startInlineMemberDoc ()
 
void endInlineMemberDoc ()
 
void startLabels ()
 
void writeLabel (const char *l, bool isLast)
 
void endLabels ()
 
void startFontClass (const char *c)
 
void endFontClass ()
 
void writeCodeAnchor (const char *name)
 
void setCurrentDoc (Definition *context, const char *anchor, bool isSourceFile)
 
void addWord (const char *word, bool hiPriority)
 
void startPlainFile (const char *name)
 
void endPlainFile ()
 
- Public Member Functions inherited from OutputDocInterface
virtual ~OutputDocInterface ()
 
- Public Member Functions inherited from BaseOutputDocInterface
virtual ~BaseOutputDocInterface ()
 
- Public Member Functions inherited from CodeOutputInterface
virtual ~CodeOutputInterface ()
 

Private Member Functions

void debug ()
 
void clear ()
 
void forall (void(OutputGenerator::*func)())
 
 FORALLPROTO1 (const char *)
 
 FORALLPROTO1 (char)
 
 FORALLPROTO1 (IndexSections)
 
 FORALLPROTO1 (int)
 
 FORALLPROTO1 (const DotClassGraph &)
 
 FORALLPROTO1 (const DotInclDepGraph &)
 
 FORALLPROTO1 (const DotCallGraph &)
 
 FORALLPROTO1 (const DotGroupCollaboration &)
 
 FORALLPROTO1 (const DotDirDeps &)
 
 FORALLPROTO1 (const DotGfxHierarchyTable &)
 
 FORALLPROTO1 (SectionTypes)
 
 FORALLPROTO2 (int, bool)
 
 FORALLPROTO2 (bool, const char *)
 
 FORALLPROTO2 (ParamListTypes, const char *)
 
 FORALLPROTO2 (const char *, const char *)
 
 FORALLPROTO2 (const char *, int)
 
 FORALLPROTO2 (const char *, SectionInfo::SectionType)
 
 FORALLPROTO3 (bool, HighlightedItem, const char *)
 
 FORALLPROTO3 (bool, bool, bool)
 
 FORALLPROTO3 (const char *, const char *, bool)
 
 FORALLPROTO3 (const char *, int, const char *)
 
 FORALLPROTO3 (const char *, const char *, SectionInfo::SectionType)
 
 FORALLPROTO3 (uchar, uchar, uchar)
 
 FORALLPROTO3 (const char *, const char *, const char *)
 
 FORALLPROTO3 (const ClassDiagram &, const char *, const char *)
 
 FORALLPROTO3 (Definition *, const char *, bool)
 
 FORALLPROTO4 (SectionTypes, const char *, const char *, const char *)
 
 FORALLPROTO4 (const char *, const char *, const char *, const char *)
 
 FORALLPROTO4 (const char *, const char *, const char *, bool)
 
 FORALLPROTO5 (const char *, const char *, const char *, const char *, const char *)
 
 FORALLPROTO5 (const char *, const char *, const char *, const char *, bool)
 
 FORALLPROTO6 (const char *, const char *, const char *, const char *, const char *, const char *)
 
 FORALLPROTO6 (const char *, const DocLinkInfo &, const char *, const char *, const SourceLinkInfo &, const SourceLinkInfo &)
 
 FORALLPROTO7 (const char *, const char *, const char *, const char *, int, int, bool)
 
 OutputList (const OutputList &ol)
 

Private Attributes

QList< OutputGeneratorm_outputs
 

Additional Inherited Members

- Public Types inherited from BaseOutputDocInterface
enum  ParamListTypes { Param, RetVal, Exception }
 
enum  SectionTypes { EnumValues, Examples }
 

Detailed Description

Class representing a list of output generators that are written to in parallel.

Definition at line 54 of file outputlist.h.

Constructor & Destructor Documentation

OutputList::OutputList ( bool  )

Definition at line 33 of file outputlist.cpp.

References m_outputs.

{
//printf("OutputList::OutputList()\n");
m_outputs.setAutoDelete(TRUE);
}
OutputList::~OutputList ( )
virtual

Definition at line 39 of file outputlist.cpp.

{
//printf("OutputList::~OutputList()\n");
}
OutputList::OutputList ( const OutputList ol)
private

Member Function Documentation

void OutputList::add ( const OutputGenerator og)

Definition at line 44 of file outputlist.cpp.

References m_outputs.

Referenced by generateOutput().

{
if (og) m_outputs.append(og);
}
void OutputList::addIndexItem ( const char *  s1,
const char *  s2 
)
inlinevirtual
void OutputList::addWord ( const char *  word,
bool  hiPriority 
)
inlinevirtual

Implements CodeOutputInterface.

Definition at line 487 of file outputlist.h.

References CodeOutputInterface::addWord(), and forall().

{ forall(&OutputGenerator::addWord,word,hiPriority); }
void OutputList::clear ( )
private
void OutputList::codify ( const char *  s)
inlinevirtual

Writes an code fragment to the output. This function should keep spaces visible, should break lines at a newline and should convert tabs to the right number of spaces.

Implements CodeOutputInterface.

Definition at line 147 of file outputlist.h.

References CodeOutputInterface::codify(), and forall().

uint OutputList::count ( ) const
inline

Definition at line 61 of file outputlist.h.

References m_outputs.

Referenced by generateDoc(), generateOutput(), and parseText().

{ return m_outputs.count(); }
void OutputList::debug ( )
private
void OutputList::disable ( OutputGenerator::OutputType  o)
virtual

Disables a specific output format (useful for OutputList only)

Implements OutputDocInterface.

Definition at line 79 of file outputlist.cpp.

References OutputGenerator::disableIf(), and m_outputs.

Referenced by MemberDef::_writeCallerGraph(), MemberDef::_writeCallGraph(), Definition::_writeSourceRefList(), endIndexHierarchy(), generateExampleDocs(), ClassDef::showUsedFiles(), startIndexHierarchy(), NamespaceDef::startMemberDocumentation(), GroupDef::startMemberDocumentation(), FileDef::startMemberDocumentation(), ClassDef::startMemberDocumentation(), startTitle(), writeAnnotatedClassList(), writeAnnotatedIndex(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), ClassDef::writeBriefDescription(), writeClassHierarchy(), ClassDef::writeCollaborationGraph(), MemberDef::writeDeclaration(), writeDefArgumentList(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDescription(), ClassDef::writeDetailedDocumentationBody(), DirDef::writeDirectoryGraph(), writeDirHierarchy(), PageDef::writeDocumentation(), GroupDef::writeDocumentation(), DirDef::writeDocumentation(), MemberList::writeDocumentation(), FileDef::writeDocumentation(), MemberDef::writeDocumentation(), MemberDef::writeEnumDeclaration(), writeExample(), writeExampleIndex(), writeFileIndex(), VhdlDocGen::writeFuncProcDocu(), GroupDef::writeGroupGraph(), writeGroupHierarchy(), writeGroupIndex(), writeHierarchicalIndex(), FileDef::writeIncludedByGraph(), FileDef::writeIncludeFiles(), ClassDef::writeIncludeFiles(), FileDef::writeIncludeGraph(), writeIndex(), ClassDef::writeInheritanceGraph(), FileDef::writeInlineClasses(), VhdlDocGen::writeInlineClassLink(), ClassDef::writeInlineDocumentation(), ClassDef::writeMoreLink(), writeNamespaceIndex(), FileDef::writeSource(), Definition::writeSourceDef(), and VhdlDocGen::writeVHDLDeclaration().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
og->disableIf(o);
}
}
void OutputList::disableAll ( )
virtual

Disables all output formats (useful for OutputList only)

Implements OutputDocInterface.

Definition at line 69 of file outputlist.cpp.

References OutputGenerator::disable(), and m_outputs.

Referenced by PageDef::writeDocumentation(), MemberDef::writeDocumentation(), and PageDef::writePageDocumentation().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
og->disable();
}
}
void OutputList::disableAllBut ( OutputGenerator::OutputType  o)
virtual

Create a new output generator. This can later by appended to the current one using append().

Disables all output formats except format o (useful for OutputList only)

Implements OutputDocInterface.

Definition at line 49 of file outputlist.cpp.

References OutputGenerator::disableIfNot(), and m_outputs.

Referenced by MemberDef::_writeEnumValues(), ClassDef::addClassAttributes(), NamespaceDef::addNamespaceAttributes(), endFile(), endFileWithNavPath(), recursivelyAddGroupListToTitle(), ClassDef::showUsedFiles(), writeAlphabeticalIndex(), writeAnnotatedIndex(), NamespaceDef::writeAuthorSection(), GroupDef::writeAuthorSection(), FileDef::writeAuthorSection(), ClassDef::writeAuthorSection(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), writeClassMemberIndexFiltered(), MemberDef::writeDeclaration(), MemberList::writeDeclarations(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDescription(), PageDef::writeDocumentation(), GroupDef::writeDocumentation(), DirDef::writeDocumentation(), FileDef::writeDocumentation(), DirRelation::writeDocumentation(), MemberDef::writeDocumentation(), MemberDef::writeEnumDeclaration(), writeFileIndex(), DirDef::writeFileList(), writeFileMemberIndexFiltered(), writeGraphicalClassHierarchy(), writeGraphInfo(), writeGroupIndex(), writeHierarchicalIndex(), FileDef::writeIncludeFiles(), ClassDef::writeIncludeFiles(), writeIndex(), ClassDef::writeInheritanceGraph(), ClassDef::writeInheritedMemberDeclarations(), ClassDef::writeInlineDocumentation(), ClassDef::writeMemberList(), NamespaceDef::writeMemberPages(), GroupDef::writeMemberPages(), FileDef::writeMemberPages(), ClassDef::writeMemberPages(), ClassDef::writeMoreLink(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), Definition::writeNavigationPath(), writePageIndex(), MemberList::writePlainDeclarations(), writeSingleFileIndex(), Definition::writeSourceDef(), FileDef::writeSourceLink(), NamespaceDef::writeSummaryLinks(), GroupDef::writeSummaryLinks(), FileDef::writeSummaryLinks(), ClassDef::writeSummaryLinks(), Definition::writeToc(), writeUserGroupStubPage(), and VhdlDocGen::writeVHDLDeclaration().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
og->disableIfNot(o);
}
}
void OutputList::docify ( const char *  s)
inlinevirtual

Writes an ASCII string to the output. Converts characters that have A special meaning, like & in html.

Implements BaseOutputDocInterface.

Definition at line 145 of file outputlist.h.

References BaseOutputDocInterface::docify(), and forall().

Referenced by MemberDef::_writeEnumValues(), MemberDef::_writeGroupInclude(), Definition::_writeSourceRefList(), generateExampleDocs(), ClassDef::showUsedFiles(), startFonts(), writeAlphabeticalClassList(), writeAnnotatedClassList(), writeClassLinkForMember(), writeClassTree(), writeClassTreeForList(), NamespaceSDict::writeDeclaration(), MemberDef::writeDeclaration(), ClassDef::writeDeclaration(), ClassDef::writeDeclarationLink(), writeDefArgumentList(), writeDirTreeNode(), FileDef::writeDocumentation(), MemberDef::writeDocumentation(), MemberDef::writeEnumDeclaration(), writeExceptionListImpl(), writeFileLinkForMember(), DirDef::writeFileList(), GroupDef::writeFiles(), VhdlDocGen::writeFormatString(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), writeGroupTreeNode(), FileDef::writeIncludeFiles(), ClassDef::writeIncludeFiles(), ClassDef::writeInheritanceGraph(), writeInheritanceSpecifier(), MemberDef::writeLink(), MemberDef::writeMemberDocSimple(), ClassDef::writeMemberList(), ClassDef::writeMoreLink(), writeNamespaceLinkForMember(), GroupDef::writePageDocumentation(), writePartialFilePath(), MemberList::writePlainDeclarations(), VhdlDocGen::writeProcedureProto(), VhdlDocGen::writeProcessProto(), writeSingleFileIndex(), Definition::writeSourceDef(), VhdlDocGen::writeStringLink(), writeTemplatePrefix(), writeTemplateSpec(), writeUCFLink(), VhdlDocGen::writeVHDLDeclaration(), VhdlDocGen::writeVHDLDeclarations(), VhdlDocGen::writeVhdlLink(), and VhdlDocGen::writeVHDLTypeDocumentation().

void OutputList::enable ( OutputGenerator::OutputType  o)
virtual
void OutputList::enableAll ( )
virtual
void OutputList::endAnonTypeScope ( int  i1)
inline
void OutputList::endBold ( )
inlinevirtual
void OutputList::endCallGraph ( const DotCallGraph g)
inline
void OutputList::endCenter ( )
inlinevirtual
void OutputList::endClassDiagram ( const ClassDiagram d,
const char *  f,
const char *  n 
)
inline
void OutputList::endCodeFragment ( )
inlinevirtual
void OutputList::endCodeLine ( )
inlinevirtual

Ends a line of code started with startCodeLine()

Implements CodeOutputInterface.

Definition at line 250 of file outputlist.h.

References CodeOutputInterface::endCodeLine(), and forall().

void OutputList::endConstraintDocs ( )
inline
void OutputList::endConstraintList ( )
inline
void OutputList::endConstraintParam ( )
inline
void OutputList::endConstraintType ( )
inline
void OutputList::endContents ( )
inline
void OutputList::endDescForItem ( )
inlinevirtual
void OutputList::endDescItem ( )
inlinevirtual

Ends an item of a description list and starts the description itself: e.g. </dt> in HTML.

Implements BaseOutputDocInterface.

Definition at line 281 of file outputlist.h.

References BaseOutputDocInterface::endDescItem(), and forall().

void OutputList::endDescription ( )
inlinevirtual

Ends a description list: e.g. </dl> in HTML

Implements BaseOutputDocInterface.

Definition at line 277 of file outputlist.h.

References BaseOutputDocInterface::endDescription(), and forall().

void OutputList::endDescTable ( )
inlinevirtual
void OutputList::endDescTableData ( )
inlinevirtual
void OutputList::endDescTableRow ( )
inlinevirtual
void OutputList::endDescTableTitle ( )
inlinevirtual
void OutputList::endDirDepGraph ( const DotDirDeps g)
inline
void OutputList::endDotGraph ( const DotClassGraph g)
inline
void OutputList::endDoxyAnchor ( const char *  fn,
const char *  anchor 
)
inline
void OutputList::endEmphasis ( )
inlinevirtual

Ends a section of text displayed in italic.

Implements BaseOutputDocInterface.

Definition at line 257 of file outputlist.h.

References BaseOutputDocInterface::endEmphasis(), and forall().

Referenced by writeDefArgumentList(), VhdlDocGen::writeFuncProcDocu(), and VhdlDocGen::writeVHDLDeclaration().

void OutputList::endFile ( )
inline

Definition at line 103 of file outputlist.h.

References OutputGenerator::endFile(), and forall().

Referenced by endFile().

void OutputList::endFontClass ( )
inlinevirtual

Ends a block started with startFontClass()

Implements CodeOutputInterface.

Definition at line 481 of file outputlist.h.

References CodeOutputInterface::endFontClass(), and forall().

Referenced by startFonts().

void OutputList::endGroupCollaboration ( const DotGroupCollaboration g)
inline
void OutputList::endGroupHeader ( int  extraLevels = 0)
inline
void OutputList::endHeaderSection ( )
inline
void OutputList::endHtmlLink ( )
inlinevirtual

Ends a link started by startHtmlLink().

Implements BaseOutputDocInterface.

Definition at line 165 of file outputlist.h.

References BaseOutputDocInterface::endHtmlLink(), and forall().

void OutputList::endInclDepGraph ( const DotInclDepGraph g)
inline
void OutputList::endIndent ( )
inline
void OutputList::endIndexItem ( const char *  ref,
const char *  file 
)
inline
void OutputList::endIndexKey ( )
inline
void OutputList::endIndexList ( )
inline
void OutputList::endIndexListItem ( )
inline
void OutputList::endIndexSection ( IndexSections  is)
inline

Definition at line 87 of file outputlist.h.

References OutputGenerator::endIndexSection(), and forall().

Referenced by writeIndex().

void OutputList::endIndexValue ( const char *  name,
bool  b 
)
inline
void OutputList::endInlineHeader ( )
inline
void OutputList::endInlineMemberDoc ( )
inline
void OutputList::endInlineMemberName ( )
inline
void OutputList::endInlineMemberType ( )
inline
void OutputList::endItemList ( )
inlinevirtual

Ends a bullet list: e.g. </ul> in html

Implements BaseOutputDocInterface.

Definition at line 139 of file outputlist.h.

References BaseOutputDocInterface::endItemList(), and forall().

Referenced by endIndexHierarchy(), ClassDef::showUsedFiles(), and writeExampleIndex().

void OutputList::endItemListItem ( )
inlinevirtual

Writes a list item for a bullet or enumerated list: e.g. </li> in html

Implements BaseOutputDocInterface.

Definition at line 184 of file outputlist.h.

References BaseOutputDocInterface::endItemListItem(), and forall().

Referenced by ClassDef::showUsedFiles(), and writeExampleIndex().

void OutputList::endLabels ( )
inline
void OutputList::endMemberDeclaration ( const char *  anchor,
const char *  inheritId 
)
inline
void OutputList::endMemberDescription ( )
inline
void OutputList::endMemberDoc ( bool  hasArgs)
inline
void OutputList::endMemberDocList ( )
inline
void OutputList::endMemberDocName ( )
inline
void OutputList::endMemberDocPrefixItem ( )
inline
void OutputList::endMemberDocSimple ( bool  b)
inline
void OutputList::endMemberGroup ( bool  last)
inline
void OutputList::endMemberGroupDocs ( )
inline
void OutputList::endMemberGroupHeader ( )
inline
void OutputList::endMemberHeader ( )
inline
void OutputList::endMemberItem ( )
inline
void OutputList::endMemberList ( )
inline
void OutputList::endMemberSections ( )
inline
void OutputList::endMemberSubtitle ( )
inline
void OutputList::endMemberTemplateParams ( const char *  anchor,
const char *  inheritId 
)
inline
void OutputList::endPageRef ( const char *  c,
const char *  a 
)
inlinevirtual

Implements BaseOutputDocInterface.

Definition at line 349 of file outputlist.h.

References BaseOutputDocInterface::endPageRef(), and forall().

void OutputList::endParagraph ( )
inlinevirtual
void OutputList::endParameterList ( )
inline
void OutputList::endParameterName ( bool  last,
bool  one,
bool  bracket 
)
inline
void OutputList::endParameterType ( )
inline
void OutputList::endParamList ( )
inlinevirtual
void OutputList::endPlainFile ( )
inline

Definition at line 499 of file outputlist.h.

References OutputGenerator::endPlainFile(), OutputGenerator::isEnabled(), and m_outputs.

{
QListIterator<OutputGenerator> it(m_outputs);
for (;(og=it.current());++it)
{
if (og->isEnabled()) (og->endPlainFile)();
}
}
void OutputList::endProjectNumber ( )
inline
void OutputList::endQuickIndices ( )
inline
void OutputList::endSection ( const char *  lab,
SectionInfo::SectionType  t 
)
inlinevirtual
void OutputList::endSimpleSect ( )
inlinevirtual
void OutputList::endSmall ( )
inlinevirtual
void OutputList::endSubsection ( )
inlinevirtual
void OutputList::endSubsubsection ( )
inlinevirtual
void OutputList::endTextBlock ( bool  paraBreak = FALSE)
inline
void OutputList::endTextLink ( )
inlinevirtual
void OutputList::endTitle ( )
inlinevirtual
void OutputList::endTitleHead ( const char *  fileName,
const char *  name 
)
inline
void OutputList::endTypewriter ( )
inlinevirtual
void OutputList::exceptionEntry ( const char *  prefix,
bool  closeBracket 
)
inline

Definition at line 435 of file outputlist.h.

References OutputGenerator::exceptionEntry(), and forall().

Referenced by writeExceptionListImpl().

{ forall(&OutputGenerator::exceptionEntry,prefix,closeBracket); }
void OutputList::forall ( void(OutputGenerator::*)()  func)
private

Definition at line 207 of file outputlist.cpp.

References OutputGenerator::isEnabled(), and m_outputs.

Referenced by addIndexItem(), addWord(), codify(), docify(), endAnonTypeScope(), endBold(), endCallGraph(), endCenter(), endClassDiagram(), endCodeFragment(), endCodeLine(), endConstraintDocs(), endConstraintList(), endConstraintParam(), endConstraintType(), endContents(), endDescForItem(), endDescItem(), endDescription(), endDescTable(), endDescTableData(), endDescTableRow(), endDescTableTitle(), endDirDepGraph(), endDotGraph(), endDoxyAnchor(), endEmphasis(), endFile(), endFontClass(), endGroupCollaboration(), endGroupHeader(), endHeaderSection(), endHtmlLink(), endInclDepGraph(), endIndent(), endIndexItem(), endIndexKey(), endIndexList(), endIndexListItem(), endIndexSection(), endIndexValue(), endInlineHeader(), endInlineMemberDoc(), endInlineMemberName(), endInlineMemberType(), endItemList(), endItemListItem(), endLabels(), endMemberDeclaration(), endMemberDescription(), endMemberDoc(), endMemberDocList(), endMemberDocName(), endMemberDocPrefixItem(), endMemberDocSimple(), endMemberGroup(), endMemberGroupDocs(), endMemberGroupHeader(), endMemberHeader(), endMemberItem(), endMemberList(), endMemberSections(), endMemberSubtitle(), endMemberTemplateParams(), endPageRef(), endParagraph(), endParameterList(), endParameterName(), endParameterType(), endParamList(), endProjectNumber(), endQuickIndices(), endSection(), endSimpleSect(), endSmall(), endSubsection(), endSubsubsection(), endTextBlock(), endTextLink(), endTitle(), endTitleHead(), endTypewriter(), exceptionEntry(), insertMemberAlign(), lastIndexPage(), lineBreak(), setCurrentDoc(), startAnonTypeScope(), startBold(), startCallGraph(), startCenter(), startClassDiagram(), startCodeFragment(), startCodeLine(), startConstraintDocs(), startConstraintList(), startConstraintParam(), startConstraintType(), startContents(), startDescForItem(), startDescItem(), startDescription(), startDescTable(), startDescTableData(), startDescTableRow(), startDescTableTitle(), startDirDepGraph(), startDotGraph(), startDoxyAnchor(), startEmphasis(), startFile(), startFontClass(), startGroupCollaboration(), startGroupHeader(), startHeaderSection(), startHtmlLink(), startInclDepGraph(), startIndent(), startIndexItem(), startIndexKey(), startIndexList(), startIndexListItem(), startIndexSection(), startIndexValue(), startInlineHeader(), startInlineMemberDoc(), startInlineMemberName(), startInlineMemberType(), startItemList(), startItemListItem(), startLabels(), startMemberDeclaration(), startMemberDescription(), startMemberDoc(), startMemberDocList(), startMemberDocName(), startMemberDocPrefixItem(), startMemberDocSimple(), startMemberGroup(), startMemberGroupDocs(), startMemberGroupHeader(), startMemberHeader(), startMemberItem(), startMemberList(), startMemberSections(), startMemberSubtitle(), startMemberTemplateParams(), startPageRef(), startParagraph(), startParameterList(), startParameterName(), startParameterType(), startParamList(), startProjectNumber(), startQuickIndices(), startSection(), startSimpleSect(), startSmall(), startSubsection(), startSubsubsection(), startTextBlock(), startTextLink(), startTitle(), startTitleHead(), startTypewriter(), writeAnchor(), writeChar(), writeCodeAnchor(), writeCodeLink(), writeEndAnnoItem(), writeFooter(), writeGraphicalHierarchy(), writeInheritedSectionTitle(), writeLabel(), writeLatexSpacing(), writeLineNumber(), writeLogo(), writeNavigationPath(), writeNonBreakableSpace(), writeObjectLink(), writePageLink(), writeQuickLinks(), writeRuler(), writeSearchInfo(), writeSplitBar(), writeStartAnnoItem(), writeString(), writeStyleInfo(), writeSummaryLink(), writeSynopsis(), and writeTooltip().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
if (og->isEnabled()) (og->*func)();
}
}
OutputList::FORALLPROTO1 ( const char *  )
private
OutputList::FORALLPROTO1 ( char  )
private
OutputList::FORALLPROTO1 ( IndexSections  )
private
OutputList::FORALLPROTO1 ( int  )
private
OutputList::FORALLPROTO1 ( const DotClassGraph )
private
OutputList::FORALLPROTO1 ( const DotInclDepGraph )
private
OutputList::FORALLPROTO1 ( const DotCallGraph )
private
OutputList::FORALLPROTO1 ( const DotGroupCollaboration )
private
OutputList::FORALLPROTO1 ( const DotDirDeps )
private
OutputList::FORALLPROTO1 ( const DotGfxHierarchyTable )
private
OutputList::FORALLPROTO1 ( SectionTypes  )
private
OutputList::FORALLPROTO2 ( int  ,
bool   
)
private
OutputList::FORALLPROTO2 ( bool  ,
const char *   
)
private
OutputList::FORALLPROTO2 ( ParamListTypes  ,
const char *   
)
private
OutputList::FORALLPROTO2 ( const char *  ,
const char *   
)
private
OutputList::FORALLPROTO2 ( const char *  ,
int   
)
private
OutputList::FORALLPROTO2 ( const char *  ,
SectionInfo::SectionType   
)
private
OutputList::FORALLPROTO3 ( bool  ,
HighlightedItem  ,
const char *   
)
private
OutputList::FORALLPROTO3 ( bool  ,
bool  ,
bool   
)
private
OutputList::FORALLPROTO3 ( const char *  ,
const char *  ,
bool   
)
private
OutputList::FORALLPROTO3 ( const char *  ,
int  ,
const char *   
)
private
OutputList::FORALLPROTO3 ( const char *  ,
const char *  ,
SectionInfo::SectionType   
)
private
OutputList::FORALLPROTO3 ( uchar  ,
uchar  ,
uchar   
)
private
OutputList::FORALLPROTO3 ( const char *  ,
const char *  ,
const char *   
)
private
OutputList::FORALLPROTO3 ( const ClassDiagram ,
const char *  ,
const char *   
)
private
OutputList::FORALLPROTO3 ( Definition ,
const char *  ,
bool   
)
private
OutputList::FORALLPROTO4 ( SectionTypes  ,
const char *  ,
const char *  ,
const char *   
)
private
OutputList::FORALLPROTO4 ( const char *  ,
const char *  ,
const char *  ,
const char *   
)
private
OutputList::FORALLPROTO4 ( const char *  ,
const char *  ,
const char *  ,
bool   
)
private
OutputList::FORALLPROTO5 ( const char *  ,
const char *  ,
const char *  ,
const char *  ,
const char *   
)
private
OutputList::FORALLPROTO5 ( const char *  ,
const char *  ,
const char *  ,
const char *  ,
bool   
)
private
OutputList::FORALLPROTO6 ( const char *  ,
const char *  ,
const char *  ,
const char *  ,
const char *  ,
const char *   
)
private
OutputList::FORALLPROTO6 ( const char *  ,
const DocLinkInfo ,
const char *  ,
const char *  ,
const SourceLinkInfo ,
const SourceLinkInfo  
)
private
OutputList::FORALLPROTO7 ( const char *  ,
const char *  ,
const char *  ,
const char *  ,
int  ,
int  ,
bool   
)
private
bool OutputList::generateDoc ( const char *  fileName,
int  startLine,
Definition ctx,
MemberDef md,
const QCString &  docStr,
bool  indexWords,
bool  isExample,
const char *  exampleName = 0,
bool  singleLine = FALSE,
bool  linkFromIndex = FALSE 
)

Definition at line 131 of file outputlist.cpp.

References count(), DocRoot::isEmpty(), OutputGenerator::isEnabled(), m_outputs, validatingParseDoc(), and writeDoc().

Referenced by MemberDef::_writeEnumValues(), generateExampleDocs(), writeAnnotatedClassList(), ClassDef::writeBriefDescription(), NamespaceSDict::writeDeclaration(), MemberList::writeDeclarations(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDocumentationBody(), GroupDef::writeDirs(), PageDef::writeDocumentation(), MemberDef::writeDocumentation(), DirDef::writeFileList(), GroupDef::writeFiles(), writeGraphInfo(), writeIndex(), MemberDef::writeMemberDocSimple(), writeNamespaceIndex(), GroupDef::writeNestedGroups(), PageDef::writePageDocumentation(), GroupDef::writePageDocumentation(), writeSingleFileIndex(), DirDef::writeSubDirList(), writeTypeConstraints(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVHDLDeclarations().

{
int count=0;
if (docStr.isEmpty()) return TRUE;
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
if (og->isEnabled()) count++;
}
if (count==0) return TRUE; // no output formats enabled.
DocRoot *root=0;
root = validatingParseDoc(fileName,startLine,
ctx,md,docStr,indexWords,isExample,exampleName,
singleLine,linkFromIndex);
writeDoc(root,ctx,md);
bool isEmpty = root->isEmpty();
delete root;
return isEmpty;
}
void OutputList::insertMemberAlign ( bool  templ = FALSE)
inline
bool OutputList::isEnabled ( OutputGenerator::OutputType  o)
virtual

Check whether a specific output format is currently enabled (useful for OutputList only)

Implements OutputDocInterface.

Definition at line 99 of file outputlist.cpp.

References OutputGenerator::isEnabled(), and m_outputs.

Referenced by MemberDef::writeDeclaration(), writeDefArgumentList(), FileDef::writeDetailedDescription(), FileDef::writeInlineClasses(), and VhdlDocGen::writeVHDLDeclaration().

{
bool result=FALSE;
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
result=result || og->isEnabled(o);
}
return result;
}
void OutputList::lastIndexPage ( )
inline

Definition at line 413 of file outputlist.h.

References forall(), and OutputGenerator::lastIndexPage().

Referenced by writeIndex().

void OutputList::lineBreak ( const char *  style = 0)
inlinevirtual
bool OutputList::parseText ( const QCString &  textStr)
virtual

Reimplemented from BaseOutputDocInterface.

Definition at line 175 of file outputlist.cpp.

References count(), DocText::isEmpty(), OutputGenerator::isEnabled(), m_outputs, validatingParseText(), and OutputGenerator::writeDoc().

Referenced by MemberDef::_writeCallerGraph(), MemberDef::_writeCallGraph(), MemberDef::_writeCategoryRelation(), MemberDef::_writeReimplementedBy(), MemberDef::_writeReimplements(), Definition::_writeSourceRefList(), ClassDef::endMemberDeclarations(), ClassDef::showUsedFiles(), writeAlphabeticalIndex(), writeAnnotatedIndex(), NamespaceDef::writeAuthorSection(), GroupDef::writeAuthorSection(), FileDef::writeAuthorSection(), ClassDef::writeAuthorSection(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), writeClassMemberIndexFiltered(), writeClassTree(), writeClassTreeForList(), ClassDef::writeCollaborationGraph(), NamespaceSDict::writeDeclaration(), MemberDef::writeDeclaration(), ClassDef::writeDeclarationLink(), MemberList::writeDeclarations(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDescription(), DirDef::writeDirectoryGraph(), GroupDef::writeDirs(), writeDirTreeNode(), NamespaceDef::writeDocumentation(), ClassSDict::writeDocumentation(), GroupDef::writeDocumentation(), DirDef::writeDocumentation(), MemberList::writeDocumentation(), FileDef::writeDocumentation(), DirRelation::writeDocumentation(), MemberDef::writeDocumentation(), ClassDef::writeDocumentation(), MemberDef::writeEnumDeclaration(), writeExample(), writeExampleIndex(), writeFileIndex(), DirDef::writeFileList(), writeFileMemberIndexFiltered(), GroupDef::writeFiles(), writeGraphicalClassHierarchy(), writeGraphInfo(), GroupDef::writeGroupGraph(), writeGroupIndex(), writeGroupTreeNode(), writeHierarchicalIndex(), FileDef::writeIncludedByGraph(), FileDef::writeIncludeGraph(), writeIndex(), ClassDef::writeInheritanceGraph(), ClassDef::writeInlineDocumentation(), ClassDef::writeMemberList(), ClassDef::writeMoreLink(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), GroupDef::writeNestedGroups(), PageDef::writePageDocumentation(), writePageIndex(), MemberList::writePlainDeclarations(), writeSingleFileIndex(), FileDef::writeSource(), Definition::writeSourceDef(), FileDef::writeSourceLink(), DirDef::writeSubDirList(), writeTypeConstraints(), writeUserGroupStubPage(), and VhdlDocGen::writeVHDLDeclarations().

{
int count=0;
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
if (og->isEnabled()) count++;
}
if (count==0) return TRUE; // no output formats enabled.
DocText *root = validatingParseText(textStr);
for (it.toFirst();(og=it.current());++it)
{
if (og->isEnabled()) og->writeDoc(root,0,0);
}
bool isEmpty = root->isEmpty();
delete root;
return isEmpty;
}
void OutputList::popGeneratorState ( )
virtual

Pops the state of the current generator (or list of generators) on a stack. Should be preceded by a call the pushGeneratorState().

Implements OutputDocInterface.

Definition at line 121 of file outputlist.cpp.

References m_outputs, and OutputGenerator::popGeneratorState().

Referenced by Definition::_writeSourceRefList(), ClassDef::addClassAttributes(), NamespaceDef::addNamespaceAttributes(), endFile(), endFileWithNavPath(), endIndexHierarchy(), GroupDef::endMemberDocumentation(), endTitle(), recursivelyAddGroupListToTitle(), ClassDef::showUsedFiles(), startIndexHierarchy(), writeAlphabeticalIndex(), writeAnnotatedClassList(), writeAnnotatedIndex(), NamespaceDef::writeAuthorSection(), GroupDef::writeAuthorSection(), FileDef::writeAuthorSection(), ClassDef::writeAuthorSection(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), ClassDef::writeBriefDescription(), writeClassHierarchy(), writeClassMemberIndexFiltered(), ClassDef::writeCollaborationGraph(), MemberDef::writeDeclaration(), MemberList::writeDeclarations(), writeDefArgumentList(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDescription(), ClassDef::writeDetailedDocumentationBody(), writeDirHierarchy(), PageDef::writeDocumentation(), GroupDef::writeDocumentation(), DirDef::writeDocumentation(), MemberList::writeDocumentation(), FileDef::writeDocumentation(), DirRelation::writeDocumentation(), MemberDef::writeDocumentation(), MemberDef::writeEnumDeclaration(), writeExample(), writeExampleIndex(), writeFileIndex(), DirDef::writeFileList(), writeFileMemberIndexFiltered(), writeGraphInfo(), GroupDef::writeGroupGraph(), writeGroupHierarchy(), writeGroupIndex(), writeHierarchicalIndex(), ClassDef::writeIncludeFiles(), writeIndex(), ClassDef::writeInheritanceGraph(), ClassDef::writeInheritedMemberDeclarations(), Definition::writeInlineCode(), ClassDef::writeInlineDocumentation(), ClassDef::writeMemberList(), NamespaceDef::writeMemberPages(), GroupDef::writeMemberPages(), FileDef::writeMemberPages(), ClassDef::writeMemberPages(), ClassDef::writeMoreLink(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), Definition::writeNavigationPath(), PageDef::writePageDocumentation(), writePageIndex(), MemberList::writePlainDeclarations(), writeSingleFileIndex(), VhdlDocGen::writeSource(), Definition::writeSourceDef(), NamespaceDef::writeSummaryLinks(), GroupDef::writeSummaryLinks(), FileDef::writeSummaryLinks(), ClassDef::writeSummaryLinks(), Definition::writeToc(), writeUserGroupStubPage(), and VhdlDocGen::writeVHDLDeclaration().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
}
}
void OutputList::pushGeneratorState ( )
virtual

Appends the output generated by generator g to this generator.

Pushes the state of the current generator (or list of generators) on a stack.

Implements OutputDocInterface.

Definition at line 111 of file outputlist.cpp.

References m_outputs, and OutputGenerator::pushGeneratorState().

Referenced by Definition::_writeSourceRefList(), ClassDef::addClassAttributes(), NamespaceDef::addNamespaceAttributes(), endFile(), endFileWithNavPath(), endIndexHierarchy(), recursivelyAddGroupListToTitle(), ClassDef::showUsedFiles(), startIndexHierarchy(), GroupDef::startMemberDocumentation(), startTitle(), writeAlphabeticalIndex(), writeAnnotatedClassList(), writeAnnotatedIndex(), NamespaceDef::writeAuthorSection(), GroupDef::writeAuthorSection(), FileDef::writeAuthorSection(), ClassDef::writeAuthorSection(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), ClassDef::writeBriefDescription(), writeClassHierarchy(), writeClassMemberIndexFiltered(), ClassDef::writeCollaborationGraph(), MemberDef::writeDeclaration(), MemberList::writeDeclarations(), writeDefArgumentList(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDescription(), ClassDef::writeDetailedDocumentationBody(), writeDirHierarchy(), PageDef::writeDocumentation(), GroupDef::writeDocumentation(), DirDef::writeDocumentation(), MemberList::writeDocumentation(), FileDef::writeDocumentation(), DirRelation::writeDocumentation(), MemberDef::writeDocumentation(), MemberDef::writeEnumDeclaration(), writeExample(), writeExampleIndex(), writeFileIndex(), DirDef::writeFileList(), writeFileMemberIndexFiltered(), writeGraphInfo(), GroupDef::writeGroupGraph(), writeGroupHierarchy(), writeGroupIndex(), writeHierarchicalIndex(), ClassDef::writeIncludeFiles(), writeIndex(), ClassDef::writeInheritanceGraph(), ClassDef::writeInheritedMemberDeclarations(), Definition::writeInlineCode(), ClassDef::writeInlineDocumentation(), ClassDef::writeMemberList(), NamespaceDef::writeMemberPages(), GroupDef::writeMemberPages(), FileDef::writeMemberPages(), ClassDef::writeMemberPages(), ClassDef::writeMoreLink(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), Definition::writeNavigationPath(), PageDef::writePageDocumentation(), writePageIndex(), MemberList::writePlainDeclarations(), writeSingleFileIndex(), VhdlDocGen::writeSource(), Definition::writeSourceDef(), NamespaceDef::writeSummaryLinks(), GroupDef::writeSummaryLinks(), FileDef::writeSummaryLinks(), ClassDef::writeSummaryLinks(), Definition::writeToc(), writeUserGroupStubPage(), and VhdlDocGen::writeVHDLDeclaration().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
}
}
void OutputList::setCurrentDoc ( Definition context,
const char *  anchor,
bool  isSourceFile 
)
inlinevirtual

Implements CodeOutputInterface.

Definition at line 485 of file outputlist.h.

References forall(), and CodeOutputInterface::setCurrentDoc().

{ forall(&OutputGenerator::setCurrentDoc,context,anchor,isSourceFile); }
void OutputList::startAnonTypeScope ( int  i1)
inline
void OutputList::startBold ( )
inlinevirtual
void OutputList::startCallGraph ( )
inline
void OutputList::startCenter ( )
inlinevirtual
void OutputList::startClassDiagram ( )
inline
void OutputList::startCodeFragment ( )
inlinevirtual

Starts a source code fragment. The fragment will be fed to the code parser (see code.h) for syntax highlighting and cross-referencing. The fragment ends by a call to endCodeFragment()

Implements BaseOutputDocInterface.

Definition at line 244 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startCodeFragment().

Referenced by MemberDef::writeDocumentation(), Definition::writeInlineCode(), FileDef::writeSource(), and VhdlDocGen::writeSource().

void OutputList::startCodeLine ( bool  hasLineNumbers)
inlinevirtual

Implements CodeOutputInterface.

Definition at line 248 of file outputlist.h.

References forall(), and CodeOutputInterface::startCodeLine().

{ forall(&OutputGenerator::startCodeLine,hasLineNumbers); }
void OutputList::startConstraintDocs ( )
inline
void OutputList::startConstraintList ( const char *  header)
inline
void OutputList::startConstraintParam ( )
inline
void OutputList::startConstraintType ( )
inline
void OutputList::startContents ( )
inline
void OutputList::startDescForItem ( )
inlinevirtual
void OutputList::startDescItem ( )
inlinevirtual

Starts an item of a description list: e.g. <dt> in HTML.

Implements BaseOutputDocInterface.

Definition at line 279 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startDescItem().

void OutputList::startDescription ( )
inlinevirtual

Starts a description list: e.g. <dl> in HTML Items are surrounded by startDescItem() and endDescItem()

Implements BaseOutputDocInterface.

Definition at line 275 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startDescription().

void OutputList::startDescTable ( const char *  title)
inlinevirtual
void OutputList::startDescTableData ( )
inlinevirtual
void OutputList::startDescTableRow ( )
inlinevirtual
void OutputList::startDescTableTitle ( )
inlinevirtual
void OutputList::startDirDepGraph ( )
inline
void OutputList::startDotGraph ( )
inline
void OutputList::startDoxyAnchor ( const char *  fName,
const char *  manName,
const char *  anchor,
const char *  name,
const char *  args 
)
inline
void OutputList::startEmphasis ( )
inlinevirtual

Changes the text font to italic. The italic section ends with endEmphasis()

Implements BaseOutputDocInterface.

Definition at line 255 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startEmphasis().

Referenced by writeDefArgumentList(), VhdlDocGen::writeFuncProcDocu(), and VhdlDocGen::writeVHDLDeclaration().

void OutputList::startFile ( const char *  name,
const char *  manName,
const char *  title 
)
inline
void OutputList::startFontClass ( const char *  clsName)
inlinevirtual

Starts a block with a certain meaning. Used for syntax highlighting, which elements of the same type are rendered using the same 'font class'.

Parameters
clsNameThe category name.

Implements CodeOutputInterface.

Definition at line 479 of file outputlist.h.

References forall(), and CodeOutputInterface::startFontClass().

Referenced by startFonts().

void OutputList::startGroupCollaboration ( )
inline
void OutputList::startGroupHeader ( int  extraLevels = 0)
inline
void OutputList::startHeaderSection ( )
inline
void OutputList::startHtmlLink ( const char *  url)
inlinevirtual

Starts a (link to an) URL found in the documentation.

Parameters
urlThe URL to link to.

Implements BaseOutputDocInterface.

Definition at line 163 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startHtmlLink().

void OutputList::startInclDepGraph ( )
inline
void OutputList::startIndent ( )
inline
void OutputList::startIndexItem ( const char *  ref,
const char *  file 
)
inline
void OutputList::startIndexKey ( )
inline
void OutputList::startIndexList ( )
inline
void OutputList::startIndexListItem ( )
inline
void OutputList::startIndexSection ( IndexSections  is)
inline

Definition at line 85 of file outputlist.h.

References forall(), and OutputGenerator::startIndexSection().

Referenced by writeIndex().

void OutputList::startIndexValue ( bool  b)
inline
void OutputList::startInlineHeader ( )
inline
void OutputList::startInlineMemberDoc ( )
inline
void OutputList::startInlineMemberName ( )
inline
void OutputList::startInlineMemberType ( )
inline
void OutputList::startItemList ( )
inlinevirtual

Start of a bullet list: e.g. <ul> in html. startItemListItem() is Used for the bullet items.

Implements BaseOutputDocInterface.

Definition at line 137 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startItemList().

Referenced by ClassDef::showUsedFiles(), startIndexHierarchy(), and writeExampleIndex().

void OutputList::startItemListItem ( )
inlinevirtual

Writes a list item for a bullet or enumerated list: e.g. <li> in html

Implements BaseOutputDocInterface.

Definition at line 182 of file outputlist.h.

References forall(), and BaseOutputDocInterface::startItemListItem().

Referenced by ClassDef::showUsedFiles(), and writeExampleIndex().

void OutputList::startLabels ( )
inline
void OutputList::startMemberDeclaration ( )
inline
void OutputList::startMemberDescription ( const char *  anchor,
const char *  inheritId = 0 
)
inline
void OutputList::startMemberDoc ( const char *  clName,
const char *  memName,
const char *  anchor,
const char *  title,
int  memCount,
int  memTotal,
bool  showInline 
)
inline

Definition at line 261 of file outputlist.h.

References forall(), and OutputGenerator::startMemberDoc().

Referenced by MemberDef::writeDocumentation(), and ClassDef::writeInlineDocumentation().

{ forall(&OutputGenerator::startMemberDoc,clName,memName,anchor,title,memCount,memTotal,showInline); }
void OutputList::startMemberDocList ( )
inline
void OutputList::startMemberDocName ( bool  align)
inline
void OutputList::startMemberDocPrefixItem ( )
inline
void OutputList::startMemberDocSimple ( bool  b)
inline
void OutputList::startMemberGroup ( )
inline
void OutputList::startMemberGroupDocs ( )
inline
void OutputList::startMemberGroupHeader ( bool  b)
inline
void OutputList::startMemberHeader ( const char *  anchor)
inline
void OutputList::startMemberItem ( const char *  anchor,
int  i1,
const char *  id = 0 
)
inline
void OutputList::startMemberList ( )
inline
void OutputList::startMemberSections ( )
inline
void OutputList::startMemberSubtitle ( )
inline
void OutputList::startMemberTemplateParams ( )
inline
void OutputList::startPageRef ( )
inlinevirtual
void OutputList::startParagraph ( )
inlinevirtual
void OutputList::startParameterList ( bool  openBracket)
inline
void OutputList::startParameterName ( bool  one)
inline
void OutputList::startParameterType ( bool  first,
const char *  key 
)
inline
void OutputList::startParamList ( ParamListTypes  t,
const char *  title 
)
inlinevirtual
void OutputList::startPlainFile ( const char *  name)
inline

Definition at line 490 of file outputlist.h.

References OutputGenerator::isEnabled(), m_outputs, and OutputGenerator::startPlainFile().

{
QListIterator<OutputGenerator> it(m_outputs);
for (;(og=it.current());++it)
{
if (og->isEnabled()) (og->startPlainFile)(name);
}
}
void OutputList::startProjectNumber ( )
inline
void OutputList::startQuickIndices ( )
inline
void OutputList::startSection ( const char *  lab,
const char *  title,
SectionInfo::SectionType  t 
)
inlinevirtual
void OutputList::startSimpleSect ( SectionTypes  t,
const char *  file,
const char *  anchor,
const char *  title 
)
inlinevirtual
void OutputList::startSmall ( )
inlinevirtual
void OutputList::startSubsection ( )
inlinevirtual
void OutputList::startSubsubsection ( )
inlinevirtual
void OutputList::startTextBlock ( bool  dense = FALSE)
inline
void OutputList::startTextLink ( const char *  file,
const char *  anchor 
)
inlinevirtual
void OutputList::startTitle ( )
inlinevirtual
void OutputList::startTitleHead ( const char *  fileName)
inline
void OutputList::startTypewriter ( )
inlinevirtual
void OutputList::writeAnchor ( const char *  fileName,
const char *  name 
)
inlinevirtual
void OutputList::writeChar ( char  c)
inlinevirtual

Writes a single ASCII character to the output. Converts characters that have a special meaning.

Implements BaseOutputDocInterface.

Definition at line 259 of file outputlist.h.

References forall(), and BaseOutputDocInterface::writeChar().

Referenced by MemberDef::writeEnumDeclaration(), and VhdlDocGen::writeProcedureProto().

void OutputList::writeCodeAnchor ( const char *  name)
inlinevirtual

Write an anchor to a source listing.

Parameters
nameThe name of the anchor.

Implements CodeOutputInterface.

Definition at line 483 of file outputlist.h.

References forall(), and CodeOutputInterface::writeCodeAnchor().

void OutputList::writeCodeLink ( const char *  ref,
const char *  file,
const char *  anchor,
const char *  name,
const char *  tooltip 
)
inlinevirtual

Writes a link to an object in a code fragment.

Parameters
refIf this is non-zero, the object is to be found in an external documentation file.
fileThe file in which the object is located.
anchorThe anchor uniquely identifying the object within the file.
nameThe text to display as a placeholder for the link.
tooltipThe tooltip to display when the mouse is on the link.

Implements CodeOutputInterface.

Definition at line 152 of file outputlist.h.

References forall(), and CodeOutputInterface::writeCodeLink().

{ forall(&OutputGenerator::writeCodeLink,ref,file,anchor,name,tooltip); }
void OutputList::writeDoc ( DocRoot root,
Definition ctx,
MemberDef md 
)

Definition at line 162 of file outputlist.cpp.

References OutputGenerator::isEnabled(), m_outputs, VhdlDocGen::setFlowMember(), and OutputGenerator::writeDoc().

Referenced by generateDoc(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), MemberDef::writeDeclaration(), ClassDef::writeDeclarationLink(), and MemberList::writePlainDeclarations().

{
QListIterator<OutputGenerator> it(m_outputs);
for (it.toFirst();(og=it.current());++it)
{
//printf("og->printDoc(extension=%s)\n",
// ctx?ctx->getDefFileExtension().data():"<null>");
if (og->isEnabled()) og->writeDoc(root,ctx,md);
}
}
void OutputList::writeEndAnnoItem ( const char *  name)
inline
void OutputList::writeFooter ( const char *  navPath)
inline

Definition at line 101 of file outputlist.h.

References forall(), and OutputGenerator::writeFooter().

Referenced by endFile().

void OutputList::writeGraphicalHierarchy ( const DotGfxHierarchyTable g)
inline
void OutputList::writeInheritedSectionTitle ( const char *  id,
const char *  ref,
const char *  file,
const char *  anchor,
const char *  title,
const char *  name 
)
inline

Definition at line 317 of file outputlist.h.

References forall(), and OutputGenerator::writeInheritedSectionTitle().

Referenced by MemberList::writeDeclarations().

file,anchor,title,name); }
void OutputList::writeLabel ( const char *  l,
bool  isLast 
)
inline
void OutputList::writeLatexSpacing ( )
inline
void OutputList::writeLineNumber ( const char *  ref,
const char *  file,
const char *  anchor,
int  lineNumber 
)
inlinevirtual

Writes the line number of a source listing

Parameters
refExternal reference (when imported from a tag file)
fileThe file part of the URL pointing to the docs.
anchorThe anchor part of the URL pointing to the docs.
lineNumberThe line number to write

Implements CodeOutputInterface.

Definition at line 252 of file outputlist.h.

References forall(), and CodeOutputInterface::writeLineNumber().

{ forall(&OutputGenerator::writeLineNumber,ref,file,anchor,lineNumber); }
void OutputList::writeLogo ( )
inline

Definition at line 359 of file outputlist.h.

References forall(), and OutputGenerator::writeLogo().

void OutputList::writeNavigationPath ( const char *  s)
inline
void OutputList::writeNonBreakableSpace ( int  num)
inlinevirtual
void OutputList::writeObjectLink ( const char *  ref,
const char *  file,
const char *  anchor,
const char *  name 
)
inlinevirtual

Writes a link to an object in the documentation.

Parameters
refIf this is non-zero, the object is to be found in an external documentation file.
fileThe file in which the object is located.
anchorThe anchor uniquely identifying the object within the file.
nameThe text to display as a placeholder for the link.

Implements BaseOutputDocInterface.

Definition at line 149 of file outputlist.h.

References forall(), and BaseOutputDocInterface::writeObjectLink().

Referenced by MemberDef::_writeCategoryRelation(), MemberDef::_writeGroupInclude(), MemberDef::_writeReimplementedBy(), MemberDef::_writeReimplements(), Definition::_writeSourceRefList(), recursivelyAddGroupListToTitle(), ClassDef::showUsedFiles(), writeAlphabeticalClassList(), writeAnnotatedClassList(), writeClassLinkForMember(), NamespaceSDict::writeDeclaration(), ClassDef::writeDeclaration(), ClassDef::writeDeclarationLink(), FileDef::writeDetailedDescription(), GroupDef::writeDirs(), writeExample(), writeExampleIndex(), writeFileLinkForMember(), DirDef::writeFileList(), GroupDef::writeFiles(), FileDef::writeIncludeFiles(), ClassDef::writeIncludeFiles(), ClassDef::writeInheritanceGraph(), writeLink(), MemberDef::writeLink(), MemberDef::writeMemberDocSimple(), ClassDef::writeMemberList(), writeNamespaceIndex(), writeNamespaceLinkForMember(), GroupDef::writeNestedGroups(), writePartialDirPath(), writePartialFilePath(), writeSingleFileIndex(), Definition::writeSourceDef(), DirDef::writeSubDirList(), VhdlDocGen::writeVHDLDeclaration(), and VhdlDocGen::writeVhdlLink().

{ forall(&OutputGenerator::writeObjectLink,ref,file,anchor,name); }
void OutputList::writePageLink ( const char *  name,
bool  first 
)
inline

Definition at line 89 of file outputlist.h.

References forall(), and OutputGenerator::writePageLink().

Referenced by writeIndex().

void OutputList::writeQuickLinks ( bool  compact,
HighlightedItem  hli,
const char *  file 
)
inline
void OutputList::writeRuler ( )
inlinevirtual
void OutputList::writeSearchInfo ( )
inline
void OutputList::writeSplitBar ( const char *  name)
inline
void OutputList::writeStartAnnoItem ( const char *  type,
const char *  file,
const char *  path,
const char *  name 
)
inline

Definition at line 167 of file outputlist.h.

References forall(), and OutputGenerator::writeStartAnnoItem().

{ forall(&OutputGenerator::writeStartAnnoItem,type,file,path,name); }
void OutputList::writeString ( const char *  text)
inlinevirtual

Writes an ASCII string to the output, without converting special characters.

Implements BaseOutputDocInterface.

Definition at line 119 of file outputlist.h.

References forall(), and BaseOutputDocInterface::writeString().

Referenced by MemberDef::_writeEnumValues(), Definition::_writeSourceRefList(), endFile(), endFileWithNavPath(), endQuickIndexItem(), endQuickIndexList(), recursivelyAddGroupListToTitle(), startQuickIndexItem(), startQuickIndexList(), writeAlphabeticalClassList(), writeAnnotatedClassList(), writeAnnotatedIndex(), ClassDef::writeAuthorSection(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), ClassDef::writeBriefDescription(), writeClassLinkForMember(), writeClassMemberIndexFiltered(), VhdlDocGen::writeClassType(), MemberDef::writeDeclaration(), ClassDef::writeDeclarationLink(), DirDef::writeDetailedDescription(), NamespaceDef::writeDetailedDescription(), GroupDef::writeDetailedDescription(), FileDef::writeDetailedDescription(), ClassDef::writeDetailedDocumentationBody(), DirRelation::writeDocumentation(), MemberDef::writeDocumentation(), MemberList::writeDocumentationPage(), MemberDef::writeEnumDeclaration(), writeExample(), writeExampleIndex(), writeFileIndex(), writeFileLinkForMember(), writeFileMemberIndexFiltered(), writeGroupIndex(), writeHierarchicalIndex(), ClassDef::writeInlineDocumentation(), MemberDef::writeMemberDocSimple(), ClassDef::writeMemberList(), ClassDef::writeMoreLink(), writeNamespaceIndex(), writeNamespaceLinkForMember(), writeNamespaceMemberIndexFiltered(), writePageIndex(), writePartialDirPath(), writePartialFilePath(), MemberList::writePlainDeclarations(), writeQuickMemberIndex(), NamespaceDef::writeQuickMemberLinks(), GroupDef::writeQuickMemberLinks(), FileDef::writeQuickMemberLinks(), ClassDef::writeQuickMemberLinks(), NamespaceDef::writeSummaryLinks(), GroupDef::writeSummaryLinks(), FileDef::writeSummaryLinks(), ClassDef::writeSummaryLinks(), writeTemplateSpec(), Definition::writeToc(), writeUCFLink(), and writeUserGroupStubPage().

void OutputList::writeStyleInfo ( int  part)
inline

Definition at line 95 of file outputlist.h.

References forall(), and OutputGenerator::writeStyleInfo().

Referenced by generateOutput().

void OutputList::writeSummaryLink ( const char *  file,
const char *  anchor,
const char *  title,
bool  first 
)
inline
void OutputList::writeSynopsis ( )
inline
void OutputList::writeTooltip ( const char *  id,
const DocLinkInfo docInfo,
const char *  decl,
const char *  desc,
const SourceLinkInfo defInfo,
const SourceLinkInfo declInfo 
)
inlinevirtual

Writes a tool tip definition

Parameters
idunique identifier for the tooltip
docInfoInfo about the symbol's documentation.
declfull declaration of the symbol (for functions)
descbrief description for the symbol
defInfoInfo about the symbol's definition in the source code
declInfoInfo about the symbol's declaration in the source code

Implements CodeOutputInterface.

Definition at line 156 of file outputlist.h.

References forall(), and CodeOutputInterface::writeTooltip().

{ forall(&OutputGenerator::writeTooltip,id,docInfo,decl,desc,defInfo,declInfo); }

Member Data Documentation

QList<OutputGenerator> OutputList::m_outputs
private

The documentation for this class was generated from the following files: