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)
 
BoldOrItalicMarker * matchedTo () 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< TokenGroup > processSpanElements (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
 

Constructor & Destructor Documentation

◆ BoldOrItalicMarker()

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

Member Function Documentation

◆ cannotMatch()

void cannotMatch ( bool set)
inline

◆ disable()

void disable ( )
inline

◆ id()

int id ( ) const
inline

◆ isMatchedCloseMarker()

bool isMatchedCloseMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

◆ isMatchedOpenMarker()

bool isMatchedOpenMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

◆ isOpenMarker()

bool isOpenMarker ( ) const
inline

◆ isUnmatchedCloseMarker()

bool isUnmatchedCloseMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

◆ isUnmatchedOpenMarker()

bool isUnmatchedOpenMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

◆ matched() [1/2]

bool matched ( ) const
inline

◆ matched() [2/2]

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

◆ matchedTo()

BoldOrItalicMarker * matchedTo ( ) const
inline

◆ size()

size_t size ( ) const
inline

◆ tokenCharacter()

char tokenCharacter ( ) const
inline

◆ writeAsHtml()

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

Implements Token.

◆ writeToken()

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

Implements Token.


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