doxygen
Public Member Functions | Static Public Member Functions | List of all members
DocbookGenerator Class Reference
Inheritance diagram for DocbookGenerator:
Inheritance graph
[legend]
Collaboration diagram for DocbookGenerator:
Collaboration graph
[legend]

Public Member Functions

 DocbookGenerator (const DocbookGenerator &o)
 
DocbookGeneratoroperator= (const DocbookGenerator &o)
 
virtual std::unique_ptr< OutputGeneratorclone () const
 
void cleanup ()
 
OutputType type () const
 
void codify (const QCString &text)
 
void writeCodeLink (CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)
 
void writeLineNumber (const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)
 
void writeTooltip (const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)
 
void startCodeLine (bool hasLineNumbers)
 
void endCodeLine ()
 
void startFontClass (const QCString &s)
 
void endFontClass ()
 
void writeCodeAnchor (const QCString &anchor)
 
void startCodeFragment (const QCString &style)
 
void endCodeFragment (const QCString &style)
 
void writeDoc (DocNode *, const Definition *ctx, const MemberDef *md, int id)
 
void startFile (const QCString &name, const QCString &manName, const QCString &title, int id)
 
void writeSearchInfo ()
 
void writeFooter (const QCString &)
 
void endFile ()
 
void startIndexSection (IndexSections)
 
void endIndexSection (IndexSections)
 
void writePageLink (const QCString &, bool)
 
void startProjectNumber ()
 
void endProjectNumber ()
 
void writeStyleInfo (int)
 
void startTitleHead (const QCString &)
 
void endTitleHead (const QCString &fileName, const QCString &name)
 
void startIndexListItem ()
 
void endIndexListItem ()
 
void startIndexList ()
 
void endIndexList ()
 
void startIndexKey ()
 
void endIndexKey ()
 
void startIndexValue (bool)
 
void endIndexValue (const QCString &, bool)
 
void startItemList ()
 
void endItemList ()
 
void startIndexItem (const QCString &, const QCString &)
 
void endIndexItem (const QCString &, const QCString &)
 
void startItemListItem ()
 
void endItemListItem ()
 
void docify (const QCString &text)
 
void writeChar (char)
 
void writeString (const QCString &)
 
void startParagraph (const QCString &)
 
void endParagraph ()
 
void writeObjectLink (const QCString &, const QCString &, const QCString &, const QCString &)
 
void startHtmlLink (const QCString &)
 
void endHtmlLink ()
 
void startBold ()
 
void endBold ()
 
void startTypewriter ()
 
void endTypewriter ()
 
void startEmphasis ()
 
void endEmphasis ()
 
void writeRuler ()
 
void startDescription ()
 
void endDescription ()
 
void startDescItem ()
 
void startDescForItem ()
 
void endDescForItem ()
 
void endDescItem ()
 
void startCenter ()
 
void endCenter ()
 
void startSmall ()
 
void endSmall ()
 
void startExamples ()
 
void endExamples ()
 
void startParamList (BaseOutputDocInterface::ParamListTypes, const QCString &)
 
void endParamList ()
 
void startTitle ()
 
void endTitle ()
 
void writeAnchor (const QCString &, const QCString &)
 
void startSection (const QCString &, const QCString &, SectionType)
 
void endSection (const QCString &, SectionType)
 
void lineBreak (const QCString &)
 
void addIndexItem (const QCString &, const QCString &)
 
void writeNonBreakableSpace (int)
 
void startDescTable (const QCString &)
 
void endDescTable ()
 
void startDescTableRow ()
 
void endDescTableRow ()
 
void startDescTableTitle ()
 
void endDescTableTitle ()
 
void startDescTableData ()
 
void endDescTableData ()
 
void startTextLink (const QCString &, const QCString &)
 
void endTextLink ()
 
void startPageRef ()
 
void endPageRef (const QCString &, const QCString &)
 
void startSubsection ()
 
void endSubsection ()
 
void startSubsubsection ()
 
void endSubsubsection ()
 
void startGroupHeader (int)
 
void endGroupHeader (int)
 
void startMemberSections ()
 
void endMemberSections ()
 
void startHeaderSection ()
 
void endHeaderSection ()
 
void startMemberHeader (const QCString &anchor, int typ)
 
void endMemberHeader ()
 
void startMemberSubtitle ()
 
void endMemberSubtitle ()
 
void startMemberDocList ()
 
void endMemberDocList ()
 
void startMemberList ()
 
void endMemberList ()
 
void startInlineHeader ()
 
void endInlineHeader ()
 
void startAnonTypeScope (int)
 
void endAnonTypeScope (int)
 
void startMemberItem (const QCString &, int, const QCString &)
 
void endMemberItem ()
 
void startMemberTemplateParams ()
 
void endMemberTemplateParams (const QCString &, const QCString &)
 
void startCompoundTemplateParams ()
 
void endCompoundTemplateParams ()
 
void startMemberGroupHeader (bool)
 
void endMemberGroupHeader ()
 
void startMemberGroupDocs ()
 
void endMemberGroupDocs ()
 
void startMemberGroup ()
 
void endMemberGroup (bool)
 
void insertMemberAlign (bool)
 
void insertMemberAlignLeft (int, bool)
 
void startMemberDoc (const QCString &, const QCString &, const QCString &, const QCString &, int, int, bool)
 
void endMemberDoc (bool)
 
void startDoxyAnchor (const QCString &fName, const QCString &manName, const QCString &anchor, const QCString &name, const QCString &args)
 
void endDoxyAnchor (const QCString &fileName, const QCString &anchor)
 
void writeLatexSpacing ()
 
void writeStartAnnoItem (const QCString &, const QCString &, const QCString &, const QCString &)
 
void writeEndAnnoItem (const QCString &)
 
void startMemberDescription (const QCString &, const QCString &, bool)
 
void endMemberDescription ()
 
void startMemberDeclaration ()
 
void endMemberDeclaration (const QCString &, const QCString &)
 
void writeInheritedSectionTitle (const QCString &, const QCString &, const QCString &, const QCString &, const QCString &, const QCString &)
 
void startIndent ()
 
void endIndent ()
 
void writeSynopsis ()
 
void startClassDiagram ()
 
void endClassDiagram (const ClassDiagram &, const QCString &, const QCString &)
 
void startDotGraph ()
 
void endDotGraph (DotClassGraph &g)
 
void startInclDepGraph ()
 
void endInclDepGraph (DotInclDepGraph &g)
 
void startGroupCollaboration ()
 
void endGroupCollaboration (DotGroupCollaboration &g)
 
void startCallGraph ()
 
void endCallGraph (DotCallGraph &g)
 
void startDirDepGraph ()
 
void endDirDepGraph (DotDirDeps &g)
 
void writeGraphicalHierarchy (DotGfxHierarchyTable &)
 
void startQuickIndices ()
 
void endQuickIndices ()
 
void writeSplitBar (const QCString &)
 
void writeNavigationPath (const QCString &)
 
void writeLogo ()
 
void writeQuickLinks (bool, HighlightedItem, const QCString &)
 
void writeSummaryLink (const QCString &, const QCString &, const QCString &, bool)
 
void startContents ()
 
void endContents ()
 
void startPageDoc (const QCString &)
 
void endPageDoc ()
 
void startTextBlock (bool)
 
void endTextBlock (bool)
 
void lastIndexPage ()
 
void startMemberDocPrefixItem ()
 
void endMemberDocPrefixItem ()
 
void startMemberDocName (bool)
 
void endMemberDocName ()
 
void startParameterType (bool, const QCString &)
 
void endParameterType ()
 
void startParameterName (bool)
 
void endParameterName (bool, bool, bool)
 
void startParameterList (bool)
 
void endParameterList ()
 
void exceptionEntry (const QCString &, bool)
 
void startConstraintList (const QCString &)
 
void startConstraintParam ()
 
void endConstraintParam ()
 
void startConstraintType ()
 
void endConstraintType ()
 
void startConstraintDocs ()
 
void endConstraintDocs ()
 
void endConstraintList ()
 
void startMemberDocSimple (bool)
 
void endMemberDocSimple (bool)
 
void startInlineMemberType ()
 
void endInlineMemberType ()
 
void startInlineMemberName ()
 
void endInlineMemberName ()
 
void startInlineMemberDoc ()
 
void endInlineMemberDoc ()
 
void startLabels ()
 
void writeLabel (const QCString &, bool)
 
void endLabels ()
 
void setCurrentDoc (const Definition *, const QCString &, bool)
 
void addWord (const QCString &, bool)
 
- Public Member Functions inherited from OutputGenerator
 OutputGenerator (const QCString &dir)
 
 OutputGenerator (const OutputGenerator &o)
 
OutputGeneratoroperator= (const OutputGenerator &o)
 
void enable ()
 
void disable ()
 
void enableIf (OutputType o)
 
void disableIf (OutputType o)
 
void disableIfNot (OutputType o)
 
bool isEnabled (OutputType o)
 
OutputGeneratorget (OutputType o)
 
QCString dir () const
 
QCString fileName () const
 
void startPlainFile (const QCString &name)
 
void endPlainFile ()
 
bool isEnabled () const
 
void pushGeneratorState ()
 
void popGeneratorState ()
 
- Public Member Functions inherited from BaseOutputDocInterface
virtual void parseText (const QCString &)
 
- Public Member Functions inherited from CodeOutputInterface
 CodeOutputInterface (const CodeOutputInterface &)=delete
 
CodeOutputInterfaceoperator= (const CodeOutputInterface &)=delete
 
virtual int id () const
 Identifier for the output file.
 

Static Public Member Functions

static void init ()
 

Additional Inherited Members

- Public Types inherited from OutputGenerator
enum  OutputType {
  Html, Latex, Man, RTF,
  XML, DEF, Perl, Docbook
}
 
- Public Types inherited from BaseOutputDocInterface
enum  ParamListTypes { Param, RetVal, Exception }
 
enum  SectionTypes { EnumValues, Examples }
 
- Protected Attributes inherited from OutputGenerator
TextStream m_t
 

Member Function Documentation

◆ codify()

void DocbookGenerator::codify ( const QCString 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.

◆ docify()

void DocbookGenerator::docify ( const QCString s)
virtual

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

Implements BaseOutputDocInterface.

◆ endBold()

void DocbookGenerator::endBold ( )
virtual

End a section of text displayed in bold face.

Implements BaseOutputDocInterface.

◆ endCodeFragment()

void DocbookGenerator::endCodeFragment ( const QCString style)
inlinevirtual

Ends a block of code

Implements CodeOutputInterface.

◆ endCodeLine()

void DocbookGenerator::endCodeLine ( )
inlinevirtual

Ends a line of code started with startCodeLine()

Implements CodeOutputInterface.

◆ endDescItem()

void DocbookGenerator::endDescItem ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ endDescription()

void DocbookGenerator::endDescription ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ endEmphasis()

void DocbookGenerator::endEmphasis ( )
inlinevirtual

Ends a section of text displayed in italic.

Implements BaseOutputDocInterface.

◆ endFontClass()

void DocbookGenerator::endFontClass ( )
inlinevirtual

Ends a block started with startFontClass()

Implements CodeOutputInterface.

◆ endHtmlLink()

void DocbookGenerator::endHtmlLink ( )
inlinevirtual

Ends a link started by startHtmlLink().

Implements BaseOutputDocInterface.

◆ endItemList()

void DocbookGenerator::endItemList ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ endItemListItem()

void DocbookGenerator::endItemListItem ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ endParagraph()

void DocbookGenerator::endParagraph ( )
virtual

Ends a paragraph

Implements BaseOutputDocInterface.

◆ endTypewriter()

void DocbookGenerator::endTypewriter ( )
virtual

End a section of text displayed in typewriter style.

Implements BaseOutputDocInterface.

◆ startBold()

void DocbookGenerator::startBold ( )
virtual

Changes the text font to bold face. The bold section ends with endBold()

Implements BaseOutputDocInterface.

◆ startCodeFragment()

void DocbookGenerator::startCodeFragment ( const QCString style)
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()

Parameters
styleThe kind of code fragment.

Implements CodeOutputInterface.

◆ startDescItem()

void DocbookGenerator::startDescItem ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ startDescription()

void DocbookGenerator::startDescription ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ startEmphasis()

void DocbookGenerator::startEmphasis ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ startFontClass()

void DocbookGenerator::startFontClass ( const QCString 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.

◆ startHtmlLink()

void DocbookGenerator::startHtmlLink ( const QCString url)
inlinevirtual

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

Parameters
urlThe URL to link to.

Implements BaseOutputDocInterface.

◆ startItemList()

void DocbookGenerator::startItemList ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ startItemListItem()

void DocbookGenerator::startItemListItem ( )
inlinevirtual

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

Implements BaseOutputDocInterface.

◆ startParagraph()

void DocbookGenerator::startParagraph ( const QCString classDef)
virtual

Starts a new paragraph

Starts a new paragraph

Implements BaseOutputDocInterface.

◆ startTypewriter()

void DocbookGenerator::startTypewriter ( )
virtual

Changes the text font to fixed size. The section ends with endTypewriter()

Implements BaseOutputDocInterface.

◆ writeChar()

void DocbookGenerator::writeChar ( char  c)
virtual

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

Implements BaseOutputDocInterface.

◆ writeCodeAnchor()

void DocbookGenerator::writeCodeAnchor ( const QCString name)
inlinevirtual

Write an anchor to a source listing.

Parameters
nameThe name of the anchor.

Implements CodeOutputInterface.

◆ writeCodeLink()

void DocbookGenerator::writeCodeLink ( CodeSymbolType  type,
const QCString ref,
const QCString file,
const QCString anchor,
const QCString name,
const QCString tooltip 
)
inlinevirtual

Writes a link to an object in a code fragment.

Parameters
typeThe type of symbol, used for semantic syntax highlighting, may be Default is no info is available.
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.

◆ writeLineNumber()

void DocbookGenerator::writeLineNumber ( const QCString ref,
const QCString file,
const QCString anchor,
int  lineNumber,
bool  writeLineAnchor 
)
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
writeLineAnchorIndicates if an anchor for the line number needs to be written

Implements CodeOutputInterface.

◆ writeObjectLink()

void DocbookGenerator::writeObjectLink ( const QCString ref,
const QCString file,
const QCString anchor,
const QCString name 
)
virtual

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.

◆ writeRuler()

void DocbookGenerator::writeRuler ( )
virtual

Writes a horizontal ruler to the output

Implements BaseOutputDocInterface.

◆ writeString()

void DocbookGenerator::writeString ( const QCString text)
virtual

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

Implements BaseOutputDocInterface.

◆ writeTooltip()

void DocbookGenerator::writeTooltip ( const QCString id,
const DocLinkInfo docInfo,
const QCString decl,
const QCString 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.


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