#include <docparser.h>
Public Member Functions | |
DocNode () | |
virtual | ~DocNode () |
virtual Kind | kind () const =0 |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
virtual void | accept (DocVisitor *v)=0 |
bool | isPreformatted () const |
Protected Member Functions | |
void | setInsidePreformatted (bool p) |
Protected Attributes | |
DocNode * | m_parent |
Private Attributes | |
bool | m_insidePre |
Abstract node interface with type information.
Definition at line 79 of file docparser.h.
enum DocNode::Kind |
Available node types.
Definition at line 83 of file docparser.h.
|
inline |
|
inlinevirtual |
|
pure virtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implemented in DocRoot, DocText, DocHtmlBlockQuote, DocHtmlTable, DocHtmlRow, DocHtmlCaption, DocHtmlCell, DocHtmlDescData, DocHtmlListItem, DocSimpleListItem, DocParamList, DocPara, DocParamSect, DocSimpleSectSep, DocSimpleSect, DocHtmlList, DocSimpleList, DocParBlock, DocInternal, DocSecRefList, DocSecRefItem, DocSection, DocHtmlDescList, DocHtmlDescTitle, DocHtmlHeader, DocHRef, DocInternalRef, DocRef, DocLink, DocVhdlFlow, DocDiaFile, DocMscFile, DocDotFile, DocImage, DocXRefItem, DocTitle, DocAutoListItem, DocAutoList, DocCopy, DocIndexEntry, DocFormula, DocIncOperator, DocInclude, DocVerbatim, DocWhiteSpace, DocSymbol, DocStyleChange, DocCite, DocAnchor, DocHorRuler, DocLineBreak, DocURL, DocLinkedWord, and DocWord.
|
inline |
Returns TRUE iff this node is inside a preformatted section
Definition at line 158 of file docparser.h.
|
pure virtual |
Returns the kind of node. Provides runtime type information
Implemented in DocRoot, DocText, DocHtmlBlockQuote, DocHtmlTable, DocHtmlRow, DocHtmlCaption, DocHtmlCell, DocHtmlDescData, DocHtmlListItem, DocSimpleListItem, DocParamList, DocPara, DocParamSect, DocSimpleSectSep, DocSimpleSect, DocHtmlList, DocSimpleList, DocParBlock, DocInternal, DocSecRefList, DocSecRefItem, DocSection, DocHtmlDescList, DocHtmlDescTitle, DocHtmlHeader, DocHRef, DocInternalRef, DocRef, DocLink, DocVhdlFlow, DocDiaFile, DocMscFile, DocDotFile, DocImage, DocXRefItem, DocTitle, DocAutoListItem, DocAutoList, DocCopy, DocIndexEntry, DocFormula, DocIncOperator, DocInclude, DocVerbatim, DocWhiteSpace, DocSymbol, DocStyleChange, DocCite, DocAnchor, DocHorRuler, DocLineBreak, DocURL, DocLinkedWord, and DocWord.
|
inline |
|
inlineprotected |
Sets whether or not this item is inside a preformatted section
Definition at line 162 of file docparser.h.
|
inline |
|
private |
Definition at line 166 of file docparser.h.
|
protected |
Definition at line 163 of file docparser.h.