|
Doxygen
|
#include <src/docbookgen.h>
Public Member Functions | |
| DocbookCodeGenerator (TextStream *t) | |
| void | setTextStream (TextStream *t) |
| OutputType | type () const override |
| std::unique_ptr< OutputCodeIntf > | clone () override |
| void | codify (const QCString &text) override |
| void | stripCodeComments (bool b) override |
| void | startSpecialComment () override |
| void | endSpecialComment () override |
| void | setStripIndentAmount (size_t amount) 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 | startCodeLine (int) 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 | startCodeFragment (const QCString &style) override |
| void | endCodeFragment (const QCString &style) override |
| void | startFold (int, const QCString &, const QCString &) override |
| void | endFold () override |
| void | setRelativePath (const QCString &path) |
| void | setSourceFileName (const QCString &sourceFileName) |
| QCString | sourceFileName () |
| void | finish () |
| Public Member Functions inherited from OutputCodeIntf | |
| OutputCodeIntf ()=default | |
Private Member Functions | |
| void | writeCodeLinkLine (CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip, bool) |
Private Attributes | |
| TextStream * | m_t |
| QCString | m_refId |
| QCString | m_external |
| int | m_lineNumber = -1 |
| size_t | m_col = 0 |
| bool | m_insideCodeLine = false |
| bool | m_insideSpecialHL = false |
| QCString | m_relPath |
| QCString | m_sourceFileName |
| bool | m_stripCodeComments = false |
| bool | m_hide = false |
| size_t | m_stripIndentAmount = 0 |
Definition at line 47 of file docbookgen.h.
| DocbookCodeGenerator::DocbookCodeGenerator | ( | TextStream * | t | ) |
Definition at line 161 of file docbookgen.cpp.
References m_t.
|
inlineoverridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 165 of file docbookgen.cpp.
References Docbook_DB, m_col, m_hide, m_stripIndentAmount, m_t, and writeDocbookCodeString().
Referenced by writeLineNumber().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 307 of file docbookgen.cpp.
References DB_GEN_C1, endCodeLine(), m_hide, and m_t.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 232 of file docbookgen.cpp.
References Docbook_DB, FALSE, m_external, m_hide, m_insideCodeLine, m_lineNumber, m_refId, and m_t.
Referenced by endCodeFragment(), and finish().
|
inlineoverridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 251 of file docbookgen.cpp.
References Docbook_DB, FALSE, m_hide, m_insideSpecialHL, and m_t.
|
overridevirtual |
| void DocbookCodeGenerator::finish | ( | ) |
Definition at line 296 of file docbookgen.cpp.
References endCodeLine().
|
inline |
|
inline |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 186 of file docbookgen.cpp.
References m_stripIndentAmount.
|
inline |
|
inline |
Definition at line 81 of file docbookgen.h.
References m_sourceFileName.
Referenced by setSourceFileName().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 301 of file docbookgen.cpp.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 224 of file docbookgen.cpp.
References Docbook_DB, m_col, m_hide, m_insideCodeLine, and TRUE.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 243 of file docbookgen.cpp.
References Docbook_DB, m_hide, m_insideSpecialHL, m_t, and TRUE.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 176 of file docbookgen.cpp.
References m_hide, and m_stripCodeComments.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 171 of file docbookgen.cpp.
References m_stripCodeComments.
|
inlineoverridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 191 of file docbookgen.cpp.
References Docbook_DB, QCString::length(), m_col, m_hide, m_t, and writeDocbookLink().
Referenced by writeLineNumber().
|
private |
Definition at line 202 of file docbookgen.cpp.
References Docbook_DB, QCString::length(), m_col, m_hide, m_t, stripExtensionGeneral(), stripPath(), and writeDocbookString().
Referenced by writeLineNumber().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 264 of file docbookgen.cpp.
References codify(), Config_getBool, Default, Docbook_DB, QCString::isEmpty(), m_col, m_hide, m_insideCodeLine, m_sourceFileName, m_t, QCString::sprintf(), TRUE, writeCodeLink(), and writeCodeLinkLine().
|
overridevirtual |
|
private |
Definition at line 93 of file docbookgen.h.
Referenced by codify(), startCodeLine(), writeCodeLink(), writeCodeLinkLine(), and writeLineNumber().
|
private |
Definition at line 91 of file docbookgen.h.
Referenced by endCodeLine().
|
private |
Definition at line 99 of file docbookgen.h.
Referenced by codify(), endCodeFragment(), endCodeLine(), endFontClass(), endSpecialComment(), startCodeLine(), startFontClass(), startSpecialComment(), writeCodeLink(), writeCodeLinkLine(), and writeLineNumber().
|
private |
Definition at line 94 of file docbookgen.h.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 95 of file docbookgen.h.
Referenced by endFontClass(), and startFontClass().
|
private |
Definition at line 92 of file docbookgen.h.
Referenced by endCodeLine().
|
private |
Definition at line 90 of file docbookgen.h.
Referenced by endCodeLine().
|
private |
Definition at line 96 of file docbookgen.h.
Referenced by setRelativePath().
|
private |
Definition at line 97 of file docbookgen.h.
Referenced by setSourceFileName(), sourceFileName(), and writeLineNumber().
|
private |
Definition at line 98 of file docbookgen.h.
Referenced by startSpecialComment(), and stripCodeComments().
|
private |
Definition at line 100 of file docbookgen.h.
Referenced by codify(), and setStripIndentAmount().
|
private |
Definition at line 89 of file docbookgen.h.
Referenced by clone(), codify(), DocbookCodeGenerator(), endCodeFragment(), endCodeLine(), endFontClass(), setTextStream(), startCodeFragment(), startFontClass(), writeCodeLink(), writeCodeLinkLine(), and writeLineNumber().