My Project
|
#include <docparser.h>
Public Member Functions | |
DocVerbatim (DocNode *parent, const QCString &context, const QCString &text, Type t, bool isExample, const QCString &exampleFile, bool isBlock=FALSE, const QCString &lang=QCString()) | |
Kind | kind () const |
Type | type () const |
QCString | text () const |
QCString | context () const |
void | accept (DocVisitor *v) |
bool | isExample () const |
QCString | exampleFile () const |
QCString | relPath () const |
QCString | language () const |
bool | isBlock () const |
bool | hasCaption () const |
QCString | width () const |
QCString | height () const |
const QList< DocNode > & | children () const |
QList< DocNode > & | children () |
void | setText (const QCString &t) |
void | setWidth (const QCString &w) |
void | setHeight (const QCString &h) |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Attributes | |
QCString | m_context |
QCString | m_text |
Type | m_type |
bool | m_isExample |
QCString | m_exampleFile |
QCString | m_relPath |
QCString | m_lang |
bool | m_isBlock |
QCString | m_width |
QCString | m_height |
QList< DocNode > | m_children |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing a verbatim, unparsed text fragment
Definition at line 441 of file docparser.h.
enum DocVerbatim::Type |
DocVerbatim::DocVerbatim | ( | DocNode * | parent, |
const QCString & | context, | ||
const QCString & | text, | ||
Type | t, | ||
bool | isExample, | ||
const QCString & | exampleFile, | ||
bool | isBlock = FALSE , |
||
const QCString & | lang = QCString() |
||
) |
Definition at line 1896 of file docparser.cpp.
References DocNode::m_parent, and DocNode::parent().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 452 of file docparser.h.
References DocVisitor::visit().
|
inline |
Definition at line 461 of file docparser.h.
References m_children.
Referenced by DocPara::handleCommand(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), PerlModDocVisitor::visit(), DocbookDocVisitor::writeDiaFile(), LatexDocVisitor::writeDiaFile(), DocbookDocVisitor::writeDotFile(), DocbookDocVisitor::writeMscFile(), LatexDocVisitor::writeMscFile(), DocbookDocVisitor::writePlantUMLFile(), and LatexDocVisitor::writePlantUMLFile().
|
inline |
|
inline |
Definition at line 451 of file docparser.h.
References m_context.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 454 of file docparser.h.
References m_exampleFile.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 458 of file docparser.h.
References m_children.
Referenced by RTFDocVisitor::visit(), XmlDocVisitor::visit(), LatexDocVisitor::visit(), PerlModDocVisitor::visit(), visitPostCaption(), visitPreCaption(), DocbookDocVisitor::writeDiaFile(), LatexDocVisitor::writeDiaFile(), DocbookDocVisitor::writeDotFile(), DocbookDocVisitor::writeMscFile(), LatexDocVisitor::writeMscFile(), DocbookDocVisitor::writePlantUMLFile(), and LatexDocVisitor::writePlantUMLFile().
|
inline |
Definition at line 460 of file docparser.h.
References m_height.
Referenced by XmlDocVisitor::visit(), LatexDocVisitor::visit(), DocbookDocVisitor::writeDiaFile(), LatexDocVisitor::writeDiaFile(), DocbookDocVisitor::writeDotFile(), DocbookDocVisitor::writeMscFile(), LatexDocVisitor::writeMscFile(), DocbookDocVisitor::writePlantUMLFile(), and LatexDocVisitor::writePlantUMLFile().
|
inline |
Definition at line 457 of file docparser.h.
References m_isBlock.
Referenced by mustBeOutsideParagraph(), and HtmlDocVisitor::visit().
|
inline |
Definition at line 453 of file docparser.h.
References m_isExample.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 448 of file docparser.h.
References DocNode::Kind_Verbatim.
|
inline |
Definition at line 456 of file docparser.h.
References m_lang.
Referenced by ManDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), and LatexDocVisitor::visit().
|
inline |
Definition at line 455 of file docparser.h.
References m_relPath.
Referenced by HtmlDocVisitor::visit().
|
inline |
Definition at line 465 of file docparser.h.
References m_height.
Referenced by DocPara::handleCommand().
|
inline |
Definition at line 463 of file docparser.h.
References m_text.
Referenced by DocPara::handleCommand().
|
inline |
Definition at line 464 of file docparser.h.
References m_width.
Referenced by DocPara::handleCommand().
|
inline |
Definition at line 450 of file docparser.h.
References m_text.
Referenced by DocbookDocVisitor::visit(), ManDocVisitor::visit(), TextDocVisitor::visit(), RTFDocVisitor::visit(), XmlDocVisitor::visit(), HtmlDocVisitor::visit(), LatexDocVisitor::visit(), PrintDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 449 of file docparser.h.
References m_type.
Referenced by mustBeOutsideParagraph(), DocbookDocVisitor::visit(), RTFDocVisitor::visit(), ManDocVisitor::visit(), XmlDocVisitor::visit(), LatexDocVisitor::visit(), HtmlDocVisitor::visit(), PrintDocVisitor::visit(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 459 of file docparser.h.
References m_width.
Referenced by XmlDocVisitor::visit(), LatexDocVisitor::visit(), DocbookDocVisitor::writeDiaFile(), LatexDocVisitor::writeDiaFile(), DocbookDocVisitor::writeDotFile(), DocbookDocVisitor::writeMscFile(), LatexDocVisitor::writeMscFile(), DocbookDocVisitor::writePlantUMLFile(), and LatexDocVisitor::writePlantUMLFile().
|
private |
Definition at line 478 of file docparser.h.
Referenced by children(), and hasCaption().
|
private |
Definition at line 468 of file docparser.h.
Referenced by context().
|
private |
Definition at line 472 of file docparser.h.
Referenced by exampleFile().
|
private |
Definition at line 477 of file docparser.h.
Referenced by height(), and setHeight().
|
private |
Definition at line 475 of file docparser.h.
Referenced by isBlock().
|
private |
Definition at line 471 of file docparser.h.
Referenced by isExample().
|
private |
Definition at line 474 of file docparser.h.
Referenced by language().
|
private |
Definition at line 473 of file docparser.h.
Referenced by relPath().
|
private |
Definition at line 469 of file docparser.h.
|
private |
Definition at line 470 of file docparser.h.
Referenced by type().
|
private |
Definition at line 476 of file docparser.h.
Referenced by setWidth(), and width().