DocFormula Class Reference

Node representing an item of a cross-referenced list. More...

#include <docparser.h>

Inheritance diagram for DocFormula:

DocNode List of all members.

Public Member Functions

 DocFormula (DocNode *parent, int id)
Kind kind () const
QString name () const
QString text () const
QString relPath () const
int id () const
DocNodeparent () const
void accept (DocVisitor *v)

Detailed Description

Node representing an item of a cross-referenced list.

Definition at line 465 of file docparser.h.


Constructor & Destructor Documentation

DocFormula::DocFormula ( DocNode parent,
int  id 
)

Definition at line 1837 of file docparser.cpp.

References Doxygen::formulaNameDict, Formula::getFormulaText(), and Formula::getId().


Member Function Documentation

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 469 of file docparser.h.

References DocNode::Kind_Formula.

QString DocFormula::name (  )  const [inline]

Definition at line 470 of file docparser.h.

Referenced by PrintDocVisitor::visit(), and HtmlDocVisitor::visit().

QString DocFormula::text (  )  const [inline]

Definition at line 471 of file docparser.h.

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

QString DocFormula::relPath (  )  const [inline]

Definition at line 472 of file docparser.h.

Referenced by HtmlDocVisitor::visit().

int DocFormula::id (  )  const [inline]

Definition at line 473 of file docparser.h.

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

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

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

Implements DocNode.

Definition at line 474 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 475 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