31 inline std::ostream& operator<<(std::ostream& os,
lcd_style value) {
return os <<
to_string(value, {{
lcd_style::seven_segment_display,
"seven_segment_display"}, {
lcd_style::nine_segment_display,
"nine_segment_display"}, {
lcd_style::fourteen_segment_display,
"fourteen_segment_display"}, {
lcd_style::sixteen_segment_display,
"sixteen_segment_display"}, {
lcd_style::dot_matrix_display,
"dot_matrix_display"}});}
32 inline std::wostream& operator<<(std::wostream& os,
lcd_style value) {
return os <<
to_string(value, {{
lcd_style::seven_segment_display, L
"seven_segment_display"}, {
lcd_style::nine_segment_display, L
"nine_segment_display"}, {
lcd_style::fourteen_segment_display, L
"fourteen_segment_display"}, {
lcd_style::sixteen_segment_display, L
"sixteen_segment_display"}, {
lcd_style::dot_matrix_display, L
"dot_matrix_display"}});}
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.