Doxygen
|
Implementation that allows capturing calls made to the code interface to later invoke them on a OutputCodeList via replay(). More...
#include <src/outputlist.h>
Classes | |
struct | CallInfo |
Public Member Functions | |
OutputType | type () const override |
void | codify (const QCString &s) override |
void | stripCodeComments (bool) override |
void | startSpecialComment () override |
void | endSpecialComment () override |
void | setStripIndentAmount (size_t) 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 | writeLineNumber (const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor) override |
void | writeTooltip (const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo) override |
void | startCodeLine (int) override |
void | endCodeLine () override |
void | startFontClass (const QCString &c) override |
void | endFontClass () override |
void | writeCodeAnchor (const QCString &name) override |
void | startCodeFragment (const QCString &style) override |
void | endCodeFragment (const QCString &style) override |
void | startFold (int lineNr, const QCString &startMarker, const QCString &endMarker) override |
void | endFold () override |
void | replay (OutputCodeList &ol, int startLine, int endLine, bool showLineNumbers, bool stripComment, size_t stripIndentAmount) |
Public Member Functions inherited from OutputCodeIntf | |
OutputCodeIntf ()=default | |
Private Member Functions | |
void | startNewLine (int lineNr) |
Private Attributes | |
std::vector< CallInfo > | m_calls |
std::vector< size_t > | m_lineOffset |
bool | m_showLineNumbers = false |
bool | m_insideSpecialComment = false |
Implementation that allows capturing calls made to the code interface to later invoke them on a OutputCodeList via replay().
Definition at line 111 of file outputlist.h.
|
inlineoverridevirtual |
Implements OutputCodeIntf.
Definition at line 120 of file outputlist.h.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 230 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
overridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 295 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 343 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 311 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 247 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
void OutputCodeRecorder::replay | ( | OutputCodeList & | ol, |
int | startLine, | ||
int | endLine, | ||
bool | showLineNumbers, | ||
bool | stripComment, | ||
size_t | stripIndentAmount ) |
Definition at line 351 of file outputlist.cpp.
References OutputCodeList::endCodeLine(), OutputCodeList::endSpecialComment(), m_calls, m_lineOffset, m_showLineNumbers, OutputCodeList::setStripIndentAmount(), OutputCodeList::startSpecialComment(), OutputCodeList::stripCodeComments(), and stripCodeComments().
|
inlineoverridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 286 of file outputlist.cpp.
References m_calls, m_insideSpecialComment, and startNewLine().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 335 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 303 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
private |
Definition at line 216 of file outputlist.cpp.
References m_calls, and m_lineOffset.
Referenced by startCodeLine(), and writeLineNumber().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 238 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
inlineoverridevirtual |
Implements OutputCodeIntf.
Definition at line 116 of file outputlist.h.
Referenced by replay().
|
inlineoverridevirtual |
Implements OutputCodeIntf.
Definition at line 114 of file outputlist.h.
References Recorder.
Referenced by writeCodeLink().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 319 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 256 of file outputlist.cpp.
References m_calls, m_insideSpecialComment, and type().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 267 of file outputlist.cpp.
References m_calls, m_insideSpecialComment, m_showLineNumbers, and startNewLine().
|
overridevirtual |
Implements OutputCodeIntf.
Definition at line 277 of file outputlist.cpp.
References m_calls, and m_insideSpecialComment.
|
private |
Definition at line 152 of file outputlist.h.
Referenced by codify(), endCodeLine(), endFold(), endFontClass(), endSpecialComment(), replay(), startCodeLine(), startFold(), startFontClass(), startNewLine(), startSpecialComment(), writeCodeAnchor(), writeCodeLink(), writeLineNumber(), and writeTooltip().
|
private |
Definition at line 155 of file outputlist.h.
Referenced by codify(), endCodeLine(), endFold(), endFontClass(), endSpecialComment(), startCodeLine(), startFold(), startFontClass(), startSpecialComment(), writeCodeAnchor(), writeCodeLink(), writeLineNumber(), and writeTooltip().
|
private |
Definition at line 153 of file outputlist.h.
Referenced by replay(), and startNewLine().
|
private |
Definition at line 154 of file outputlist.h.
Referenced by replay(), and writeLineNumber().