#include <docparser.h>
Inheritance diagram for DocHtmlCell:
Public Member Functions | |
DocHtmlCell (DocNode *parent, const HtmlAttribList &attribs, bool isHeading) | |
bool | isHeading () const |
bool | isFirst () const |
bool | isLast () const |
Kind | kind () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
void | markFirst (bool v=TRUE) |
void | markLast (bool v=TRUE) |
const HtmlAttribList & | attribs () const |
int | parse () |
int | parseXml () |
Definition at line 1129 of file docparser.h.
DocHtmlCell::DocHtmlCell | ( | DocNode * | parent, | |
const HtmlAttribList & | attribs, | |||
bool | isHeading | |||
) | [inline] |
Definition at line 1132 of file docparser.h.
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] |
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.
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] |
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().