BoldOrItalicMarker Class Reference

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

+ Inheritance diagram for BoldOrItalicMarker:

Public Member Functions

 BoldOrItalicMarker (bool open, char c, size_t size)
 
void cannotMatch (bool set)
 
void disable ()
 
int id () const
 
bool isMatchedCloseMarker () const override
 
bool isMatchedOpenMarker () const override
 
bool isOpenMarker () const
 
bool isUnmatchedCloseMarker () const override
 
bool isUnmatchedOpenMarker () const override
 
bool matched () const
 
void matched (BoldOrItalicMarker *match, int id=-1)
 
BoldOrItalicMarkermatchedTo () const
 
size_t size () const
 
char tokenCharacter () const
 
void writeAsHtml (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 isContainer () const
 
virtual std::optional< TokenGroupprocessSpanElements (const LinkIds &idTable)
 
virtual std::optional< std::string > text () const
 
 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 703 of file markdown-tokens.h.

Constructor & Destructor Documentation

◆ BoldOrItalicMarker()

BoldOrItalicMarker ( bool  open,
char  c,
size_t  size 
)
inline

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

Member Function Documentation

◆ cannotMatch()

void cannotMatch ( bool  set)
inline

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

◆ disable()

void disable ( )
inline

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

◆ id()

int id ( ) const
inline

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

◆ isMatchedCloseMarker()

bool isMatchedCloseMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ isMatchedOpenMarker()

bool isMatchedOpenMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ isOpenMarker()

bool isOpenMarker ( ) const
inline

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

◆ isUnmatchedCloseMarker()

bool isUnmatchedCloseMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ isUnmatchedOpenMarker()

bool isUnmatchedOpenMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ matched() [1/2]

bool matched ( ) const
inline

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

◆ matched() [2/2]

void matched ( BoldOrItalicMarker match,
int  id = -1 
)
inline

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

◆ matchedTo()

BoldOrItalicMarker* matchedTo ( ) const
inline

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

◆ size()

size_t size ( ) const
inline

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

◆ tokenCharacter()

char tokenCharacter ( ) const
inline

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

◆ writeAsHtml()

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

Implements Token.

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

◆ writeToken()

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

Implements Token.

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


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