DocHtmlRow Class Reference

Node representing a HTML table row. More...

#include <docparser.h>

Inheritance diagram for DocHtmlRow:

CompAccept< DocHtmlRow > DocNode List of all members.

Public Member Functions

 DocHtmlRow (DocNode *parent, const HtmlAttribList &attribs)
Kind kind () const
DocNodeparent () const
uint numCells () const
void accept (DocVisitor *v)
const HtmlAttribListattribs () const
int parse ()
int parseXml (bool header)

Detailed Description

Node representing a HTML table row.

Definition at line 1174 of file docparser.h.


Constructor & Destructor Documentation

DocHtmlRow::DocHtmlRow ( DocNode parent,
const HtmlAttribList attribs 
) [inline]

Definition at line 1177 of file docparser.h.


Member Function Documentation

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 1179 of file docparser.h.

References DocNode::Kind_HtmlRow.

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

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

Implements DocNode.

Definition at line 1180 of file docparser.h.

uint DocHtmlRow::numCells (  )  const [inline]

Definition at line 1181 of file docparser.h.

References CompAccept< DocHtmlRow >::m_children.

Referenced by RTFDocVisitor::visitPre().

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 1182 of file docparser.h.

References CompAccept< T >::accept().

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

Definition at line 1183 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

int DocHtmlRow::parse (  ) 

Definition at line 2938 of file docparser.cpp.

References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_token, HTML_TD, HTML_TH, Mappers::htmlTagMapper, CompAccept< DocHtmlRow >::m_children, Mapper::map(), DocHtmlCell::markFirst(), DocHtmlCell::markLast(), TokenInfo::name, DocHtmlCell::parse(), RetVal_OK, RetVal_TableCell, RetVal_TableHCell, TK_HTMLTAG, TK_NEWPARA, TK_WHITESPACE, tokToString(), and warn_doc_error().

Referenced by DocHtmlTable::parse().

int DocHtmlRow::parseXml ( bool  header  ) 

Definition at line 3004 of file docparser.cpp.

References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_token, Mappers::htmlTagMapper, CompAccept< DocHtmlRow >::m_children, Mapper::map(), DocHtmlCell::markFirst(), DocHtmlCell::markLast(), TokenInfo::name, DocHtmlCell::parseXml(), RetVal_OK, RetVal_TableCell, RetVal_TableHCell, TK_HTMLTAG, TK_NEWPARA, TK_WHITESPACE, tokToString(), warn_doc_error(), XML_DESCRIPTION, and XML_TERM.

Referenced by DocHtmlTable::parseXml().


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



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