Doxygen
Loading...
Searching...
No Matches
DocLineBreak Class Reference

Node representing a line break. More...

#include <src/docnode.h>

+ Inheritance diagram for DocLineBreak:
+ Collaboration diagram for DocLineBreak:

Public Member Functions

 DocLineBreak (DocParser *parser, DocNodeVariant *parent)
 
 DocLineBreak (DocParser *parser, DocNodeVariant *parent, const HtmlAttribList &attribs)
 
const HtmlAttribListattribs () const
 
- Public Member Functions inherited from DocNode
 DocNode (DocParser *parser, DocNodeVariant *parent)
 
 ~DocNode ()=default
 
DocNodeVariantparent ()
 
const DocNodeVariantparent () const
 
DocNodeVariantthisVariant ()
 
const DocNodeVariantthisVariant () const
 
void setThisVariant (DocNodeVariant *thisVariant)
 
DocParserparser ()
 
const DocParserparser () const
 
void setParent (DocNodeVariant *parent)
 
bool isPreformatted () const
 

Private Attributes

HtmlAttribList m_attribs
 

Additional Inherited Members

- Protected Types inherited from DocNode
enum  RefType { Unknown , Anchor , Section , Table }
 
- Protected Member Functions inherited from DocNode
void setInsidePreformatted (bool p)
 

Detailed Description

Node representing a line break.

Definition at line 200 of file docnode.h.

Constructor & Destructor Documentation

◆ DocLineBreak() [1/2]

DocLineBreak::DocLineBreak ( DocParser * parser,
DocNodeVariant * parent )
inline

Definition at line 203 of file docnode.h.

DocNode(DocParser *parser, DocNodeVariant *parent)
Definition docnode.h:84
DocParser * parser()
Definition docnode.h:97
DocNodeVariant * parent()
Definition docnode.h:89

References DocNode::DocNode(), DocNode::parent(), and DocNode::parser().

◆ DocLineBreak() [2/2]

DocLineBreak::DocLineBreak ( DocParser * parser,
DocNodeVariant * parent,
const HtmlAttribList & attribs )
inline

Definition at line 204 of file docnode.h.

HtmlAttribList m_attribs
Definition docnode.h:210
const HtmlAttribList & attribs() const
Definition docnode.h:207

References attribs(), DocNode::DocNode(), m_attribs, DocNode::parent(), and DocNode::parser().

Member Function Documentation

◆ attribs()

const HtmlAttribList & DocLineBreak::attribs ( ) const
inline

Definition at line 207 of file docnode.h.

207{ return m_attribs; }

References m_attribs.

Referenced by DocLineBreak(), and HtmlDocVisitor::operator()().

Member Data Documentation

◆ m_attribs

HtmlAttribList DocLineBreak::m_attribs
private

Definition at line 210 of file docnode.h.

Referenced by attribs(), and DocLineBreak().


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