#include <docparser.h>
Inheritance diagram for DocURL:
Public Member Functions | |
DocURL (DocNode *parent, const QString &url, bool isEmail) | |
QString | url () const |
Kind | kind () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
bool | isEmail () const |
Definition at line 231 of file docparser.h.
DocURL::DocURL | ( | DocNode * | parent, | |
const QString & | url, | |||
bool | isEmail | |||
) | [inline] |
Definition at line 234 of file docparser.h.
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.
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().