PrintDocVisitor Class Reference

#include <printdocvisitor.h>

Inheritance diagram for PrintDocVisitor:

DocVisitor List of all members.

Public Member Functions

 PrintDocVisitor ()
void visit (DocWord *w)
void visit (DocLinkedWord *w)
void visit (DocWhiteSpace *w)
void visit (DocSymbol *s)
void visit (DocURL *u)
void visit (DocLineBreak *)
void visit (DocHorRuler *)
void visit (DocStyleChange *s)
void visit (DocVerbatim *s)
void visit (DocAnchor *a)
void visit (DocInclude *inc)
void visit (DocIncOperator *op)
void visit (DocFormula *f)
void visit (DocIndexEntry *i)
void visitPre (DocAutoList *l)
void visitPost (DocAutoList *l)
void visitPre (DocAutoListItem *)
void visitPost (DocAutoListItem *)
void visitPre (DocPara *)
void visitPost (DocPara *)
void visitPre (DocRoot *)
void visitPost (DocRoot *)
void visitPre (DocSimpleSect *s)
void visitPost (DocSimpleSect *)
void visitPre (DocTitle *)
void visitPost (DocTitle *)
void visitPre (DocSimpleList *)
void visitPost (DocSimpleList *)
void visitPre (DocSimpleListItem *)
void visitPost (DocSimpleListItem *)
void visitPre (DocSection *s)
void visitPost (DocSection *s)
void visitPre (DocHtmlList *s)
void visitPost (DocHtmlList *s)
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 *t)
void visitPost (DocHtmlTable *)
void visitPre (DocHtmlRow *)
void visitPost (DocHtmlRow *)
void visitPre (DocHtmlCell *c)
void visitPost (DocHtmlCell *c)
void visitPre (DocHtmlCaption *)
void visitPost (DocHtmlCaption *)
void visitPre (DocInternal *)
void visitPost (DocInternal *)
void visitPre (DocHRef *href)
void visitPost (DocHRef *)
void visitPre (DocHtmlHeader *header)
void visitPost (DocHtmlHeader *header)
void visitPre (DocImage *img)
void visitPost (DocImage *)
void visitPre (DocDotFile *df)
void visitPost (DocDotFile *)
void visitPre (DocLink *lnk)
void visitPost (DocLink *)
void visitPre (DocRef *ref)
void visitPost (DocRef *)
void visitPre (DocSecRefItem *ref)
void visitPost (DocSecRefItem *)
void visitPre (DocSecRefList *)
void visitPost (DocSecRefList *)
void visitPre (DocParamList *pl)
void visitPost (DocParamList *)
void visitPre (DocParamSect *ps)
void visitPost (DocParamSect *)
void visitPre (DocXRefItem *x)
void visitPost (DocXRefItem *)
void visitPre (DocInternalRef *r)
void visitPost (DocInternalRef *)
void visitPre (DocCopy *c)
void visitPost (DocCopy *)
void visitPre (DocText *)
void visitPost (DocText *)

Detailed Description

Concrete visitor implementation for pretty printing

Definition at line 25 of file printdocvisitor.h.


Constructor & Destructor Documentation

PrintDocVisitor::PrintDocVisitor (  )  [inline]

Definition at line 28 of file printdocvisitor.h.


Member Function Documentation

void PrintDocVisitor::visit ( DocWord w  )  [inline, virtual]

Implements DocVisitor.

Definition at line 33 of file printdocvisitor.h.

References DocWord::word().

Referenced by visitPre().

void PrintDocVisitor::visit ( DocLinkedWord w  )  [inline, virtual]

Implements DocVisitor.

Definition at line 38 of file printdocvisitor.h.

References DocLinkedWord::word().

void PrintDocVisitor::visit ( DocWhiteSpace w  )  [inline, virtual]

Implements DocVisitor.

Definition at line 43 of file printdocvisitor.h.

References DocWhiteSpace::chars().

void PrintDocVisitor::visit ( DocSymbol s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 55 of file printdocvisitor.h.

References DocSymbol::Acute, DocSymbol::Amp, DocSymbol::Apos, DocSymbol::At, DocSymbol::BSlash, DocSymbol::Cedil, DocSymbol::Circ, DocSymbol::Copy, DocSymbol::Dollar, 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::Ring, DocSymbol::Rsquo, DocSymbol::symbol(), DocSymbol::Szlig, DocSymbol::Tilde, and DocSymbol::Uml.

void PrintDocVisitor::visit ( DocURL u  )  [inline, virtual]

Implements DocVisitor.

Definition at line 90 of file printdocvisitor.h.

References DocURL::url().

void PrintDocVisitor::visit ( DocLineBreak  )  [inline, virtual]

Implements DocVisitor.

Definition at line 95 of file printdocvisitor.h.

void PrintDocVisitor::visit ( DocHorRuler  )  [inline, virtual]

Implements DocVisitor.

Definition at line 100 of file printdocvisitor.h.

void PrintDocVisitor::visit ( DocStyleChange s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 105 of file printdocvisitor.h.

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 PrintDocVisitor::visit ( DocVerbatim s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 142 of file printdocvisitor.h.

References DocVerbatim::Code, DocVerbatim::Dot, DocVerbatim::HtmlOnly, DocVerbatim::LatexOnly, DocVerbatim::ManOnly, DocVerbatim::Msc, DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, and DocVerbatim::XmlOnly.

void PrintDocVisitor::visit ( DocAnchor a  )  [inline, virtual]

Implements DocVisitor.

Definition at line 169 of file printdocvisitor.h.

References DocAnchor::anchor().

void PrintDocVisitor::visit ( DocInclude inc  )  [inline, virtual]

Implements DocVisitor.

Definition at line 174 of file printdocvisitor.h.

References DocInclude::DontInclude, DocInclude::file(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, DocInclude::type(), and DocInclude::VerbInclude.

void PrintDocVisitor::visit ( DocIncOperator op  )  [inline, virtual]

Implements DocVisitor.

Definition at line 188 of file printdocvisitor.h.

References DocIncOperator::Line, DocIncOperator::pattern(), DocIncOperator::Skip, DocIncOperator::SkipLine, DocIncOperator::type(), and DocIncOperator::Until.

void PrintDocVisitor::visit ( DocFormula f  )  [inline, virtual]

Implements DocVisitor.

Definition at line 201 of file printdocvisitor.h.

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

void PrintDocVisitor::visit ( DocIndexEntry i  )  [inline, virtual]

Implements DocVisitor.

Definition at line 206 of file printdocvisitor.h.

References DocIndexEntry::entry().

void PrintDocVisitor::visitPre ( DocAutoList l  )  [inline, virtual]

Implements DocVisitor.

Definition at line 214 of file printdocvisitor.h.

References DocAutoList::isEnumList().

void PrintDocVisitor::visitPost ( DocAutoList l  )  [inline, virtual]

Implements DocVisitor.

Definition at line 226 of file printdocvisitor.h.

References DocAutoList::isEnumList().

void PrintDocVisitor::visitPre ( DocAutoListItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 238 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocAutoListItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 243 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocPara  )  [inline, virtual]

Implements DocVisitor.

Definition at line 248 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocPara  )  [inline, virtual]

Implements DocVisitor.

Definition at line 253 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocRoot  )  [inline, virtual]

Implements DocVisitor.

Definition at line 258 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocRoot  )  [inline, virtual]

Implements DocVisitor.

Definition at line 263 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocSimpleSect s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 268 of file printdocvisitor.h.

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 PrintDocVisitor::visitPost ( DocSimpleSect  )  [inline, virtual]

Implements DocVisitor.

Definition at line 294 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocTitle  )  [inline, virtual]

Implements DocVisitor.

Definition at line 299 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocTitle  )  [inline, virtual]

Implements DocVisitor.

Definition at line 304 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocSimpleList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 309 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocSimpleList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 314 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocSimpleListItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 319 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocSimpleListItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 324 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocSection s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 329 of file printdocvisitor.h.

References DocSection::level().

void PrintDocVisitor::visitPost ( DocSection s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 334 of file printdocvisitor.h.

References DocSection::level().

void PrintDocVisitor::visitPre ( DocHtmlList s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 339 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocHtmlList s  )  [inline, virtual]

Implements DocVisitor.

Definition at line 344 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPre ( DocHtmlListItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 349 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocHtmlListItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 354 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlDescList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 371 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocHtmlDescList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 376 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlDescTitle  )  [inline, virtual]

Implements DocVisitor.

Definition at line 381 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocHtmlDescTitle  )  [inline, virtual]

Implements DocVisitor.

Definition at line 386 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlDescData  )  [inline, virtual]

Implements DocVisitor.

Definition at line 391 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocHtmlDescData  )  [inline, virtual]

Implements DocVisitor.

Definition at line 396 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlTable t  )  [inline, virtual]

Implements DocVisitor.

Definition at line 401 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocHtmlTable  )  [inline, virtual]

Implements DocVisitor.

Definition at line 407 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlRow  )  [inline, virtual]

Implements DocVisitor.

Definition at line 412 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocHtmlRow  )  [inline, virtual]

Implements DocVisitor.

Definition at line 417 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlCell c  )  [inline, virtual]

Implements DocVisitor.

Definition at line 422 of file printdocvisitor.h.

References DocHtmlCell::isHeading().

void PrintDocVisitor::visitPost ( DocHtmlCell c  )  [inline, virtual]

Implements DocVisitor.

Definition at line 427 of file printdocvisitor.h.

References DocHtmlCell::isHeading().

void PrintDocVisitor::visitPre ( DocHtmlCaption  )  [inline, virtual]

Implements DocVisitor.

Definition at line 432 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocHtmlCaption  )  [inline, virtual]

Implements DocVisitor.

Definition at line 437 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocInternal  )  [inline, virtual]

Implements DocVisitor.

Definition at line 442 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocInternal  )  [inline, virtual]

Implements DocVisitor.

Definition at line 447 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHRef href  )  [inline, virtual]

Implements DocVisitor.

Definition at line 452 of file printdocvisitor.h.

References DocHRef::url().

void PrintDocVisitor::visitPost ( DocHRef  )  [inline, virtual]

Implements DocVisitor.

Definition at line 457 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocHtmlHeader header  )  [inline, virtual]

Implements DocVisitor.

Definition at line 462 of file printdocvisitor.h.

References DocHtmlHeader::level().

void PrintDocVisitor::visitPost ( DocHtmlHeader header  )  [inline, virtual]

Implements DocVisitor.

Definition at line 467 of file printdocvisitor.h.

References DocHtmlHeader::level().

void PrintDocVisitor::visitPre ( DocImage img  )  [inline, virtual]

Implements DocVisitor.

Definition at line 472 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocImage  )  [inline, virtual]

Implements DocVisitor.

Definition at line 484 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocDotFile df  )  [inline, virtual]

Implements DocVisitor.

Definition at line 489 of file printdocvisitor.h.

References DocDotFile::name().

void PrintDocVisitor::visitPost ( DocDotFile  )  [inline, virtual]

Implements DocVisitor.

Definition at line 494 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocLink lnk  )  [inline, virtual]

Implements DocVisitor.

Definition at line 499 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocLink  )  [inline, virtual]

Implements DocVisitor.

Definition at line 505 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocRef ref  )  [inline, virtual]

Implements DocVisitor.

Definition at line 510 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocRef  )  [inline, virtual]

Implements DocVisitor.

Definition at line 520 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocSecRefItem ref  )  [inline, virtual]

Implements DocVisitor.

Definition at line 525 of file printdocvisitor.h.

References DocSecRefItem::target().

void PrintDocVisitor::visitPost ( DocSecRefItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 530 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocSecRefList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 535 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocSecRefList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 540 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocParamList pl  )  [inline, virtual]

Implements DocVisitor.

Definition at line 555 of file printdocvisitor.h.

References DocNode::Kind_LinkedWord, DocNode::Kind_Word, DocParamList::parameters(), and visit().

void PrintDocVisitor::visitPost ( DocParamList  )  [inline, virtual]

Implements DocVisitor.

Definition at line 578 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocParamSect ps  )  [inline, virtual]

Implements DocVisitor.

Definition at line 583 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocParamSect  )  [inline, virtual]

Implements DocVisitor.

Definition at line 597 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocXRefItem x  )  [inline, virtual]

Implements DocVisitor.

Definition at line 602 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocXRefItem  )  [inline, virtual]

Implements DocVisitor.

Definition at line 608 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocInternalRef r  )  [inline, virtual]

Implements DocVisitor.

Definition at line 613 of file printdocvisitor.h.

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

void PrintDocVisitor::visitPost ( DocInternalRef  )  [inline, virtual]

Implements DocVisitor.

Definition at line 618 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocCopy c  )  [inline, virtual]

Implements DocVisitor.

Definition at line 623 of file printdocvisitor.h.

References DocCopy::link().

void PrintDocVisitor::visitPost ( DocCopy  )  [inline, virtual]

Implements DocVisitor.

Definition at line 628 of file printdocvisitor.h.

void PrintDocVisitor::visitPre ( DocText  )  [inline, virtual]

Implements DocVisitor.

Definition at line 633 of file printdocvisitor.h.

void PrintDocVisitor::visitPost ( DocText  )  [inline, virtual]

Implements DocVisitor.

Definition at line 638 of file printdocvisitor.h.


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



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