DocHtmlCell Class Reference

Node representing a HTML table cell. More...

#include <docparser.h>

Inheritance diagram for DocHtmlCell:

CompAccept< DocHtmlCell > DocNode List of all members.

Public Member Functions

 DocHtmlCell (DocNode *parent, const HtmlAttribList &attribs, bool isHeading)
bool isHeading () const
bool isFirst () const
bool isLast () const
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)
void markFirst (bool v=TRUE)
void markLast (bool v=TRUE)
const HtmlAttribListattribs () const
int parse ()
int parseXml ()

Detailed Description

Node representing a HTML table cell.

Definition at line 1129 of file docparser.h.


Constructor & Destructor Documentation

DocHtmlCell::DocHtmlCell ( DocNode parent,
const HtmlAttribList attribs,
bool  isHeading 
) [inline]

Definition at line 1132 of file docparser.h.


Member Function Documentation

bool DocHtmlCell::isHeading (  )  const [inline]

Definition at line 1135 of file docparser.h.

Referenced by PrintDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), XmlDocVisitor::visitPre(), PrintDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().

bool DocHtmlCell::isFirst (  )  const [inline]

Definition at line 1136 of file docparser.h.

bool DocHtmlCell::isLast (  )  const [inline]

Definition at line 1137 of file docparser.h.

Referenced by LatexDocVisitor::visitPost().

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 1138 of file docparser.h.

References DocNode::Kind_HtmlCell.

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

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

Implements DocNode.

Definition at line 1139 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 1140 of file docparser.h.

References CompAccept< T >::accept().

void DocHtmlCell::markFirst ( bool  v = TRUE  )  [inline]

Definition at line 1141 of file docparser.h.

Referenced by DocHtmlRow::parse(), and DocHtmlRow::parseXml().

void DocHtmlCell::markLast ( bool  v = TRUE  )  [inline]

Definition at line 1142 of file docparser.h.

Referenced by DocHtmlRow::parse(), and DocHtmlRow::parseXml().

const HtmlAttribList& DocHtmlCell::attribs (  )  const [inline]

Definition at line 1143 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

int DocHtmlCell::parse (  ) 

Definition at line 2862 of file docparser.cpp.

References DBG, TokenInfo::endTag, g_token, HTML_TD, HTML_TH, Mappers::htmlTagMapper, CompAccept< DocHtmlCell >::m_children, Mapper::map(), DocPara::markFirst(), DocPara::markLast(), TokenInfo::name, DocPara::parse(), RetVal_OK, TK_HTMLTAG, and TK_NEWPARA.

Referenced by DocHtmlRow::parse().

int DocHtmlCell::parseXml (  ) 

Definition at line 2899 of file docparser.cpp.

References DBG, TokenInfo::endTag, g_token, Mappers::htmlTagMapper, CompAccept< DocHtmlCell >::m_children, Mapper::map(), DocPara::markFirst(), DocPara::markLast(), TokenInfo::name, DocPara::parse(), RetVal_OK, TK_HTMLTAG, TK_NEWPARA, XML_DESCRIPTION, and XML_ITEM.

Referenced by DocHtmlRow::parseXml().


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