Skip to main content

printer::MarkdownPrinter

Types

Directive#

  • no_directive
  • emphasis_bold
  • emphasis_italic
  • emphasis_underline
  • emphasis_strikethrough
  • suppress_newline
  • insert_newline

ListType#

  • unordered
  • ordered

Functions

MarkdownPrinter()#

printer::MarkdownPrinter::MarkdownPrinter ()

append_pretty_table_row(const var::StringList &row)#

MarkdownPrinter & printer::MarkdownPrinter::append_pretty_table_row (const var::StringList &row)

Type: MarkdownPrinter &

Parameters:

append_table_row(const var::StringList &row)#

MarkdownPrinter & printer::MarkdownPrinter::append_table_row (const var::StringList &row)

Type: MarkdownPrinter &

Parameters:

close()#

inline

MarkdownPrinter & printer::MarkdownPrinter::close ()

Type: MarkdownPrinter &

close_array()#

inline

MarkdownPrinter & printer::MarkdownPrinter::close_array ()

Type: MarkdownPrinter &

close_blockquote()#

MarkdownPrinter & printer::MarkdownPrinter::close_blockquote ()

Type: MarkdownPrinter &

close_code()#

MarkdownPrinter & printer::MarkdownPrinter::close_code ()

Type: MarkdownPrinter &

close_header()#

MarkdownPrinter & printer::MarkdownPrinter::close_header ()

Type: MarkdownPrinter &

close_list()#

MarkdownPrinter & printer::MarkdownPrinter::close_list ()

Type: MarkdownPrinter &

close_object()#

inline

MarkdownPrinter & printer::MarkdownPrinter::close_object ()

Type: MarkdownPrinter &

close_paragraph()#

MarkdownPrinter & printer::MarkdownPrinter::close_paragraph ()

Type: MarkdownPrinter &

close_pretty_table(Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::close_pretty_table (Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

close_table()#

MarkdownPrinter & printer::MarkdownPrinter::close_table ()

Type: MarkdownPrinter &

horizontal_line()#

MarkdownPrinter & printer::MarkdownPrinter::horizontal_line ()

Type: MarkdownPrinter &

hyperlink(var::StringView text, var::StringView link)#

MarkdownPrinter & printer::MarkdownPrinter::hyperlink (var::StringView text, var::StringView link)

Type: MarkdownPrinter &

Parameters:

image(var::StringView text, var::StringView link)#

MarkdownPrinter & printer::MarkdownPrinter::image (var::StringView text, var::StringView link)

Type: MarkdownPrinter &

Parameters:

is_pretty_table_valid() const#

inline

bool printer::MarkdownPrinter::is_pretty_table_valid () const

Type: bool

open_array(const var::StringView key, Level level=Level::fatal)#

inline

MarkdownPrinter & printer::MarkdownPrinter::open_array (const var::StringView key, Level level=Level::fatal)

Type: MarkdownPrinter &

Parameters:

open_blockquote(Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::open_blockquote (Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

open_code(var::StringView language="", Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::open_code (var::StringView language="", Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

open_header(const var::StringView key, Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::open_header (const var::StringView key, Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

open_list(ListType type=ListType::unordered, Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::open_list (ListType type=ListType::unordered, Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

open_object(const var::StringView key, Level level=Level::fatal)#

inline

MarkdownPrinter & printer::MarkdownPrinter::open_object (const var::StringView key, Level level=Level::fatal)

Type: MarkdownPrinter &

Parameters:

open_paragraph(Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::open_paragraph (Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

open_pretty_table(const var::StringList &header)#

MarkdownPrinter & printer::MarkdownPrinter::open_pretty_table (const var::StringList &header)

Type: MarkdownPrinter &

Parameters:

open_table(const var::StringList &header, Level level=Level::info)#

MarkdownPrinter & printer::MarkdownPrinter::open_table (const var::StringList &header, Level level=Level::info)

Type: MarkdownPrinter &

Parameters:

operator<<(const api::Error &error_context)#

Printer & printer::Printer::operator<< (const api::Error &error_context)

Type: Printer &

Parameters:

operator<<(const var::DataInfo &a)#

Printer & printer::Printer::operator<< (const var::DataInfo &a)

Type: Printer &

Parameters:

operator<<(const var::String &a)#

Printer & printer::Printer::operator<< (const var::String &a)

Type: Printer &

Parameters:

operator<<(const var::StringList &a)#

Printer & printer::Printer::operator<< (const var::StringList &a)

Type: Printer &

Parameters:

operator<<(const var::StringViewList &a)#

Printer & printer::Printer::operator<< (const var::StringViewList &a)

Type: Printer &

Parameters:

operator<<(Directive directive)#

MarkdownPrinter & printer::MarkdownPrinter::operator<< (Directive directive)

Type: MarkdownPrinter &

Parameters:

operator<<(float a)#

Printer & printer::Printer::operator<< (float a)

Type: Printer &

Parameters:

  • float a

operator<<(s16 a)#

Printer & printer::Printer::operator<< (s16 a)

Type: Printer &

Parameters:

  • s16 a

operator<<(s32 a)#

Printer & printer::Printer::operator<< (s32 a)

Type: Printer &

Parameters:

  • s32 a

operator<<(s8 a)#

Printer & printer::Printer::operator<< (s8 a)

Type: Printer &

Parameters:

  • s8 a

operator<<(u16 a)#

Printer & printer::Printer::operator<< (u16 a)

Type: Printer &

Parameters:

  • u16 a

operator<<(u32 a)#

Printer & printer::Printer::operator<< (u32 a)

Type: Printer &

Parameters:

  • u32 a

operator<<(u8 a)#

Printer & printer::Printer::operator<< (u8 a)

Type: Printer &

Parameters:

  • u8 a

operator<<(var::StringView a)#

Printer & printer::Printer::operator<< (var::StringView a)

Type: Printer &

Parameters:

operator<<(var::View a)#

Printer & printer::Printer::operator<< (var::View a)

Type: Printer &

Parameters:

operator<<(void *a)#

Printer & printer::Printer::operator<< (void *a)

Type: Printer &

Parameters:

  • void * a

pretty_table() const#

inline

const var::Vector< var::Vector< var::String > > & printer::MarkdownPrinter::pretty_table () const

Type: const var::Vector< var::Vector< var::String > > &