Skip to main content

The DocVerbatim Class Reference

Node representing a verbatim, unparsed text fragment. More...

Declaration

class DocVerbatim { ... }

Included Headers

#include <src/docnode.h>

Base class

classDocNode

Abstract node interface with type information. More...

Enumerations Index

enumType { ... }

Public Constructors Index

DocVerbatim (DocParser *parser, DocNodeVariant *parent, const QCString &context, const QCString &text, Type t, bool isExample, const QCString &exampleFile, bool isBlock=FALSE, const QCString &lang=QCString())

Public Member Functions Index

Typetype () const
QCStringtext () const
QCStringcontext () const
boolisExample () const
QCStringexampleFile () const
QCStringrelPath () const
QCStringlanguage () const
boolisBlock () const
boolhasCaption () const
QCStringwidth () const
QCStringheight () const
QCStringengine () const
booluseBitmap () const
const DocNodeList &children () const
DocNodeList &children ()
QCStringsrcFile () const
intsrcLine () const
voidsetText (const QCString &t)
voidsetWidth (const QCString &w)
voidsetHeight (const QCString &h)
voidsetEngine (const QCString &e)
voidsetUseBitmap (const bool &u)
voidsetLocation (const QCString &file, int line)

Private Member Attributes Index

std::unique_ptr< Private >p

Description

Node representing a verbatim, unparsed text fragment.

Definition at line 375 of file docnode.h.

Enumerations

Type

enum DocVerbatim::Type
Enumeration values
Code
HtmlOnly
ManOnly
LatexOnly
RtfOnly
XmlOnly
Verbatim
Dot
Msc
DocbookOnly
PlantUML
JavaDocCode
JavaDocLiteral

Definition at line 378 of file docnode.h.

Public Constructors

DocVerbatim()

DocVerbatim::DocVerbatim (DocParser * parser, DocNodeVariant * parent, const QCString & context, const QCString & text, Type t, bool isExample, const QCString & exampleFile, bool isBlock=FALSE, const QCString & lang=QCString())

Declaration at line 379 of file docnode.h, definition at line 258 of file docnode.cpp.

References context, DocNode::DocNode, exampleFile, isBlock, isExample, p, DocNode::parent, DocNode::parser, relPath and text.

Public Member Functions

children()

children()

DocNodeList & DocVerbatim::children ()
inline

Definition at line 396 of file docnode.h.

396 DocNodeList &children() { return p->children; }

Reference p.

context()

QCString DocVerbatim::context ()
inline

engine()

QCString DocVerbatim::engine ()
inline

exampleFile()

QCString DocVerbatim::exampleFile ()
inline

hasCaption()

height()

isBlock()

bool DocVerbatim::isBlock ()
inline

Definition at line 389 of file docnode.h.

389 bool isBlock() const { return p->isBlock; }

Reference p.

Referenced by DocVerbatim, mustBeOutsideParagraph, HtmlDocVisitor::operator() and XmlDocVisitor::operator().

isExample()

bool DocVerbatim::isExample ()
inline

language()

QCString DocVerbatim::language ()
inline

relPath()

QCString DocVerbatim::relPath ()
inline

setEngine()

void DocVerbatim::setEngine (const QCString & e)
inline

Definition at line 402 of file docnode.h.

402 void setEngine(const QCString &e) { p->engine=e; }

Reference p.

Referenced by DocPara::handleCommand.

setHeight()

void DocVerbatim::setHeight (const QCString & h)
inline

Definition at line 401 of file docnode.h.

401 void setHeight(const QCString &h) { p->height=h; }

Reference p.

setLocation()

void DocVerbatim::setLocation (const QCString & file, int line)
inline

Definition at line 404 of file docnode.h.

404 void setLocation(const QCString &file,int line) { p->srcFile=file; p->srcLine=line; }

Reference p.

setText()

void DocVerbatim::setText (const QCString & t)
inline

Definition at line 399 of file docnode.h.

399 void setText(const QCString &t) { p->text=t; }

Reference p.

setUseBitmap()

void DocVerbatim::setUseBitmap (const bool & u)
inline

Definition at line 403 of file docnode.h.

403 void setUseBitmap(const bool &u) { p->useBitmap=u; }

Reference p.

setWidth()

void DocVerbatim::setWidth (const QCString & w)
inline

Definition at line 400 of file docnode.h.

400 void setWidth(const QCString &w) { p->width=w; }

Reference p.

srcFile()

srcLine()

text()

type()

useBitmap()

bool DocVerbatim::useBitmap ()
inline

Definition at line 394 of file docnode.h.

394 bool useBitmap() const { return p->useBitmap; }

Reference p.

Referenced by LatexDocVisitor::operator() and LatexDocVisitor::writePlantUMLFile.

width()

Private Member Attributes

p

std::unique_ptr<Private> DocVerbatim::p

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


Generated via doxygen2docusaurus by Doxygen 1.14.0.