DocAnchor Class Reference

Node representing an anchor. More...

#include <docparser.h>

Inheritance diagram for DocAnchor:

DocNode List of all members.

Public Member Functions

 DocAnchor (DocNode *parent, const QString &id, bool newAnchor)
Kind kind () const
DocNodeparent () const
QString anchor () const
QString file () const
void accept (DocVisitor *v)

Detailed Description

Node representing an anchor.

Definition at line 277 of file docparser.h.


Constructor & Destructor Documentation

DocAnchor::DocAnchor ( DocNode parent,
const QString &  id,
bool  newAnchor 
)

Definition at line 1545 of file docparser.cpp.

References doctokenizerYYlineno, SectionInfo::fileName, SectionInfo::label, Doxygen::sectionDict, and warn_doc_error().


Member Function Documentation

Kind DocAnchor::kind (  )  const [inline, virtual]

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 281 of file docparser.h.

References DocNode::Kind_Anchor.

DocNode* DocAnchor::parent (  )  const [inline, virtual]

Returns the parent of this node or 0 for the root node.

Implements DocNode.

Definition at line 282 of file docparser.h.

QString DocAnchor::anchor (  )  const [inline]

Definition at line 283 of file docparser.h.

Referenced by XmlDocVisitor::visit(), RTFDocVisitor::visit(), PrintDocVisitor::visit(), PerlModDocVisitor::visit(), LatexDocVisitor::visit(), and HtmlDocVisitor::visit().

QString DocAnchor::file (  )  const [inline]

Definition at line 284 of file docparser.h.

Referenced by XmlDocVisitor::visit(), RTFDocVisitor::visit(), PerlModDocVisitor::visit(), and LatexDocVisitor::visit().

void DocAnchor::accept ( DocVisitor v  )  [inline, virtual]

Acceptor function for node visitors. Part of the visitor pattern.

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 285 of file docparser.h.

References DocVisitor::visit().


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



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1