Doxygen
|
#include <src/xmlgen.h>
Public Member Functions | |
XMLCodeGenerator (TextStream *t) | |
OutputType | type () const override |
void | codify (const QCString &text) override |
Generator for producing XML formatted source code. | |
void | stripCodeComments (bool b) override |
void | startSpecialComment () override |
void | endSpecialComment () override |
void | setStripIndentAmount (size_t amount) override |
std::unique_ptr< OutputCodeIntf > | clone () 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 &) override |
void | endCodeFragment (const QCString &) override |
void | startFold (int, const QCString &, const QCString &) override |
void | endFold () override |
void | finish () |
Public Member Functions inherited from OutputCodeIntf | |
OutputCodeIntf ()=default | |
Private Attributes | |
TextStream * | m_t |
QCString | m_refId |
QCString | m_external |
int | m_lineNumber = -1 |
bool | m_isMemberRef = false |
size_t | m_col = 0 |
bool | m_insideCodeLine = false |
bool | m_normalHLNeedStartTag = true |
bool | m_insideSpecialHL = false |
bool | m_stripCodeComments = false |
bool | m_hide = false |
size_t | m_stripIndentAmount = 0 |
XMLCodeGenerator::XMLCodeGenerator | ( | TextStream * | t | ) |
Definition at line 195 of file xmlgen.cpp.
References m_t.
|
inlineoverridevirtual |
Implements OutputCodeIntf.
Definition at line 32 of file xmlgen.h.
|
overridevirtual |
Generator for producing XML formatted source code.
Implements OutputCodeIntf.
Definition at line 200 of file xmlgen.cpp.
References FALSE, m_col, m_hide, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_stripIndentAmount, m_t, qPrint(), writeXMLCodeString(), and XML_DB.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 361 of file xmlgen.cpp.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 286 of file xmlgen.cpp.
References FALSE, m_external, m_hide, m_insideCodeLine, m_insideSpecialHL, m_lineNumber, m_normalHLNeedStartTag, m_refId, m_t, TRUE, and XML_DB.
Referenced by finish().
|
inlineoverridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 318 of file xmlgen.cpp.
References FALSE, m_hide, m_insideSpecialHL, m_t, and XML_DB.
|
overridevirtual |
void XMLCodeGenerator::finish | ( | ) |
Definition at line 349 of file xmlgen.cpp.
References endCodeLine(), m_insideCodeLine, and XML_DB.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 226 of file xmlgen.cpp.
References m_stripIndentAmount.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 355 of file xmlgen.cpp.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 255 of file xmlgen.cpp.
References m_col, m_external, m_hide, m_insideCodeLine, m_isMemberRef, m_lineNumber, m_refId, m_t, TRUE, and XML_DB.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 305 of file xmlgen.cpp.
References m_hide, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, TRUE, and XML_DB.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 221 of file xmlgen.cpp.
References m_hide, and m_stripCodeComments.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 211 of file xmlgen.cpp.
References m_stripCodeComments.
|
inlineoverridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 326 of file xmlgen.cpp.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 231 of file xmlgen.cpp.
References FALSE, QCString::length(), m_col, m_hide, m_insideCodeLine, m_insideSpecialHL, m_normalHLNeedStartTag, m_t, writeXMLLink(), and XML_DB.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 332 of file xmlgen.cpp.
References QCString::isEmpty(), m_external, m_hide, m_isMemberRef, m_lineNumber, m_refId, and XML_DB.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 247 of file xmlgen.cpp.
|
private |
Definition at line 60 of file xmlgen.h.
Referenced by codify(), startCodeLine(), and writeCodeLink().
|
private |
Definition at line 57 of file xmlgen.h.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 66 of file xmlgen.h.
Referenced by codify(), endCodeLine(), endFontClass(), endSpecialComment(), startCodeLine(), startFontClass(), startSpecialComment(), writeCodeAnchor(), writeCodeLink(), writeLineNumber(), and writeTooltip().
|
private |
Definition at line 62 of file xmlgen.h.
Referenced by codify(), endCodeLine(), finish(), startCodeLine(), startFontClass(), and writeCodeLink().
|
private |
Definition at line 64 of file xmlgen.h.
Referenced by codify(), endCodeLine(), endFontClass(), startFontClass(), and writeCodeLink().
|
private |
Definition at line 59 of file xmlgen.h.
Referenced by startCodeLine(), and writeLineNumber().
|
private |
Definition at line 58 of file xmlgen.h.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 63 of file xmlgen.h.
Referenced by codify(), endCodeLine(), startFontClass(), and writeCodeLink().
|
private |
Definition at line 56 of file xmlgen.h.
Referenced by endCodeLine(), startCodeLine(), and writeLineNumber().
|
private |
Definition at line 65 of file xmlgen.h.
Referenced by startSpecialComment(), and stripCodeComments().
|
private |
Definition at line 67 of file xmlgen.h.
Referenced by codify(), and setStripIndentAmount().
|
private |
Definition at line 55 of file xmlgen.h.
Referenced by codify(), endCodeFragment(), endCodeLine(), endFontClass(), startCodeFragment(), startCodeLine(), startFontClass(), writeCodeLink(), and XMLCodeGenerator().