printer::MarkdownPrinter
- Inherits: printer::Printer
public
- printer::MarkdownPrinter::BlockQuote
- printer::MarkdownPrinter::Code
- printer::MarkdownPrinter::Header
- printer::MarkdownPrinter::List
- printer::MarkdownPrinter::Paragraph
- printer::MarkdownPrinter::PrettyTable
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:
- const var::StringList &
row
#
append_table_row(const var::StringList &row)MarkdownPrinter & printer::MarkdownPrinter::append_table_row (const var::StringList &row)
Type: MarkdownPrinter &
Parameters:
- const var::StringList &
row
#
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:
- Level
level
#
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:
- var::StringView
text
- var::StringView
link
#
image(var::StringView text, var::StringView link)MarkdownPrinter & printer::MarkdownPrinter::image (var::StringView text, var::StringView link)
Type: MarkdownPrinter &
Parameters:
- var::StringView
text
- var::StringView
link
#
is_pretty_table_valid() constinline
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:
- const var::StringView
key
- Level
level
#
open_blockquote(Level level=Level::info)MarkdownPrinter & printer::MarkdownPrinter::open_blockquote (Level level=Level::info)
Type: MarkdownPrinter &
Parameters:
- Level
level
#
open_code(var::StringView language="", Level level=Level::info)MarkdownPrinter & printer::MarkdownPrinter::open_code (var::StringView language="", Level level=Level::info)
Type: MarkdownPrinter &
Parameters:
- var::StringView
language
- Level
level
#
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:
- const var::StringView
key
- Level
level
#
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:
- const var::StringView
key
- Level
level
#
open_paragraph(Level level=Level::info)MarkdownPrinter & printer::MarkdownPrinter::open_paragraph (Level level=Level::info)
Type: MarkdownPrinter &
Parameters:
- Level
level
#
open_pretty_table(const var::StringList &header)MarkdownPrinter & printer::MarkdownPrinter::open_pretty_table (const var::StringList &header)
Type: MarkdownPrinter &
Parameters:
- const var::StringList &
header
#
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:
- const var::StringList &
header
- Level
level
#
operator<<(const api::Error &error_context)Printer & printer::Printer::operator<< (const api::Error &error_context)
Type: Printer &
Parameters:
- const api::Error &
error_context
#
operator<<(const var::DataInfo &a)Printer & printer::Printer::operator<< (const var::DataInfo &a)
Type: Printer &
Parameters:
- const var::DataInfo &
a
#
operator<<(const var::String &a)Printer & printer::Printer::operator<< (const var::String &a)
Type: Printer &
Parameters:
- const var::String &
a
#
operator<<(const var::StringList &a)Printer & printer::Printer::operator<< (const var::StringList &a)
Type: Printer &
Parameters:
- const var::StringList &
a
#
operator<<(const var::StringViewList &a)Printer & printer::Printer::operator<< (const var::StringViewList &a)
Type: Printer &
Parameters:
- const var::StringViewList &
a
#
operator<<(Directive directive)MarkdownPrinter & printer::MarkdownPrinter::operator<< (Directive directive)
Type: MarkdownPrinter &
Parameters:
- Directive
directive
#
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() constinline
const var::Vector< var::Vector< var::String > > & printer::MarkdownPrinter::pretty_table () const
Type: const var::Vector< var::Vector< var::String > > &