Doxygen
|
Output interface for code parser. 更多...
#include <outputgen.h>
Public 成员函数 | |
virtual | ~CodeOutputInterface () |
CodeOutputInterface () | |
CodeOutputInterface (const CodeOutputInterface &)=delete | |
CodeOutputInterface & | operator= (const CodeOutputInterface &)=delete |
virtual int | id () const |
Identifier for the output file 更多... | |
virtual void | codify (const QCString &s)=0 |
virtual void | writeCodeLink (CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)=0 |
virtual void | writeLineNumber (const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)=0 |
virtual void | writeTooltip (const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)=0 |
virtual void | startCodeLine (bool hasLineNumbers)=0 |
virtual void | endCodeLine ()=0 |
virtual void | startFontClass (const QCString &clsName)=0 |
virtual void | endFontClass ()=0 |
virtual void | writeCodeAnchor (const QCString &name)=0 |
virtual void | setCurrentDoc (const Definition *context, const QCString &anchor, bool isSourceFile)=0 |
virtual void | addWord (const QCString &word, bool hiPriority)=0 |
virtual void | startCodeFragment (const QCString &style)=0 |
virtual void | endCodeFragment (const QCString &style)=0 |
Output interface for code parser.
在文件 outputgen.h 第 61 行定义.
|
inlinevirtual |
在文件 outputgen.h 第 64 行定义.
|
inline |
在文件 outputgen.h 第 65 行定义.
|
delete |
|
pure virtual |
|
pure virtual |
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.
在 LatexCodeGenerator, XMLCodeGenerator, DocbookGenerator, LatexGenerator, RTFGenerator, HtmlGenerator, ManGenerator, DocbookCodeGenerator, HtmlCodeGenerator, OutputList , 以及 DevNullCodeDocInterface 内被实现.
被这些函数引用 OutputList::codify() , 以及 FileCodeParser::parseCode().
|
pure virtual |
Ends a block of code
在 LatexCodeGenerator, OutputList, RTFGenerator, DocbookGenerator, LatexGenerator, HtmlGenerator, DocbookCodeGenerator, DevNullCodeDocInterface, XMLCodeGenerator, ManGenerator , 以及 HtmlCodeGenerator 内被实现.
被这些函数引用 OutputList::endCodeFragment() , 以及 HtmlDocVisitor::visit().
|
pure virtual |
Ends a line of code started with startCodeLine()
在 DevNullCodeDocInterface, LatexCodeGenerator, XMLCodeGenerator, OutputList, RTFGenerator, ManGenerator, DocbookGenerator, LatexGenerator, HtmlGenerator, DocbookCodeGenerator , 以及 HtmlCodeGenerator 内被实现.
被这些函数引用 OutputList::endCodeLine() , 以及 FileCodeParser::parseCode().
|
pure virtual |
Ends a block started with startFontClass()
在 DevNullCodeDocInterface, LatexCodeGenerator, XMLCodeGenerator, OutputList, RTFGenerator, ManGenerator, DocbookGenerator, LatexGenerator, HtmlGenerator, DocbookCodeGenerator , 以及 HtmlCodeGenerator 内被实现.
被这些函数引用 OutputList::endFontClass().
|
inlinevirtual |
Identifier for the output file
被 OutputList , 以及 HtmlCodeGenerator 重载.
在文件 outputgen.h 第 70 行定义.
被这些函数引用 TooltipManager::writeTooltips().
|
delete |
|
pure virtual |
|
pure virtual |
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()
style | The kind of code fragment. |
在 LatexCodeGenerator, OutputList, RTFGenerator, DocbookGenerator, LatexGenerator, HtmlGenerator, DocbookCodeGenerator, HtmlCodeGenerator, DevNullCodeDocInterface, XMLCodeGenerator , 以及 ManGenerator 内被实现.
被这些函数引用 OutputList::startCodeFragment() , 以及 HtmlDocVisitor::visit().
|
pure virtual |
|
pure virtual |
Starts a block with a certain meaning. Used for syntax highlighting, which elements of the same type are rendered using the same 'font class'.
clsName | The category name. |
在 DocbookGenerator, LatexGenerator, HtmlGenerator, HtmlCodeGenerator, XMLCodeGenerator, DocbookCodeGenerator, OutputList, DevNullCodeDocInterface, LatexCodeGenerator, RTFGenerator , 以及 ManGenerator 内被实现.
被这些函数引用 OutputList::startFontClass().
|
pure virtual |
Write an anchor to a source listing.
name | The name of the anchor. |
在 OutputList, DocbookGenerator, LatexGenerator, HtmlGenerator, HtmlCodeGenerator, DevNullCodeDocInterface, LatexCodeGenerator, XMLCodeGenerator, RTFGenerator, ManGenerator , 以及 DocbookCodeGenerator 内被实现.
被这些函数引用 OutputList::writeCodeAnchor().
|
pure virtual |
Writes a link to an object in a code fragment.
type | The type of symbol, used for semantic syntax highlighting, may be Default is no info is available. |
ref | If this is non-zero, the object is to be found in an external documentation file. |
file | The file in which the object is located. |
anchor | The anchor uniquely identifying the object within the file. |
name | The text to display as a placeholder for the link. |
tooltip | The tooltip to display when the mouse is on the link. |
在 DevNullCodeDocInterface, LatexCodeGenerator, XMLCodeGenerator, OutputList, DocbookGenerator, LatexGenerator, RTFGenerator, HtmlGenerator, ManGenerator, DocbookCodeGenerator , 以及 HtmlCodeGenerator 内被实现.
被这些函数引用 OutputList::writeCodeLink().
|
pure virtual |
Writes the line number of a source listing
ref | External reference (when imported from a tag file) |
file | The file part of the URL pointing to the docs. |
anchor | The anchor part of the URL pointing to the docs. |
lineNumber | The line number to write |
writeLineAnchor | Indicates if an anchor for the line number needs to be written |
在 OutputList, DocbookGenerator, LatexGenerator, HtmlGenerator, XMLCodeGenerator, DocbookCodeGenerator, DevNullCodeDocInterface, LatexCodeGenerator, HtmlCodeGenerator, RTFGenerator , 以及 ManGenerator 内被实现.
被这些函数引用 FileCodeParser::parseCode() , 以及 OutputList::writeLineNumber().
|
pure virtual |
Writes a tool tip definition
id | unique identifier for the tooltip |
docInfo | Info about the symbol's documentation. |
decl | full declaration of the symbol (for functions) |
desc | brief description for the symbol |
defInfo | Info about the symbol's definition in the source code |
declInfo | Info about the symbol's declaration in the source code |
在 OutputList, DocbookGenerator, LatexGenerator, HtmlGenerator, HtmlCodeGenerator, DevNullCodeDocInterface, LatexCodeGenerator, XMLCodeGenerator, RTFGenerator, ManGenerator , 以及 DocbookCodeGenerator 内被实现.
被这些函数引用 OutputList::writeTooltip() , 以及 TooltipManager::writeTooltips().