MCPcopy Create free account
hub / github.com/p-ranav/tabulate / apply_element_style

Method apply_element_style

include/tabulate/printer.hpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 size_t num_columns);
62
63 static void apply_element_style(std::ostream &stream, Color foreground_color,
64 Color background_color,
65 const std::vector<FontStyle> &font_style) {
66 apply_foreground_color(stream, foreground_color);
67 apply_background_color(stream, background_color);
68 for (auto &style : font_style)
69 apply_font_style(stream, style);
70 }
71
72 static void reset_element_style(std::ostream &stream) { stream << termcolor::reset; }
73

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected