DocWhiteSpace Class Reference

Node representing some amount of white space. More...

#include <docparser.h>

Inheritance diagram for DocWhiteSpace:

DocNode List of all members.

Public Member Functions

 DocWhiteSpace (DocNode *parent, const QString &chars)
Kind kind () const
QString chars () const
DocNodeparent () const
void accept (DocVisitor *v)

Detailed Description

Node representing some amount of white space.

Definition at line 347 of file docparser.h.


Constructor & Destructor Documentation

DocWhiteSpace::DocWhiteSpace ( DocNode parent,
const QString &  chars 
) [inline]

Definition at line 350 of file docparser.h.


Member Function Documentation

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 352 of file docparser.h.

References DocNode::Kind_WhiteSpace.

QString DocWhiteSpace::chars (  )  const [inline]

Definition at line 353 of file docparser.h.

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

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

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

Implements DocNode.

Definition at line 354 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 355 of file docparser.h.

References DocVisitor::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