Doxygen
|
Generator for Man page code fragments. More...
#include <src/mangen.h>
Public Member Functions | |
ManCodeGenerator (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 | writeLineNumber (const QCString &, const QCString &, const QCString &, int l, bool) override |
void | startCodeLine (int) override |
void | endCodeLine () override |
void | startFontClass (const QCString &) override |
void | endFontClass () override |
void | writeCodeAnchor (const QCString &) override |
void | startCodeFragment (const QCString &style) override |
void | endCodeFragment (const QCString &) override |
void | startFold (int, const QCString &, const QCString &) override |
void | endFold () override |
Public Member Functions inherited from OutputCodeIntf | |
OutputCodeIntf ()=default |
Private Attributes | |
size_t | m_col = 0 |
TextStream * | m_t |
bool | m_stripCodeComments = false |
bool | m_hide = false |
size_t | m_stripIndentAmount = 0 |
ManCodeGenerator::ManCodeGenerator | ( | TextStream * | t | ) |
Definition at line 111 of file mangen.cpp.
References m_t.
|
inlineoverridevirtual |
Implements OutputCodeIntf.
Definition at line 31 of file mangen.h.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 162 of file mangen.cpp.
References Config_getInt, QCString::data(), QCString::isEmpty(), m_col, m_hide, m_stripIndentAmount, m_t, updateColumnCount(), and writeUTF8Char().
Referenced by endCodeLine().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 121 of file mangen.cpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 220 of file mangen.cpp.
References m_stripIndentAmount.
|
inline |
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 210 of file mangen.cpp.
References m_hide, and m_stripCodeComments.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 205 of file mangen.cpp.
References m_stripCodeComments.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 136 of file mangen.cpp.
References QCString::data(), QCString::isEmpty(), m_col, m_hide, and m_t.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 129 of file mangen.cpp.
|
inlineoverridevirtual |
|
private |
Definition at line 60 of file mangen.h.
Referenced by codify(), endCodeFragment(), endCodeLine(), writeCodeLink(), and writeLineNumber().
|
private |
Definition at line 63 of file mangen.h.
Referenced by codify(), endSpecialComment(), startSpecialComment(), writeCodeLink(), and writeLineNumber().
|
private |
Definition at line 62 of file mangen.h.
Referenced by startSpecialComment(), and stripCodeComments().
|
private |
Definition at line 64 of file mangen.h.
Referenced by codify(), and setStripIndentAmount().
|
private |
Definition at line 61 of file mangen.h.
Referenced by codify(), endCodeFragment(), ManCodeGenerator(), setTextStream(), startCodeFragment(), writeCodeLink(), and writeLineNumber().