Paragraph Class Reference

#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/cpp-markdown/markdown-tokens.h>

+ Inheritance diagram for Paragraph:

Public Member Functions

TokenPtr clone (const TokenGroup &newContents) const override
 
std::string containerName () const override
 
 Paragraph ()
 
 Paragraph (const TokenGroup &contents)
 
- Public Member Functions inherited from Container
void appendSubtokens (TokenGroup &tokens)
 
 Container (const TokenGroup &contents=TokenGroup())
 
bool isContainer () const override
 
std::optional< TokenGroupprocessSpanElements (const LinkIds &idTable) override
 
const TokenGroupsubTokens () const
 
void swapSubtokens (TokenGroup &tokens)
 
void writeAsHtml (std::ostream &out) const override
 
void writeToken (size_t indent, std::ostream &out) const override
 
void writeToken (std::ostream &out) const override
 
- Public Member Functions inherited from Token
virtual bool canContainMarkup () const
 
virtual bool inhibitParagraphs () const
 
virtual bool isBlankLine () const
 
virtual bool isMatchedCloseMarker () const
 
virtual bool isMatchedOpenMarker () const
 
virtual bool isUnmatchedCloseMarker () const
 
virtual bool isUnmatchedOpenMarker () const
 
virtual std::optional< std::string > text () const
 
 Token ()
 
virtual void writeAsOriginal (std::ostream &out) const
 

Protected Member Functions

void postWrite (std::ostream &out) const override
 
void preWrite (std::ostream &out) const override
 

Additional Inherited Members

- Protected Attributes inherited from Container
bool mParagraphMode
 
TokenGroup mSubTokens
 

Detailed Description

Definition at line 531 of file markdown-tokens.h.

Constructor & Destructor Documentation

◆ Paragraph() [1/2]

Paragraph ( )
inline

Definition at line 534 of file markdown-tokens.h.

◆ Paragraph() [2/2]

Paragraph ( const TokenGroup contents)
inline

Definition at line 535 of file markdown-tokens.h.

Member Function Documentation

◆ clone()

TokenPtr clone ( const TokenGroup newContents) const
inlineoverridevirtual

Reimplemented from Container.

Definition at line 537 of file markdown-tokens.h.

◆ containerName()

std::string containerName ( ) const
inlineoverridevirtual

Reimplemented from Container.

Definition at line 541 of file markdown-tokens.h.

◆ postWrite()

void postWrite ( std::ostream &  out) const
inlineoverrideprotectedvirtual

Reimplemented from Token.

Definition at line 551 of file markdown-tokens.h.

◆ preWrite()

void preWrite ( std::ostream &  out) const
inlineoverrideprotectedvirtual

Reimplemented from Token.

Definition at line 547 of file markdown-tokens.h.


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