CodeBlock Class Reference

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

+ Inheritance diagram for CodeBlock:

Public Member Functions

 CodeBlock (const std::string &actualContents)
 
void writeAsHtml (std::ostream &out) const override
 
void writeToken (std::ostream &out) const override
 
- Public Member Functions inherited from TextHolder
bool canContainMarkup () const override
 
std::optional< std::string > text () const override
 
 TextHolder (const std::string &text, bool canContainMarkup, unsigned int encodingFlags)
 
- 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 231 of file markdown-tokens.h.

Constructor & Destructor Documentation

◆ CodeBlock()

CodeBlock ( const std::string &  actualContents)
inline

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

Member Function Documentation

◆ writeAsHtml()

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

Reimplemented from TextHolder.

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

+ Here is the call graph for this function:

◆ writeToken()

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

Reimplemented from TextHolder.

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


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