The PrintDocVisitor
Class Reference
Declaration
Included Headers
Public Constructors Index
PrintDocVisitor () | |
Public Operators Index
void | operator() (const DocWord &w) |
void | operator() (const DocLinkedWord &w) |
void | operator() (const DocWhiteSpace &w) |
void | operator() (const DocSymbol &s) |
void | operator() (const DocEmoji &s) |
void | operator() (const DocURL &u) |
void | operator() (const DocLineBreak &) |
void | operator() (const DocHorRuler &) |
void | operator() (const DocStyleChange &s) |
void | operator() (const DocVerbatim &s) |
void | operator() (const DocAnchor &a) |
void | operator() (const DocInclude &inc) |
void | operator() (const DocIncOperator &op) |
void | operator() (const DocFormula &f) |
void | operator() (const DocIndexEntry &i) |
void | operator() (const DocSimpleSectSep &) |
void | operator() (const DocCite &cite) |
void | operator() (const DocSeparator &) |
void | operator() (const DocAutoList &l) |
void | operator() (const DocAutoListItem &li) |
void | operator() (const DocPara &p) |
void | operator() (const DocRoot &r) |
void | operator() (const DocSimpleSect &s) |
void | operator() (const DocTitle &t) |
void | operator() (const DocSimpleList &l) |
void | operator() (const DocSimpleListItem &li) |
void | operator() (const DocSection &s) |
void | operator() (const DocHtmlList &s) |
void | operator() (const DocHtmlListItem &li) |
void | operator() (const DocHtmlDescList &l) |
void | operator() (const DocHtmlDescTitle &dt) |
void | operator() (const DocHtmlDescData &dd) |
void | operator() (const DocHtmlTable &t) |
void | operator() (const DocHtmlRow &tr) |
void | operator() (const DocHtmlCell &c) |
void | operator() (const DocHtmlCaption &c) |
void | operator() (const DocInternal &i) |
void | operator() (const DocHRef &href) |
void | operator() (const DocHtmlSummary &summary) |
void | operator() (const DocHtmlDetails &details) |
void | operator() (const DocHtmlHeader &header) |
void | operator() (const DocImage &img) |
void | operator() (const DocDotFile &df) |
void | operator() (const DocMscFile &df) |
void | operator() (const DocDiaFile &df) |
void | operator() (const DocPlantUmlFile &df) |
void | operator() (const DocLink &lnk) |
void | operator() (const DocRef &ref) |
void | operator() (const DocSecRefItem &ref) |
void | operator() (const DocSecRefList &rl) |
void | operator() (const DocParamList &pl) |
void | operator() (const DocParamSect &ps) |
void | operator() (const DocXRefItem &x) |
void | operator() (const DocInternalRef &r) |
void | operator() (const DocText &t) |
void | operator() (const DocHtmlBlockQuote &q) |
void | operator() (const DocVhdlFlow &vf) |
void | operator() (const DocParBlock &pb) |
Public Member Functions Index
template <class T> | |
void | visitChildren (const T &t) |
Private Member Functions Index
void | indent () |
void | indent_leaf () |
void | indent_pre () |
void | indent_post () |
Private Member Attributes Index
int | m_indent |
bool | m_needsEnter |
bool | m_insidePre |
Description
Visitor implementation for pretty printing
Definition at line 28 of file printdocvisitor.h.
Public Constructors
PrintDocVisitor()
| inline |
Definition at line 31 of file printdocvisitor.h.
References FALSE, m_indent, m_insidePre and m_needsEnter.
Public Operators
operator()()
| inline |
Definition at line 35 of file printdocvisitor.h.
References indent_leaf, qPrint and DocWord::word.
operator()()
| inline |
Definition at line 40 of file printdocvisitor.h.
References indent_leaf, qPrint and DocLinkedWord::word.
operator()()
| inline |
Definition at line 45 of file printdocvisitor.h.
References DocWhiteSpace::chars, indent_leaf, m_insidePre and qPrint.
operator()()
| inline |
Definition at line 57 of file printdocvisitor.h.
References indent_leaf, HtmlEntityMapper::instance, DocSymbol::symbol, TRUE and HtmlEntityMapper::utf8.
operator()()
| inline |
Definition at line 70 of file printdocvisitor.h.
References indent_leaf, DocEmoji::index, EmojiEntityMapper::instance, DocEmoji::name, EmojiEntityMapper::name and qPrint.
operator()()
| inline |
Definition at line 83 of file printdocvisitor.h.
References indent_leaf, qPrint and DocURL::url.
operator()()
| inline |
Definition at line 88 of file printdocvisitor.h.
Reference indent_leaf.
operator()()
| inline |
Definition at line 93 of file printdocvisitor.h.
Reference indent_leaf.
operator()()
| inline |
Definition at line 98 of file printdocvisitor.h.
References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Cite, DocStyleChange::Code, DocStyleChange::Del, DocStyleChange::Div, DocStyleChange::enable, indent_leaf, DocStyleChange::Ins, DocStyleChange::Italic, DocStyleChange::Kbd, DocStyleChange::Preformatted, DocStyleChange::S, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::Strike, DocStyleChange::style, DocStyleChange::Subscript, DocStyleChange::Superscript, DocStyleChange::Typewriter and DocStyleChange::Underline.
operator()()
| inline |
Definition at line 159 of file printdocvisitor.h.
References DocVerbatim::Code, DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::HtmlOnly, indent_leaf, DocVerbatim::JavaDocCode, DocVerbatim::JavaDocLiteral, DocVerbatim::LatexOnly, DocVerbatim::ManOnly, DocVerbatim::Msc, DocVerbatim::PlantUML, qPrint, DocVerbatim::RtfOnly, DocVerbatim::text, DocVerbatim::type, DocVerbatim::Verbatim and DocVerbatim::XmlOnly.
operator()()
| inline |
Definition at line 196 of file printdocvisitor.h.
References DocAnchor::anchor, indent_leaf and qPrint.
operator()()
| inline |
Definition at line 201 of file printdocvisitor.h.
References DocInclude::DocbookInclude, DocInclude::DontInclude, DocInclude::DontIncWithLines, DocInclude::file, DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, indent_leaf, DocInclude::isBlock, DocInclude::LatexInclude, DocInclude::ManInclude, qPrint, DocInclude::RtfInclude, DocInclude::Snippet, DocInclude::SnippetWithLines, DocInclude::type, DocInclude::VerbInclude and DocInclude::XmlInclude.
operator()()
| inline |
Definition at line 226 of file printdocvisitor.h.
References indent_leaf, DocIncOperator::Line, DocIncOperator::pattern, qPrint, DocIncOperator::Skip, DocIncOperator::SkipLine, DocIncOperator::type and DocIncOperator::Until.
operator()()
| inline |
Definition at line 239 of file printdocvisitor.h.
References indent_leaf, DocFormula::name, qPrint and DocFormula::text.
operator()()
| inline |
Definition at line 244 of file printdocvisitor.h.
References DocIndexEntry::entry, indent_leaf and qPrint.
operator()()
| inline |
Definition at line 249 of file printdocvisitor.h.
Reference indent_leaf.
operator()()
| inline |
Definition at line 254 of file printdocvisitor.h.
References DocCite::anchor, DocCite::file, DocCite::getText, indent_leaf, QCString::isEmpty, DocCite::option, qPrint, DocCite::ref and DocCite::target.
operator()()
| inline |
Definition at line 275 of file printdocvisitor.h.
Reference indent_leaf.
operator()()
| inline |
Definition at line 291 of file printdocvisitor.h.
References indent_post, indent_pre, DocAutoList::isEnumList and visitChildren.
operator()()
| inline |
Definition at line 313 of file printdocvisitor.h.
References DocAutoList::Checked_X, DocAutoList::Checked_x, indent_post, indent_pre, DocAutoListItem::itemNumber, DocAutoList::Unchecked and visitChildren.
operator()()
| inline |
Definition at line 333 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 341 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 349 of file printdocvisitor.h.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, DocSimpleSect::Important, indent_post, indent_pre, DocSimpleSect::Invar, DocSimpleSect::Note, DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, DocSimpleSect::title, DocSimpleSect::type, DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, visitChildren and DocSimpleSect::Warning.
operator()()
| inline |
Definition at line 384 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 392 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 400 of file printdocvisitor.h.
References indent_post, indent_pre and DocSimpleListItem::paragraph.
operator()()
| inline |
Definition at line 411 of file printdocvisitor.h.
References indent_post, indent_pre, DocSection::level, DocSection::title and visitChildren.
operator()()
| inline |
Definition at line 423 of file printdocvisitor.h.
References DocHtmlList::attribs, indent_post, indent_pre, DocHtmlList::Ordered, qPrint, DocHtmlList::type and visitChildren.
operator()()
| inline |
Definition at line 450 of file printdocvisitor.h.
References DocHtmlListItem::attribs, indent_post, indent_pre, qPrint and visitChildren.
operator()()
| inline |
Definition at line 463 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 471 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 479 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 487 of file printdocvisitor.h.
References DocHtmlTable::caption, indent_post, indent_pre, DocHtmlTable::numColumns, DocHtmlTable::numRows and visitChildren.
operator()()
| inline |
Definition at line 500 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 508 of file printdocvisitor.h.
References indent_post, indent_pre, DocHtmlCell::isHeading and visitChildren.
operator()()
| inline |
Definition at line 516 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 524 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 532 of file printdocvisitor.h.
References indent_post, indent_pre, qPrint, DocHRef::url and visitChildren.
operator()()
| inline |
Definition at line 540 of file printdocvisitor.h.
References DocHtmlSummary::attribs, indent_post, indent_pre, qPrint and visitChildren.
operator()()
| inline |
Definition at line 553 of file printdocvisitor.h.
References indent_post, indent_pre, qPrint and visitChildren.
operator()()
| inline |
Definition at line 571 of file printdocvisitor.h.
References indent_post, indent_pre, DocHtmlHeader::level and visitChildren.
operator()()
| inline |
Definition at line 579 of file printdocvisitor.h.
References DocImage::DocBook, DocImage::height, DocImage::Html, indent_post, indent_pre, DocImage::isInlineImage, DocImage::Latex, DocImage::name, qPrint, DocImage::Rtf, DocImage::type, visitChildren, DocImage::width and DocImage::Xml.
operator()()
| inline |
Definition at line 596 of file printdocvisitor.h.
References indent_post, indent_pre, DocDiagramFileBase::name, qPrint and visitChildren.
operator()()
| inline |
Definition at line 604 of file printdocvisitor.h.
References indent_post, indent_pre, DocDiagramFileBase::name, qPrint and visitChildren.
operator()()
| inline |
Definition at line 612 of file printdocvisitor.h.
References indent_post, indent_pre, DocDiagramFileBase::name, qPrint and visitChildren.
operator()()
| inline |
Definition at line 620 of file printdocvisitor.h.
References indent_post, indent_pre, DocDiagramFileBase::name, qPrint and visitChildren.
operator()()
| inline |
Definition at line 628 of file printdocvisitor.h.
References DocLink::anchor, DocLink::file, indent_post, indent_pre, qPrint, DocLink::ref and visitChildren.
operator()()
| inline |
Definition at line 637 of file printdocvisitor.h.
References DocRef::anchor, DocRef::file, DocRef::hasLinkText, indent_post, indent_pre, qPrint, DocRef::ref, DocRef::refToAnchor, DocRef::refToSection, DocRef::refToTable, DocRef::targetTitle and visitChildren.
operator()()
| inline |
Definition at line 651 of file printdocvisitor.h.
References indent_post, indent_pre, qPrint, DocSecRefItem::target and visitChildren.
operator()()
| inline |
Definition at line 659 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 667 of file printdocvisitor.h.
References GrowVector< T >::empty, indent_post, indent_pre and DocParamList::parameters.
operator()()
| inline |
Definition at line 684 of file printdocvisitor.h.
References DocParamSect::Exception, indent_post, indent_pre, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, DocParamSect::type, DocParamSect::Unknown and visitChildren.
operator()()
| inline |
Definition at line 701 of file printdocvisitor.h.
References DocXRefItem::anchor, DocXRefItem::file, indent_post, indent_pre, qPrint, DocXRefItem::title and visitChildren.
operator()()
| inline |
Definition at line 710 of file printdocvisitor.h.
References DocInternalRef::anchor, DocInternalRef::file, indent_post, indent_pre, qPrint and visitChildren.
operator()()
| inline |
Definition at line 718 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 726 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 734 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
operator()()
| inline |
Definition at line 742 of file printdocvisitor.h.
References indent_post, indent_pre and visitChildren.
Public Member Functions
visitChildren()
| inline |
Definition at line 283 of file printdocvisitor.h.
Referenced by operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator() and operator().
Private Member Functions
indent()
| inline |
Definition at line 753 of file printdocvisitor.h.
References FALSE, m_indent and m_needsEnter.
Referenced by indent_leaf, indent_post and indent_pre.
indent_leaf()
| inline |
Definition at line 759 of file printdocvisitor.h.
References indent, m_needsEnter and TRUE.
Referenced by operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator() and operator().
indent_post()
| inline |
Definition at line 769 of file printdocvisitor.h.
References indent and m_indent.
Referenced by operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator() and operator().
indent_pre()
| inline |
Definition at line 764 of file printdocvisitor.h.
References indent and m_indent.
Referenced by operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator(), operator() and operator().
Private Member Attributes
m_indent
|
Definition at line 776 of file printdocvisitor.h.
Referenced by indent, indent_post, indent_pre and PrintDocVisitor.
m_insidePre
|
Definition at line 778 of file printdocvisitor.h.
Referenced by operator() and PrintDocVisitor.
m_needsEnter
|
Definition at line 777 of file printdocvisitor.h.
Referenced by indent, indent_leaf and PrintDocVisitor.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.