TextHolder Class Reference

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

+ Inheritance diagram for TextHolder:

Public Member Functions

bool canContainMarkup () const override
 
std::optional< std::string > text () const override
 
 TextHolder (const std::string &text, bool canContainMarkup, unsigned int encodingFlags)
 
void writeAsHtml (std::ostream &out) const override
 
void writeToken (std::ostream &out) const override
 
- Public Member Functions inherited from Token
virtual bool inhibitParagraphs () const
 
virtual bool isBlankLine () const
 
virtual bool isContainer () const
 
virtual bool isMatchedCloseMarker () const
 
virtual bool isMatchedOpenMarker () const
 
virtual bool isUnmatchedCloseMarker () const
 
virtual bool isUnmatchedOpenMarker () const
 
virtual std::optional< TokenGroupprocessSpanElements (const LinkIds &idTable)
 
 Token ()
 
virtual void writeAsOriginal (std::ostream &out) const
 
virtual void writeToken (size_t indent, std::ostream &out) const
 

Additional Inherited Members

- Protected Member Functions inherited from Token
virtual void postWrite (std::ostream &out) const
 
virtual void preWrite (std::ostream &out) const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TextHolder()

TextHolder ( const std::string &  text,
bool  canContainMarkup,
unsigned int  encodingFlags 
)
inline

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

Member Function Documentation

◆ canContainMarkup()

bool canContainMarkup ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

+ Here is the caller graph for this function:

◆ text()

std::optional<std::string> text ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

+ Here is the caller graph for this function:

◆ writeAsHtml()

void writeAsHtml ( std::ostream &  out) const
overridevirtual

Implements Token.

Reimplemented in CodeSpan, and CodeBlock.

Definition at line 309 of file markdown-tokens.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ writeToken()

void writeToken ( std::ostream &  out) const
inlineoverridevirtual

Implements Token.

Reimplemented in BlankLine, Header, CodeSpan, CodeBlock, InlineHtmlComment, InlineHtmlContents, HtmlAnchorTag, HtmlTag, and RawText.

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


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