29      flat = 0b100000000000000,
 
   46    inline std::ostream& operator<<(std::ostream& os, 
button_state value) {
return os << 
to_string(value, {{
button_state::normal, 
"normal"}, {
button_state::inactive, 
"inactive"}, {
button_state::pushed, 
"pushed"}, {
button_state::checked, 
"checked"}, {
button_state::flat, 
"flat"}});}
 
   47    inline std::wostream& operator<<(std::wostream& os, 
button_state value) {
return os << 
to_string(value, {{
button_state::normal, L
"normal"}, {
button_state::inactive, L
"inactive"}, {
button_state::pushed, L
"pushed"}, {
button_state::checked, L
"checked"}, {
button_state::flat, L
"flat"}});}
 
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.