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

Constructor & Destructor Documentation

◆ BoldOrItalicMarker()

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

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

Member Function Documentation

◆ cannotMatch()

void cannotMatch ( bool  set)
inline

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

◆ disable()

void disable ( )
inline

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

◆ id()

int id ( ) const
inline

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

◆ isMatchedCloseMarker()

bool isMatchedCloseMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ isMatchedOpenMarker()

bool isMatchedOpenMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ isOpenMarker()

bool isOpenMarker ( ) const
inline

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

◆ isUnmatchedCloseMarker()

bool isUnmatchedCloseMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ isUnmatchedOpenMarker()

bool isUnmatchedOpenMarker ( ) const
inlineoverridevirtual

Reimplemented from Token.

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

◆ matched() [1/2]

bool matched ( ) const
inline

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

◆ matched() [2/2]

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

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

◆ matchedTo()

BoldOrItalicMarker* matchedTo ( ) const
inline

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

◆ size()

size_t size ( ) const
inline

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

◆ tokenCharacter()

char tokenCharacter ( ) const
inline

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

◆ writeAsHtml()

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

Implements Token.

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

◆ writeToken()

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

Implements Token.

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


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