Doxygen
|
#include <xmlgen.h>
Public 成员函数 | |
XMLCodeGenerator (TextStream &t) | |
virtual | ~XMLCodeGenerator () |
void | codify (const QCString &text) override |
Generator for producing XML formatted source code. 更多... | |
void | writeCodeLink (CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip) override |
void | writeTooltip (const QCString &, const DocLinkInfo &, const QCString &, const QCString &, const SourceLinkInfo &, const SourceLinkInfo &) override |
void | startCodeLine (bool) override |
void | endCodeLine () override |
void | startFontClass (const QCString &colorClass) override |
void | endFontClass () override |
void | writeCodeAnchor (const QCString &) override |
void | writeLineNumber (const QCString &extRef, const QCString &compId, const QCString &anchorId, int l, bool writeLineAnchor) override |
void | setCurrentDoc (const Definition *, const QCString &, bool) override |
void | addWord (const QCString &, bool) override |
void | startCodeFragment (const QCString &) override |
void | endCodeFragment (const QCString &) override |
void | finish () |
Public 成员函数 继承自 CodeOutputInterface | |
virtual | ~CodeOutputInterface () |
CodeOutputInterface () | |
CodeOutputInterface (const CodeOutputInterface &)=delete | |
CodeOutputInterface & | operator= (const CodeOutputInterface &)=delete |
virtual int | id () const |
Identifier for the output file 更多... | |
Private 属性 | |
TextStream & | m_t |
QCString | m_refId |
QCString | m_external |
int | m_lineNumber |
bool | m_isMemberRef |
int | m_col |
bool | m_insideCodeLine |
bool | m_normalHLNeedStartTag |
bool | m_insideSpecialHL |
XMLCodeGenerator::XMLCodeGenerator | ( | TextStream & | t | ) |
在文件 xmlgen.cpp 第 228 行定义.
|
inlineoverridevirtual |
|
overridevirtual |
Generator for producing XML formatted source code.
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 234 行定义.
引用了 FALSE, m_col, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, writeXMLCodeString() , 以及 XML_DB.
|
overridevirtual |
Ends a block of code
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 352 行定义.
引用了 m_t.
被这些函数引用 writeXMLCodeBlock().
|
overridevirtual |
Ends a line of code started with startCodeLine()
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 292 行定义.
引用了 FALSE, m_external, m_insideCodeLine, m_insideSpecialHL, m_lineNumber, m_normalHLNeedStartTag, m_refId, m_t, QCString::resize(), TRUE , 以及 XML_DB.
被这些函数引用 finish().
|
overridevirtual |
Ends a block started with startFontClass()
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 317 行定义.
引用了 FALSE, m_insideSpecialHL, m_t , 以及 XML_DB.
void XMLCodeGenerator::finish | ( | ) |
|
inlineoverridevirtual |
|
overridevirtual |
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. |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 347 行定义.
引用了 m_t.
被这些函数引用 writeXMLCodeBlock().
|
overridevirtual |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 264 行定义.
引用了 QCString::isEmpty(), m_col, m_external, m_insideCodeLine, m_isMemberRef, m_lineNumber, m_refId, m_t, TRUE , 以及 XML_DB.
|
overridevirtual |
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. |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 306 行定义.
引用了 m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, TRUE , 以及 XML_DB.
|
overridevirtual |
Write an anchor to a source listing.
name | The name of the anchor. |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 323 行定义.
引用了 XML_DB.
|
overridevirtual |
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. |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 244 行定义.
引用了 FALSE, QCString::length(), m_col, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, writeXMLLink() , 以及 XML_DB.
|
overridevirtual |
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 |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 327 行定义.
引用了 QCString::isEmpty(), m_external, m_isMemberRef, m_lineNumber, m_refId , 以及 XML_DB.
|
overridevirtual |
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 |
实现了 CodeOutputInterface.
在文件 xmlgen.cpp 第 258 行定义.
引用了 XML_DB.
|
private |
被这些函数引用 codify(), startCodeLine() , 以及 writeCodeLink().
|
private |
被这些函数引用 endCodeLine(), startCodeLine() , 以及 writeLineNumber().
|
private |
被这些函数引用 codify(), endCodeLine(), finish(), startCodeLine(), startFontClass() , 以及 writeCodeLink().
|
private |
被这些函数引用 codify(), endCodeLine(), endFontClass(), startFontClass() , 以及 writeCodeLink().
|
private |
被这些函数引用 startCodeLine() , 以及 writeLineNumber().
|
private |
被这些函数引用 endCodeLine(), startCodeLine() , 以及 writeLineNumber().
|
private |
被这些函数引用 codify(), endCodeLine(), startFontClass() , 以及 writeCodeLink().
|
private |
被这些函数引用 endCodeLine(), startCodeLine() , 以及 writeLineNumber().
|
private |