ListItem Class Reference

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

+ Inheritance diagram for ListItem:

Public Member Functions

TokenPtr clone (const TokenGroup &newContents) const override
 
std::string containerName () const override
 
bool inhibitParagraphs () const override
 
void inhibitParagraphs (bool set)
 
 ListItem (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 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 416 of file markdown-tokens.h.

Constructor & Destructor Documentation

◆ ListItem()

ListItem ( const TokenGroup contents)
inline

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

Member Function Documentation

◆ clone()

TokenPtr clone ( const TokenGroup newContents) const
inlineoverridevirtual

Reimplemented from Container.

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

◆ containerName()

std::string containerName ( ) const
inlineoverridevirtual

Reimplemented from Container.

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

◆ inhibitParagraphs() [1/2]

bool inhibitParagraphs ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ inhibitParagraphs() [2/2]

void inhibitParagraphs ( bool  set)
inline

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

+ Here is the caller graph for this function:

◆ postWrite()

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

Reimplemented from Token.

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

◆ preWrite()

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

Reimplemented from Token.

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


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