XmlDocVisitor Class Reference

Concrete visitor implementation for XML output. More...

#include <xmldocvisitor.h>

Inheritance diagram for XmlDocVisitor:

DocVisitor List of all members.

Public Member Functions

 XmlDocVisitor (QTextStream &t, CodeOutputInterface &ci)
void visit (DocWord *)
void visit (DocLinkedWord *)
void visit (DocWhiteSpace *)
void visit (DocSymbol *)
void visit (DocURL *)
void visit (DocLineBreak *)
void visit (DocHorRuler *)
void visit (DocStyleChange *)
void visit (DocVerbatim *)
void visit (DocAnchor *)
void visit (DocInclude *)
void visit (DocIncOperator *)
void visit (DocFormula *)
void visit (DocIndexEntry *)
void visitPre (DocAutoList *)
void visitPost (DocAutoList *)
void visitPre (DocAutoListItem *)
void visitPost (DocAutoListItem *)
void visitPre (DocPara *)
void visitPost (DocPara *)
void visitPre (DocRoot *)
void visitPost (DocRoot *)
void visitPre (DocSimpleSect *)
void visitPost (DocSimpleSect *)
void visitPre (DocTitle *)
void visitPost (DocTitle *)
void visitPre (DocSimpleList *)
void visitPost (DocSimpleList *)
void visitPre (DocSimpleListItem *)
void visitPost (DocSimpleListItem *)
void visitPre (DocSection *)
void visitPost (DocSection *)
void visitPre (DocHtmlList *)
void visitPost (DocHtmlList *)
void visitPre (DocHtmlListItem *)
void visitPost (DocHtmlListItem *)
void visitPre (DocHtmlDescList *)
void visitPost (DocHtmlDescList *)
void visitPre (DocHtmlDescTitle *)
void visitPost (DocHtmlDescTitle *)
void visitPre (DocHtmlDescData *)
void visitPost (DocHtmlDescData *)
void visitPre (DocHtmlTable *)
void visitPost (DocHtmlTable *)
void visitPre (DocHtmlRow *)
void visitPost (DocHtmlRow *)
void visitPre (DocHtmlCell *)
void visitPost (DocHtmlCell *)
void visitPre (DocHtmlCaption *)
void visitPost (DocHtmlCaption *)
void visitPre (DocInternal *)
void visitPost (DocInternal *)
void visitPre (DocHRef *)
void visitPost (DocHRef *)
void visitPre (DocHtmlHeader *)
void visitPost (DocHtmlHeader *)
void visitPre (DocImage *)
void visitPost (DocImage *)
void visitPre (DocDotFile *)
void visitPost (DocDotFile *)
void visitPre (DocLink *)
void visitPost (DocLink *)
void visitPre (DocRef *)
void visitPost (DocRef *)
void visitPre (DocSecRefItem *)
void visitPost (DocSecRefItem *)
void visitPre (DocSecRefList *)
void visitPost (DocSecRefList *)
void visitPre (DocParamSect *)
void visitPost (DocParamSect *)
void visitPre (DocParamList *)
void visitPost (DocParamList *)
void visitPre (DocXRefItem *)
void visitPost (DocXRefItem *)
void visitPre (DocInternalRef *)
void visitPost (DocInternalRef *)
void visitPre (DocCopy *)
void visitPost (DocCopy *)
void visitPre (DocText *)
void visitPost (DocText *)

Detailed Description

Concrete visitor implementation for XML output.

Definition at line 31 of file xmldocvisitor.h.


Constructor & Destructor Documentation

XmlDocVisitor::XmlDocVisitor ( QTextStream &  t,
CodeOutputInterface ci 
)

Definition at line 31 of file xmldocvisitor.cpp.


Member Function Documentation

void XmlDocVisitor::visit ( DocWord  )  [virtual]

Implements DocVisitor.

Definition at line 40 of file xmldocvisitor.cpp.

References DocWord::word().

Referenced by visitPre().

void XmlDocVisitor::visit ( DocLinkedWord  )  [virtual]

Implements DocVisitor.

Definition at line 46 of file xmldocvisitor.cpp.

References DocLinkedWord::anchor(), DocLinkedWord::file(), DocLinkedWord::ref(), and DocLinkedWord::word().

void XmlDocVisitor::visit ( DocWhiteSpace  )  [virtual]

Implements DocVisitor.

Definition at line 54 of file xmldocvisitor.cpp.

References DocWhiteSpace::chars().

void XmlDocVisitor::visit ( DocSymbol  )  [virtual]

Implements DocVisitor.

Definition at line 67 of file xmldocvisitor.cpp.

References DocSymbol::Acute, DocSymbol::Amp, DocSymbol::Apos, DocSymbol::At, DocSymbol::BSlash, DocSymbol::Cedil, DocSymbol::Circ, DocSymbol::Copy, DocSymbol::Dollar, err(), DocSymbol::Grave, DocSymbol::Greater, DocSymbol::Hash, DocSymbol::Ldquo, DocSymbol::Less, DocSymbol::letter(), DocSymbol::Lsquo, DocSymbol::Mdash, DocSymbol::Nbsp, DocSymbol::Ndash, DocSymbol::Percent, DocSymbol::Quot, DocSymbol::Rdquo, DocSymbol::Reg, DocSymbol::Ring, DocSymbol::Rsquo, DocSymbol::Slash, DocSymbol::symbol(), DocSymbol::Szlig, DocSymbol::Tilde, DocSymbol::Tm, and DocSymbol::Uml.

void XmlDocVisitor::visit ( DocURL  )  [virtual]

Implements DocVisitor.

Definition at line 106 of file xmldocvisitor.cpp.

References DocURL::isEmail(), and DocURL::url().

void XmlDocVisitor::visit ( DocLineBreak  )  [virtual]

Implements DocVisitor.

Definition at line 117 of file xmldocvisitor.cpp.

void XmlDocVisitor::visit ( DocHorRuler  )  [virtual]

Implements DocVisitor.

Definition at line 123 of file xmldocvisitor.cpp.

void XmlDocVisitor::visit ( DocStyleChange  )  [virtual]

Implements DocVisitor.

Definition at line 129 of file xmldocvisitor.cpp.

References DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Code, DocStyleChange::Div, DocStyleChange::enable(), DocStyleChange::Italic, DocStyleChange::Preformatted, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::style(), DocStyleChange::Subscript, and DocStyleChange::Superscript.

void XmlDocVisitor::visit ( DocVerbatim  )  [virtual]

Implements DocVisitor.

Definition at line 172 of file xmldocvisitor.cpp.

References DocVerbatim::Code, DocVerbatim::context(), DocVerbatim::Dot, DocVerbatim::exampleFile(), ParserManager::getParser(), DocVerbatim::HtmlOnly, DocVerbatim::isExample(), DocVerbatim::LatexOnly, DocVerbatim::ManOnly, DocVerbatim::Msc, ParserInterface::parseCode(), Doxygen::parserManager, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.

void XmlDocVisitor::visit ( DocAnchor  )  [virtual]

Implements DocVisitor.

Definition at line 220 of file xmldocvisitor.cpp.

References DocAnchor::anchor(), and DocAnchor::file().

void XmlDocVisitor::visit ( DocInclude  )  [virtual]

Implements DocVisitor.

Definition at line 226 of file xmldocvisitor.cpp.

References DocInclude::context(), DocInclude::DontInclude, DocInclude::exampleFile(), DocInclude::extension(), DocInclude::file(), ParserManager::getParser(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, DocInclude::isExample(), Doxygen::parserManager, DocInclude::text(), DocInclude::type(), and DocInclude::VerbInclude.

void XmlDocVisitor::visit ( DocIncOperator  )  [virtual]

Implements DocVisitor.

Definition at line 268 of file xmldocvisitor.cpp.

References DocIncOperator::context(), DocIncOperator::exampleFile(), ParserManager::getParser(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), ParserInterface::parseCode(), Doxygen::parserManager, DocIncOperator::Skip, DocIncOperator::text(), and DocIncOperator::type().

void XmlDocVisitor::visit ( DocFormula  )  [virtual]

Implements DocVisitor.

Definition at line 305 of file xmldocvisitor.cpp.

References DocFormula::id(), and DocFormula::text().

void XmlDocVisitor::visit ( DocIndexEntry  )  [virtual]

Implements DocVisitor.

Definition at line 313 of file xmldocvisitor.cpp.

References DocIndexEntry::entry().

void XmlDocVisitor::visitPre ( DocAutoList  )  [virtual]

Implements DocVisitor.

Definition at line 328 of file xmldocvisitor.cpp.

References DocAutoList::isEnumList().

void XmlDocVisitor::visitPost ( DocAutoList  )  [virtual]

Implements DocVisitor.

Definition at line 341 of file xmldocvisitor.cpp.

References DocAutoList::isEnumList().

void XmlDocVisitor::visitPre ( DocAutoListItem  )  [virtual]

Implements DocVisitor.

Definition at line 354 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocAutoListItem  )  [virtual]

Implements DocVisitor.

Definition at line 360 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocPara  )  [virtual]

Implements DocVisitor.

Definition at line 366 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocPara  )  [virtual]

Implements DocVisitor.

Definition at line 372 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocRoot  )  [virtual]

Implements DocVisitor.

Definition at line 378 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocRoot  )  [virtual]

Implements DocVisitor.

Definition at line 383 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocSimpleSect  )  [virtual]

Implements DocVisitor.

Definition at line 388 of file xmldocvisitor.cpp.

References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Date, DocSimpleSect::Invar, 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.

void XmlDocVisitor::visitPost ( DocSimpleSect  )  [virtual]

Implements DocVisitor.

Definition at line 431 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocTitle  )  [virtual]

Implements DocVisitor.

Definition at line 437 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocTitle  )  [virtual]

Implements DocVisitor.

Definition at line 443 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocSimpleList  )  [virtual]

Implements DocVisitor.

Definition at line 449 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocSimpleList  )  [virtual]

Implements DocVisitor.

Definition at line 455 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocSimpleListItem  )  [virtual]

Implements DocVisitor.

Definition at line 461 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocSimpleListItem  )  [virtual]

Implements DocVisitor.

Definition at line 467 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocSection  )  [virtual]

Implements DocVisitor.

Definition at line 473 of file xmldocvisitor.cpp.

References DocSection::anchor(), DocSection::file(), DocSection::level(), and DocSection::title().

void XmlDocVisitor::visitPost ( DocSection  )  [virtual]

Implements DocVisitor.

Definition at line 484 of file xmldocvisitor.cpp.

References DocSection::level().

void XmlDocVisitor::visitPre ( DocHtmlList  )  [virtual]

Implements DocVisitor.

Definition at line 489 of file xmldocvisitor.cpp.

References DocHtmlList::Ordered, and DocHtmlList::type().

void XmlDocVisitor::visitPost ( DocHtmlList  )  [virtual]

Implements DocVisitor.

Definition at line 498 of file xmldocvisitor.cpp.

References DocHtmlList::Ordered, and DocHtmlList::type().

void XmlDocVisitor::visitPre ( DocHtmlListItem  )  [virtual]

Implements DocVisitor.

Definition at line 507 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocHtmlListItem  )  [virtual]

Implements DocVisitor.

Definition at line 513 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlDescList  )  [virtual]

Implements DocVisitor.

Definition at line 519 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocHtmlDescList  )  [virtual]

Implements DocVisitor.

Definition at line 525 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlDescTitle  )  [virtual]

Implements DocVisitor.

Definition at line 531 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocHtmlDescTitle  )  [virtual]

Implements DocVisitor.

Definition at line 537 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlDescData  )  [virtual]

Implements DocVisitor.

Definition at line 543 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocHtmlDescData  )  [virtual]

Implements DocVisitor.

Definition at line 549 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlTable  )  [virtual]

Implements DocVisitor.

Definition at line 555 of file xmldocvisitor.cpp.

References DocHtmlTable::numCols(), and DocHtmlTable::numRows().

void XmlDocVisitor::visitPost ( DocHtmlTable  )  [virtual]

Implements DocVisitor.

Definition at line 562 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlRow  )  [virtual]

Implements DocVisitor.

Definition at line 568 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocHtmlRow  )  [virtual]

Implements DocVisitor.

Definition at line 574 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlCell  )  [virtual]

Implements DocVisitor.

Definition at line 580 of file xmldocvisitor.cpp.

References DocHtmlCell::isHeading().

void XmlDocVisitor::visitPost ( DocHtmlCell  )  [virtual]

Implements DocVisitor.

Definition at line 586 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlCaption  )  [virtual]

Implements DocVisitor.

Definition at line 592 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocHtmlCaption  )  [virtual]

Implements DocVisitor.

Definition at line 598 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocInternal  )  [virtual]

Implements DocVisitor.

Definition at line 604 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocInternal  )  [virtual]

Implements DocVisitor.

Definition at line 610 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHRef  )  [virtual]

Implements DocVisitor.

Definition at line 616 of file xmldocvisitor.cpp.

References DocHRef::url().

void XmlDocVisitor::visitPost ( DocHRef  )  [virtual]

Implements DocVisitor.

Definition at line 622 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocHtmlHeader  )  [virtual]

Implements DocVisitor.

Definition at line 628 of file xmldocvisitor.cpp.

References DocHtmlHeader::level().

void XmlDocVisitor::visitPost ( DocHtmlHeader  )  [virtual]

Implements DocVisitor.

Definition at line 634 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocImage  )  [virtual]

Implements DocVisitor.

Definition at line 640 of file xmldocvisitor.cpp.

References Config_getString, DocImage::height(), DocImage::Html, DocImage::Latex, DocImage::name(), DocImage::Rtf, DocImage::type(), and DocImage::width().

void XmlDocVisitor::visitPost ( DocImage  )  [virtual]

Implements DocVisitor.

Definition at line 689 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocDotFile  )  [virtual]

Implements DocVisitor.

Definition at line 695 of file xmldocvisitor.cpp.

References DocDotFile::file().

void XmlDocVisitor::visitPost ( DocDotFile  )  [virtual]

Implements DocVisitor.

Definition at line 701 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocLink  )  [virtual]

Implements DocVisitor.

Definition at line 707 of file xmldocvisitor.cpp.

References DocLink::anchor(), DocLink::file(), and DocLink::ref().

void XmlDocVisitor::visitPost ( DocLink  )  [virtual]

Implements DocVisitor.

Definition at line 713 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocRef  )  [virtual]

Implements DocVisitor.

Definition at line 719 of file xmldocvisitor.cpp.

References DocRef::anchor(), DocRef::file(), DocRef::hasLinkText(), DocRef::ref(), and DocRef::targetTitle().

void XmlDocVisitor::visitPost ( DocRef  )  [virtual]

Implements DocVisitor.

Definition at line 726 of file xmldocvisitor.cpp.

References DocRef::file().

void XmlDocVisitor::visitPre ( DocSecRefItem  )  [virtual]

Implements DocVisitor.

Definition at line 733 of file xmldocvisitor.cpp.

References DocSecRefItem::anchor(), and DocSecRefItem::file().

void XmlDocVisitor::visitPost ( DocSecRefItem  )  [virtual]

Implements DocVisitor.

Definition at line 739 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocSecRefList  )  [virtual]

Implements DocVisitor.

Definition at line 745 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocSecRefList  )  [virtual]

Implements DocVisitor.

Definition at line 751 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocParamSect  )  [virtual]

Implements DocVisitor.

Definition at line 769 of file xmldocvisitor.cpp.

References DocParamSect::Exception, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, and DocParamSect::type().

void XmlDocVisitor::visitPost ( DocParamSect  )  [virtual]

Implements DocVisitor.

Definition at line 789 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocParamList  )  [virtual]

Implements DocVisitor.

Definition at line 795 of file xmldocvisitor.cpp.

References DocParamList::direction(), DocParamSect::In, DocParamSect::InOut, DocNode::Kind_LinkedWord, DocNode::Kind_Word, DocParamSect::Out, DocParamList::parameters(), DocParamSect::Unspecified, and visit().

void XmlDocVisitor::visitPost ( DocParamList  )  [virtual]

Implements DocVisitor.

Definition at line 839 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocXRefItem  )  [virtual]

Implements DocVisitor.

Definition at line 846 of file xmldocvisitor.cpp.

References DocXRefItem::anchor(), DocXRefItem::file(), and DocXRefItem::title().

void XmlDocVisitor::visitPost ( DocXRefItem  )  [virtual]

Implements DocVisitor.

Definition at line 858 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocInternalRef  )  [virtual]

Implements DocVisitor.

Definition at line 865 of file xmldocvisitor.cpp.

References DocInternalRef::anchor(), and DocInternalRef::file().

void XmlDocVisitor::visitPost ( DocInternalRef  )  [virtual]

Implements DocVisitor.

Definition at line 871 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocCopy  )  [virtual]

Implements DocVisitor.

Definition at line 878 of file xmldocvisitor.cpp.

References convertToXML(), and DocCopy::link().

void XmlDocVisitor::visitPost ( DocCopy  )  [virtual]

Implements DocVisitor.

Definition at line 884 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPre ( DocText  )  [virtual]

Implements DocVisitor.

Definition at line 890 of file xmldocvisitor.cpp.

void XmlDocVisitor::visitPost ( DocText  )  [virtual]

Implements DocVisitor.

Definition at line 894 of file xmldocvisitor.cpp.


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:59:17 2008 by  doxygen 1.5.1