Doxygen
|
Base class for code generators. More...
#include <src/outputgen.h>
Public Member Functions | |
OutputCodeIntf ()=default | |
virtual OutputType | type () const =0 |
virtual std::unique_ptr< OutputCodeIntf > | clone ()=0 |
virtual void | codify (const QCString &s)=0 |
virtual void | stripCodeComments (bool b)=0 |
virtual void | startSpecialComment ()=0 |
virtual void | endSpecialComment ()=0 |
virtual void | setStripIndentAmount (size_t)=0 |
virtual void | writeCodeLink (CodeSymbolType type, const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name, const QCString &tooltip)=0 |
virtual void | writeLineNumber (const QCString &ref, const QCString &file, const QCString &anchor, int lineNumber, bool writeLineAnchor)=0 |
virtual void | writeTooltip (const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)=0 |
virtual void | startCodeLine (int lineNr)=0 |
virtual void | endCodeLine ()=0 |
virtual void | startFontClass (const QCString &c)=0 |
virtual void | endFontClass ()=0 |
virtual void | writeCodeAnchor (const QCString &name)=0 |
virtual void | startCodeFragment (const QCString &style)=0 |
virtual void | endCodeFragment (const QCString &style)=0 |
virtual void | startFold (int lineNr, const QCString &startMarker, const QCString &endMarker)=0 |
virtual void | endFold ()=0 |
Base class for code generators.
Definition at line 64 of file outputgen.h.
|
default |
References OutputCodeIntf().
Referenced by clone(), and OutputCodeIntf().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References clone(), and OutputCodeIntf().
Referenced by clone().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References codify().
Referenced by codify(), and OutputCodeList::codify().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References endCodeFragment().
Referenced by endCodeFragment(), and OutputCodeList::endCodeFragment().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References endCodeLine().
Referenced by endCodeLine(), and OutputCodeList::endCodeLine().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References endFold().
Referenced by endFold(), and OutputCodeList::endFold().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References endFontClass().
Referenced by endFontClass(), and OutputCodeList::endFontClass().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References endSpecialComment().
Referenced by endSpecialComment(), and OutputCodeList::endSpecialComment().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References setStripIndentAmount().
Referenced by setStripIndentAmount(), and OutputCodeList::setStripIndentAmount().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References startCodeFragment().
Referenced by startCodeFragment(), and OutputCodeList::startCodeFragment().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References startCodeLine().
Referenced by startCodeLine(), and OutputCodeList::startCodeLine().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References startFold().
Referenced by startFold(), and OutputCodeList::startFold().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References startFontClass().
Referenced by startFontClass(), and OutputCodeList::startFontClass().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References startSpecialComment().
Referenced by startSpecialComment(), and OutputCodeList::startSpecialComment().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References stripCodeComments().
Referenced by stripCodeComments(), and OutputCodeList::stripCodeComments().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References type().
Referenced by type(), and writeCodeLink().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References writeCodeAnchor().
Referenced by writeCodeAnchor(), and OutputCodeList::writeCodeAnchor().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References type(), and writeCodeLink().
Referenced by writeCodeLink(), and OutputCodeList::writeCodeLink().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References writeLineNumber().
Referenced by writeLineNumber(), and OutputCodeList::writeLineNumber().
|
pure virtual |
Implemented in DevNullCodeGenerator, DocbookCodeGenerator, HtmlCodeGenerator, LatexCodeGenerator, ManCodeGenerator, OutputCodeDefer< OutputCodeGen >, OutputCodeDefer< DocbookCodeGenerator >, OutputCodeDefer< HtmlCodeGenerator >, OutputCodeDefer< LatexCodeGenerator >, OutputCodeDefer< ManCodeGenerator >, OutputCodeDefer< OutputCodeIntf >, OutputCodeDefer< RTFCodeGenerator >, OutputCodeRecorder, RTFCodeGenerator, and XMLCodeGenerator.
References writeTooltip().
Referenced by writeTooltip(), and OutputCodeList::writeTooltip().