Container Class Reference

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

+ Inheritance diagram for Container:

Public Member Functions

void appendSubtokens (TokenGroup &tokens)
 
virtual TokenPtr clone (const TokenGroup &newContents) const
 
 Container (const TokenGroup &contents=TokenGroup())
 
virtual std::string containerName () const
 
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 Attributes

bool mParagraphMode
 
TokenGroup mSubTokens
 

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 333 of file markdown-tokens.h.

Constructor & Destructor Documentation

◆ Container()

Container ( const TokenGroup contents = TokenGroup())
inline

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

+ Here is the caller graph for this function:

Member Function Documentation

◆ appendSubtokens()

void appendSubtokens ( TokenGroup tokens)
inline

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

+ Here is the caller graph for this function:

◆ clone()

virtual TokenPtr clone ( const TokenGroup newContents) const
inlinevirtual

Reimplemented in Paragraph, BlockQuote, OrderedList, UnorderedList, ListItem, and InlineHtmlBlock.

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

◆ containerName()

virtual std::string containerName ( ) const
inlinevirtual

Reimplemented in Paragraph, BlockQuote, OrderedList, UnorderedList, ListItem, and InlineHtmlBlock.

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

+ Here is the caller graph for this function:

◆ isContainer()

bool isContainer ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ processSpanElements()

std::optional< TokenGroup > processSpanElements ( const LinkIds idTable)
overridevirtual

Reimplemented from Token.

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

+ Here is the call graph for this function:

◆ subTokens()

const TokenGroup& subTokens ( ) const
inline

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

◆ swapSubtokens()

void swapSubtokens ( TokenGroup tokens)
inline

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

+ Here is the caller graph for this function:

◆ writeAsHtml()

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

Implements Token.

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

+ Here is the call graph for this function:

◆ writeToken() [1/2]

void writeToken ( size_t  indent,
std::ostream &  out 
) const
overridevirtual

Reimplemented from Token.

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

+ Here is the call graph for this function:

◆ writeToken() [2/2]

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

Implements Token.

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

Member Data Documentation

◆ mParagraphMode

bool mParagraphMode
protected

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

◆ mSubTokens

TokenGroup mSubTokens
protected

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


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