DocURL Class Reference

Node representing an URL (or email address). More...

#include <docparser.h>

Inheritance diagram for DocURL:

DocNode List of all members.

Public Member Functions

 DocURL (DocNode *parent, const QString &url, bool isEmail)
QString url () const
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)
bool isEmail () const

Detailed Description

Node representing an URL (or email address).

Definition at line 231 of file docparser.h.


Constructor & Destructor Documentation

DocURL::DocURL ( DocNode parent,
const QString &  url,
bool  isEmail 
) [inline]

Definition at line 234 of file docparser.h.


Member Function Documentation

QString DocURL::url (  )  const [inline]

Definition at line 236 of file docparser.h.

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

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 237 of file docparser.h.

References DocNode::Kind_URL.

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

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

Implements DocNode.

Definition at line 238 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 239 of file docparser.h.

References DocVisitor::visit().

bool DocURL::isEmail (  )  const [inline]

Definition at line 240 of file docparser.h.

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


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



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