|
Doxygen
|
#include <latexgen.h>
类 LatexCodeGenerator 继承关系图:
LatexCodeGenerator 的协作图:Public 成员函数 | |
| LatexCodeGenerator (TextStream &t, const QCString &relPath, const QCString &sourceFile) | |
| LatexCodeGenerator (TextStream &t) | |
| void | setRelativePath (const QCString &path) |
| void | setSourceFileName (const QCString &sourceFileName) |
| void | codify (const QCString &text) override |
| 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 | writeLineNumber (const QCString &, const QCString &, const QCString &, int, bool) override |
| void | startCodeLine (bool) override |
| void | endCodeLine () override |
| void | startFontClass (const QCString &) override |
| void | endFontClass () override |
| void | writeCodeAnchor (const QCString &) override |
| void | setCurrentDoc (const Definition *, const QCString &, bool) override |
| void | addWord (const QCString &, bool) override |
| void | startCodeFragment (const QCString &style) override |
| void | endCodeFragment (const QCString &style) override |
| void | incUsedTableLevel () |
| void | decUsedTableLevel () |
| int | usedTableLevel () const |
Public 成员函数 继承自 CodeOutputInterface | |
| virtual | ~CodeOutputInterface () |
| CodeOutputInterface () | |
| CodeOutputInterface (const CodeOutputInterface &)=delete | |
| CodeOutputInterface & | operator= (const CodeOutputInterface &)=delete |
| virtual int | id () const |
| Identifier for the output file 更多... | |
Private 成员函数 | |
| void | _writeCodeLink (const QCString &className, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip) |
| void | docify (const QCString &str) |
Private 属性 | |
| bool | m_streamSet = false |
| TextStream & | m_t |
| QCString | m_relPath |
| QCString | m_sourceFileName |
| int | m_col = 0 |
| bool | m_doxyCodeLineOpen = false |
| int | m_usedTableLevel = 0 |
在文件 latexgen.h 第 28 行定义.
| LatexCodeGenerator::LatexCodeGenerator | ( | TextStream & | t, |
| const QCString & | relPath, | ||
| const QCString & | sourceFile | ||
| ) |
在文件 latexgen.cpp 第 52 行定义.
| LatexCodeGenerator::LatexCodeGenerator | ( | TextStream & | t | ) |
在文件 latexgen.cpp 第 57 行定义.
|
private |
|
inlineoverridevirtual |
|
overridevirtual |
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.
实现了 CodeOutputInterface.
在文件 latexgen.cpp 第 71 行定义.
引用了 Config_getInt, COPYCHAR, QCString::data(), filterLatexString(), QCString::isEmpty(), m_col, m_t, m_usedTableLevel , 以及 THREAD_LOCAL.
被这些函数引用 LatexGenerator::codify(), endCodeLine(), writeCodeLink() , 以及 writeLineNumber().
|
inline |
在文件 latexgen.h 第 60 行定义.
引用了 m_usedTableLevel.
被这些函数引用 LatexGenerator::endDescTable(), LatexGenerator::endMemberDocSimple() , 以及 LatexDocVisitor::visitPost().
|
private |
|
overridevirtual |
Ends a block of code
实现了 CodeOutputInterface.
在文件 latexgen.cpp 第 252 行定义.
引用了 endCodeLine() , 以及 m_t.
被这些函数引用 LatexGenerator::endCodeFragment() , 以及 LatexDocVisitor::visit().
|
overridevirtual |
Ends a line of code started with startCodeLine()
实现了 CodeOutputInterface.
在文件 latexgen.cpp 第 227 行定义.
引用了 codify(), FALSE, m_doxyCodeLineOpen , 以及 m_t.
被这些函数引用 endCodeFragment() , 以及 LatexGenerator::endCodeLine().
|
overridevirtual |
Ends a block started with startFontClass()
实现了 CodeOutputInterface.
在文件 latexgen.cpp 第 242 行定义.
引用了 m_t.
被这些函数引用 LatexGenerator::endFontClass().
|
inline |
在文件 latexgen.h 第 59 行定义.
引用了 m_usedTableLevel.
被这些函数引用 LatexGenerator::startDescTable(), LatexGenerator::startMemberDocSimple() , 以及 LatexDocVisitor::visitPre().
|
inlineoverridevirtual |
| void LatexCodeGenerator::setRelativePath | ( | const QCString & | path | ) |
| void LatexCodeGenerator::setSourceFileName | ( | const QCString & | sourceFileName | ) |
在文件 latexgen.cpp 第 66 行定义.
引用了 m_sourceFileName.
被这些函数引用 LatexGenerator::endFile() , 以及 LatexGenerator::startFile().
|
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.
在文件 latexgen.cpp 第 247 行定义.
引用了 m_t , 以及 m_usedTableLevel.
被这些函数引用 LatexGenerator::startCodeFragment() , 以及 LatexDocVisitor::visit().
|
overridevirtual |
实现了 CodeOutputInterface.
在文件 latexgen.cpp 第 217 行定义.
引用了 m_col, m_doxyCodeLineOpen, m_t , 以及 TRUE.
被这些函数引用 LatexGenerator::startCodeLine().
|
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.
在文件 latexgen.cpp 第 237 行定义.
引用了 m_t.
被这些函数引用 LatexGenerator::startFontClass().
|
inline |
在文件 latexgen.h 第 61 行定义.
引用了 m_usedTableLevel.
被这些函数引用 LatexGenerator::docify() , 以及 LatexDocVisitor::filter().
|
inlineoverridevirtual |
Write an anchor to a source listing.
| name | The name of the anchor. |
实现了 CodeOutputInterface.
在文件 latexgen.h 第 52 行定义.
被这些函数引用 LatexGenerator::writeCodeAnchor().
|
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.
在文件 latexgen.cpp 第 149 行定义.
引用了 codify(), Config_getBool, QCString::isEmpty(), QCString::length(), m_col, m_t , 以及 stripPath().
被这些函数引用 LatexGenerator::writeCodeLink() , 以及 writeLineNumber().
|
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.
在文件 latexgen.cpp 第 174 行定义.
引用了 codify(), Config_getBool, Default, QCString::isEmpty(), m_col, m_doxyCodeLineOpen, m_sourceFileName, m_t, QCString::prepend(), QCString::sprintf(), stripExtensionGeneral(), stripPath(), TRUE , 以及 writeCodeLink().
被这些函数引用 LatexGenerator::writeLineNumber().
|
inlineoverridevirtual |
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.
在文件 latexgen.h 第 40 行定义.
被这些函数引用 LatexGenerator::writeTooltip().
|
private |
在文件 latexgen.h 第 73 行定义.
被这些函数引用 codify(), startCodeLine(), writeCodeLink() , 以及 writeLineNumber().
|
private |
在文件 latexgen.h 第 74 行定义.
被这些函数引用 endCodeLine(), startCodeLine() , 以及 writeLineNumber().
|
private |
在文件 latexgen.h 第 71 行定义.
被这些函数引用 setRelativePath().
|
private |
在文件 latexgen.h 第 72 行定义.
被这些函数引用 setSourceFileName() , 以及 writeLineNumber().
|
private |
在文件 latexgen.h 第 69 行定义.
|
private |
在文件 latexgen.h 第 70 行定义.
被这些函数引用 codify(), endCodeFragment(), endCodeLine(), endFontClass(), startCodeFragment(), startCodeLine(), startFontClass(), writeCodeLink() , 以及 writeLineNumber().
|
private |
在文件 latexgen.h 第 75 行定义.
被这些函数引用 codify(), decUsedTableLevel(), incUsedTableLevel(), startCodeFragment() , 以及 usedTableLevel().