My Project
|
Concrete visitor implementation for XML output. More...
#include <xmldocvisitor.h>
Private Member Functions | |
void | filter (const char *str) |
void | startLink (const QCString &ref, const QCString &file, const QCString &anchor) |
void | endLink () |
void | pushEnabled () |
void | popEnabled () |
Private Attributes | |
FTextStream & | m_t |
CodeOutputInterface & | m_ci |
bool | m_insidePre |
bool | m_hide |
QStack< bool > | m_enabled |
QCString | m_langExt |
Concrete visitor implementation for XML output.
Definition at line 31 of file xmldocvisitor.h.
XmlDocVisitor::XmlDocVisitor | ( | FTextStream & | t, |
CodeOutputInterface & | ci | ||
) |
Definition at line 86 of file xmldocvisitor.cpp.
|
private |
Definition at line 1068 of file xmldocvisitor.cpp.
References m_t.
Referenced by visit(), and visitPost().
|
private |
Definition at line 1051 of file xmldocvisitor.cpp.
References convertToXML(), and m_t.
Referenced by visit(), and visitPre().
|
private |
|
private |
|
private |
Definition at line 1056 of file xmldocvisitor.cpp.
References m_t.
Referenced by visit(), and visitPre().
|
virtual |
Implements DocVisitor.
Definition at line 95 of file xmldocvisitor.cpp.
References filter(), m_hide, and DocWord::word().
Referenced by visitPre().
|
virtual |
Implements DocVisitor.
Definition at line 101 of file xmldocvisitor.cpp.
References DocLinkedWord::anchor(), endLink(), DocLinkedWord::file(), filter(), m_hide, DocLinkedWord::ref(), startLink(), and DocLinkedWord::word().
|
virtual |
Implements DocVisitor.
Definition at line 109 of file xmldocvisitor.cpp.
References DocWhiteSpace::chars(), m_hide, m_insidePre, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 122 of file xmldocvisitor.cpp.
References err(), HtmlEntityMapper::instance(), m_hide, m_t, DocSymbol::symbol(), and HtmlEntityMapper::xml().
|
virtual |
Implements DocVisitor.
Definition at line 136 of file xmldocvisitor.cpp.
References filter(), DocURL::isEmail(), m_hide, m_t, and DocURL::url().
|
virtual |
Implements DocVisitor.
Definition at line 147 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 153 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 159 of file xmldocvisitor.cpp.
References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Code, DocStyleChange::Div, DocStyleChange::enable(), DocStyleChange::Italic, m_hide, m_insidePre, m_t, DocStyleChange::Preformatted, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::style(), DocStyleChange::Subscript, and DocStyleChange::Superscript.
|
virtual |
Implements DocVisitor.
Definition at line 202 of file xmldocvisitor.cpp.
References DocVerbatim::children(), DocVerbatim::Code, DocVerbatim::context(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::exampleFile(), filter(), getLanguageFromFileName(), ParserManager::getParser(), DocVerbatim::hasCaption(), DocVerbatim::height(), DocImage::Html, DocVerbatim::HtmlOnly, DocVerbatim::isExample(), DocVerbatim::language(), DocVerbatim::LatexOnly, m_ci, m_hide, m_langExt, m_t, DocVerbatim::ManOnly, DocVerbatim::Msc, ParserInterface::parseCode(), Doxygen::parserManager, DocVerbatim::PlantUML, DocVerbatim::RtfOnly, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, visitPostEnd(), visitPreStart(), DocVerbatim::width(), and DocVerbatim::XmlOnly.
|
virtual |
Implements DocVisitor.
Definition at line 253 of file xmldocvisitor.cpp.
References DocAnchor::anchor(), DocAnchor::file(), m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 259 of file xmldocvisitor.cpp.
References DocInclude::blockId(), DocInclude::context(), DocInclude::DontInclude, err(), DocInclude::exampleFile(), DocInclude::extension(), extractBlock(), DocInclude::file(), filter(), getLanguageFromFileName(), ParserManager::getParser(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncludeDoc, DocInclude::IncWithLines, DocInclude::isExample(), DocInclude::LatexInclude, m_ci, m_hide, m_t, parseCode(), Doxygen::parserManager, DocInclude::Snippet, DocInclude::SnippetDoc, DocInclude::text(), DocInclude::type(), and DocInclude::VerbInclude.
|
virtual |
Implements DocVisitor.
Definition at line 340 of file xmldocvisitor.cpp.
References DocIncOperator::context(), endl(), DocIncOperator::exampleFile(), getLanguageFromFileName(), ParserManager::getParser(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), m_ci, m_hide, m_langExt, m_t, ParserInterface::parseCode(), Doxygen::parserManager, popEnabled(), pushEnabled(), DocIncOperator::Skip, DocIncOperator::text(), and DocIncOperator::type().
|
virtual |
Implements DocVisitor.
Definition at line 378 of file xmldocvisitor.cpp.
References filter(), DocFormula::id(), m_hide, m_t, and DocFormula::text().
|
virtual |
Implements DocVisitor.
Definition at line 386 of file xmldocvisitor.cpp.
References DocIndexEntry::entry(), filter(), m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 397 of file xmldocvisitor.cpp.
References DocNode::kind(), DocNode::Kind_SimpleSect, DocNode::parent(), visitPost(), and visitPre().
|
virtual |
Implements DocVisitor.
Definition at line 406 of file xmldocvisitor.cpp.
References DocCite::anchor(), endLink(), DocCite::file(), filter(), m_hide, DocCite::ref(), startLink(), and DocCite::text().
|
virtual |
Implements DocVisitor.
Definition at line 431 of file xmldocvisitor.cpp.
References DocAutoList::isEnumList(), m_hide, and m_t.
Referenced by visit().
|
virtual |
Implements DocVisitor.
Definition at line 450 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 462 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 473 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 523 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 535 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 547 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 559 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 576 of file xmldocvisitor.cpp.
References DocSection::level(), and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 590 of file xmldocvisitor.cpp.
References m_hide, m_t, DocHtmlList::Ordered, and DocHtmlList::type().
|
virtual |
Implements DocVisitor.
Definition at line 605 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 617 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 629 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 641 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 654 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 666 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 678 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 690 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 702 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 716 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 728 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 762 of file xmldocvisitor.cpp.
References m_hide, m_t, and visitPostEnd().
|
virtual |
Implements DocVisitor.
Definition at line 774 of file xmldocvisitor.cpp.
References m_hide, m_t, and visitPostEnd().
|
virtual |
Implements DocVisitor.
Definition at line 786 of file xmldocvisitor.cpp.
References m_hide, m_t, and visitPostEnd().
|
virtual |
Implements DocVisitor.
Definition at line 798 of file xmldocvisitor.cpp.
References m_hide, m_t, and visitPostEnd().
|
virtual |
Implements DocVisitor.
Definition at line 810 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 826 of file xmldocvisitor.cpp.
References endLink(), DocRef::file(), and m_hide.
|
virtual |
Implements DocVisitor.
Definition at line 839 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 851 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 889 of file xmldocvisitor.cpp.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 977 of file xmldocvisitor.cpp.
References m_hide, m_t, and DocXRefItem::title().
|
virtual |
Implements DocVisitor.
Definition at line 991 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 1004 of file xmldocvisitor.cpp.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1024 of file xmldocvisitor.cpp.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1044 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 418 of file xmldocvisitor.cpp.
References DocAutoList::isEnumList(), m_hide, and m_t.
Referenced by visit().
|
virtual |
Implements DocVisitor.
Definition at line 444 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 456 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 468 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 478 of file xmldocvisitor.cpp.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, DocSimpleSect::Invar, m_hide, m_t, DocSimpleSect::Note, DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, DocSimpleSect::type(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, and DocSimpleSect::Warning.
|
virtual |
Implements DocVisitor.
Definition at line 529 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 541 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 553 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 565 of file xmldocvisitor.cpp.
References DocSection::anchor(), convertCharEntitiesToUTF8(), endl(), DocSection::file(), filter(), DocSection::level(), m_hide, m_t, and DocSection::title().
|
virtual |
Implements DocVisitor.
Definition at line 581 of file xmldocvisitor.cpp.
References m_hide, m_t, DocHtmlList::Ordered, and DocHtmlList::type().
|
virtual |
Implements DocVisitor.
Definition at line 599 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 611 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 623 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 635 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 647 of file xmldocvisitor.cpp.
References m_hide, m_t, DocHtmlTable::numColumns(), and DocHtmlTable::numRows().
|
virtual |
Implements DocVisitor.
Definition at line 660 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 672 of file xmldocvisitor.cpp.
References DocHtmlCell::isHeading(), m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 684 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 696 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 708 of file xmldocvisitor.cpp.
References filter(), m_hide, m_t, and DocHRef::url().
|
virtual |
Implements DocVisitor.
Definition at line 722 of file xmldocvisitor.cpp.
References DocHtmlHeader::level(), m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 734 of file xmldocvisitor.cpp.
References CompAccept< T >::children(), Config_getString, DocImage::height(), m_hide, m_t, DocImage::name(), DocImage::type(), visitPreStart(), and DocImage::width().
|
virtual |
Implements DocVisitor.
Definition at line 768 of file xmldocvisitor.cpp.
References CompAccept< T >::children(), DocDotFile::file(), DocDotFile::height(), DocImage::Html, m_hide, m_t, visitPreStart(), and DocDotFile::width().
|
virtual |
Implements DocVisitor.
Definition at line 780 of file xmldocvisitor.cpp.
References CompAccept< T >::children(), DocMscFile::file(), DocMscFile::height(), DocImage::Html, m_hide, m_t, visitPreStart(), and DocMscFile::width().
|
virtual |
Implements DocVisitor.
Definition at line 792 of file xmldocvisitor.cpp.
References CompAccept< T >::children(), DocDiaFile::file(), DocDiaFile::height(), DocImage::Html, m_hide, m_t, visitPreStart(), and DocDiaFile::width().
|
virtual |
Implements DocVisitor.
Definition at line 804 of file xmldocvisitor.cpp.
References DocLink::anchor(), DocLink::file(), m_hide, DocLink::ref(), and startLink().
|
virtual |
Implements DocVisitor.
Definition at line 816 of file xmldocvisitor.cpp.
References DocRef::anchor(), DocRef::file(), filter(), DocRef::hasLinkText(), DocRef::isSubPage(), m_hide, DocRef::ref(), startLink(), and DocRef::targetTitle().
|
virtual |
Implements DocVisitor.
Definition at line 833 of file xmldocvisitor.cpp.
References DocSecRefItem::anchor(), DocSecRefItem::file(), m_hide, and m_t.
|
virtual |
Implements DocVisitor.
Definition at line 845 of file xmldocvisitor.cpp.
|
virtual |
Implements DocVisitor.
Definition at line 869 of file xmldocvisitor.cpp.
References DocParamSect::Exception, m_hide, m_t, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, and DocParamSect::type().
|
virtual |
Implements DocVisitor.
Definition at line 895 of file xmldocvisitor.cpp.
References DocParamList::direction(), endl(), DocParamSect::In, DocParamSect::InOut, DocNode::Kind_LinkedWord, DocNode::Kind_Word, m_hide, m_t, DocParamSect::Out, DocParamList::parameters(), DocParamList::paramTypes(), DocParamSect::Unspecified, and visit().
|
virtual |
Implements DocVisitor.
Definition at line 964 of file xmldocvisitor.cpp.
References DocXRefItem::anchor(), DocXRefItem::file(), filter(), m_hide, m_t, and DocXRefItem::title().
|
virtual |
Implements DocVisitor.
Definition at line 985 of file xmldocvisitor.cpp.
References DocInternalRef::anchor(), DocInternalRef::file(), m_hide, and startLink().
|
virtual |
Implements DocVisitor.
Definition at line 998 of file xmldocvisitor.cpp.
References convertToXML(), DocCopy::link(), m_hide, and m_t.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1018 of file xmldocvisitor.cpp.
|
virtual |
|
virtual |
Implements DocVisitor.
Definition at line 1038 of file xmldocvisitor.cpp.
|
private |
Definition at line 162 of file xmldocvisitor.h.
Referenced by visit().
|
private |
Definition at line 165 of file xmldocvisitor.h.
Referenced by popEnabled(), and pushEnabled().
|
private |
Definition at line 164 of file xmldocvisitor.h.
Referenced by popEnabled(), pushEnabled(), visit(), visitPost(), and visitPre().
|
private |
Definition at line 163 of file xmldocvisitor.h.
Referenced by visit().
|
private |
Definition at line 166 of file xmldocvisitor.h.
Referenced by visit().
|
private |
Definition at line 161 of file xmldocvisitor.h.
Referenced by endLink(), filter(), startLink(), visit(), visitPost(), and visitPre().