73 enum class keys : long long {
469 function = 0x00200000,
477 inline keys& operator +=(
keys& lhs,
keys rhs) {lhs =
static_cast<keys>(
static_cast<long long>(lhs) +
static_cast<long long>(rhs));
return lhs;}
478 inline keys& operator -=(
keys& lhs,
keys rhs) {lhs =
static_cast<keys>(
static_cast<long long>(lhs) -
static_cast<long long>(rhs));
return lhs;}
479 inline keys& operator &=(
keys& lhs,
keys rhs) {lhs =
static_cast<keys>(
static_cast<long long>(lhs) &
static_cast<long long>(rhs));
return lhs;}
480 inline keys& operator |=(
keys& lhs,
keys rhs) {lhs =
static_cast<keys>(
static_cast<long long>(lhs) |
static_cast<long long>(rhs));
return lhs;}
481 inline keys& operator ^=(
keys& lhs,
keys rhs) {lhs =
static_cast<keys>(
static_cast<long long>(lhs) ^
static_cast<long long>(rhs));
return lhs;}
482 inline keys operator +(
keys lhs,
keys rhs) {
return static_cast<keys>(
static_cast<long long>(lhs) +
static_cast<long long>(rhs));}
483 inline keys operator -(
keys lhs,
keys rhs) {
return static_cast<keys>(
static_cast<long long>(lhs) -
static_cast<long long>(rhs));}
484 inline keys operator ~(
keys rhs) {
return static_cast<keys>(~static_cast<long long>(rhs));}
485 inline keys operator &(
keys lhs,
keys rhs) {
return static_cast<keys>(
static_cast<long long>(lhs) &
static_cast<long long>(rhs));}
486 inline keys operator |(
keys lhs,
keys rhs) {
return static_cast<keys>(
static_cast<long long>(lhs) |
static_cast<long long>(rhs));}
487 inline keys operator ^(
keys lhs,
keys rhs) {
return static_cast<keys>(
static_cast<long long>(lhs) ^
static_cast<long long>(rhs));}
488 inline std::ostream& operator<<(std::ostream& os,
keys value) {
return os <<
xtd::to_string(value, {{
keys::none,
"none"}, {
keys::lbutton,
"lbutton"}, {
keys::rbutton,
"rbutton"}, {
keys::cancel,
"cancel"}, {
keys::mbutton,
"none"}, {
keys::xbutton1,
"xbutton1"}, {
keys::xbutton2,
"xbutton2"}, {
keys::back,
"back"}, {
keys::tab,
"tab"}, {
keys::line_feed,
"line_feed"}, {
keys::clear,
"clear"}, {
keys::enter,
"enter"}, {
keys::shift_key,
"shift_key"}, {
keys::control_key,
"control_key"}, {
keys::menu,
"menu"}, {
keys::pause,
"pause"}, {
keys::caps_lock,
"caps_lock"}, {
keys::kana_mode,
"kana_mode"}, {
keys::junja_mode,
"junja_mode"}, {
keys::final_mode,
"final_mode"}, {
keys::kanji_mode,
"kanji_mode"}, {
keys::escape,
"escape"}, {
keys::ime_convert,
"ime_convert"}, {
keys::ime_nonconvert,
"ime_nonconvert"}, {
keys::ime_mode_change,
"ime_mode_change"}, {
keys::space,
"space"}, {
keys::page_up,
"page_up"}, {
keys::page_down,
"page_down"}, {
keys::end,
"end"}, {
keys::home,
"home"}, {
keys::left,
"left"}, {
keys::up,
"up"}, {
keys::right,
"right"}, {
keys::down,
"down"}, {
keys::select,
"select"}, {
keys::print,
"print"}, {
keys::execute,
"execute"}, {
keys::print_screen,
"print_screen"}, {
keys::insert,
"insert"}, {
keys::del,
"del"}, {
keys::help,
"help"}, {
keys::d0,
"d0"}, {
keys::d1,
"d1"}, {
keys::d2,
"d2"}, {
keys::d3,
"d3"}, {
keys::d4,
"d4"}, {
keys::d5,
"d5"}, {
keys::d6,
"d6"}, {
keys::d7,
"d7"}, {
keys::d8,
"d8"}, {
keys::d9,
"d9"}, {
keys::a,
"a"}, {
keys::b,
"b"}, {
keys::c,
"c"}, {
keys::d,
"d"}, {
keys::e,
"e"}, {
keys::f,
"f"}, {
keys::g,
"g"}, {
keys::h,
"h"}, {
keys::i,
"i"}, {
keys::j,
"j"}, {
keys::k,
"k"}, {
keys::l,
"l"}, {
keys::m,
"m"}, {
keys::n,
"n"}, {
keys::o,
"o"}, {
keys::p,
"p"}, {
keys::q,
"q"}, {
keys::r,
"r"}, {
keys::s,
"s"}, {
keys::t,
"t"}, {
keys::u,
"u"}, {
keys::v,
"v"}, {
keys::w,
"w"}, {
keys::x,
"x"}, {
keys::y,
"y"}, {
keys::z,
"z"}, {
keys::lwin,
"lwin"}, {
keys::rwin,
"rwin"}, {
keys::apps,
"apps"}, {
keys::num_pad0,
"num_pad0"}, {
keys::num_pad1,
"num_pad1"}, {
keys::num_pad2,
"num_pad2"}, {
keys::num_pad3,
"num_pad3"}, {
keys::num_pad4,
"num_pad4"}, {
keys::num_pad5,
"num_pad5"}, {
keys::num_pad6,
"num_pad6"}, {
keys::num_pad7,
"num_pad7"}, {
keys::num_pad8,
"num_pad8"}, {
keys::num_pad9,
"bum_pad9"}, {
keys::multiply,
"multiply"}, {
keys::add,
"add"}, {
keys::separator,
"separator"}, {
keys::subtract,
"subtract"}, {
keys::decimal,
"decimal"}, {
keys::divide,
"divide"}, {
keys::f1,
"f1"}, {
keys::f2,
"f2"}, {
keys::f3,
"f3"}, {
keys::f4,
"f4"}, {
keys::f5,
"f5"}, {
keys::f6,
"f6"}, {
keys::f7,
"f7"}, {
keys::f8,
"f8"}, {
keys::f9,
"f9"}, {
keys::f10,
"f10"}, {
keys::f11,
"f11"}, {
keys::f12,
"f12"}, {
keys::f13,
"f13"}, {
keys::f14,
"f14"}, {
keys::f15,
"f15"}, {
keys::f16,
"f16"}, {
keys::f17,
"f17"}, {
keys::f18,
"f18"}, {
keys::f19,
"f19"}, {
keys::f20,
"f20"}, {
keys::f21,
"f21"}, {
keys::f22,
"f22"}, {
keys::f23,
"f23"}, {
keys::f24,
"f24"}, {
keys::num_lock,
"num_lock"}, {
keys::scroll,
"scroll"}, {
keys::lshift_key,
"lshift_key"}, {
keys::rshift_key,
"rshift_key"}, {
keys::lcontrol_key,
"lcontrol_key"}, {
keys::rcontrol_key,
"rcontrol_key"}, {
keys::lmenu,
"lmenu"}, {
keys::rmenu,
"rmenu"}, {
keys::browser_back,
"browser_back"}, {
keys::browser_favorites,
"browser_favorites"}, {
keys::browser_forward,
"browser_forward"}, {
keys::browser_home,
"browser_home"}, {
keys::browser_refresh,
"browser_refresh"}, {
keys::browser_search,
"browser_search"}, {
keys::browser_stop,
"browser_stop"}, {
keys::volume_down,
"volume_down"}, {
keys::volume_mute,
"volume_mute"}, {
keys::volume_up,
"volume_up"}, {
keys::media_next_track,
"media_next_track"}, {
keys::media_play_pause,
"media_play_pause"}, {
keys::media_previous_track,
"media_previous_track"}, {
keys::media_stop,
"media_stop"}, {
keys::launch_mail,
"launch_mail"}, {
keys::select_media,
"select_media"}, {
keys::launch_application1,
"launch_application1"}, {
keys::launch_application2,
"launch_application2"}, {
keys::oem_plus,
"oem_plus"}, {
keys::oem_comma,
"oem_comma"}, {
keys::oem_minus,
"oem_minus"}, {
keys::oem_period,
"oem_period"}, {
keys::oem_question,
"oem_question"}, {
keys::oem_tilde,
"oem_tilde"}, {
keys::oem_open_brackets,
"oem_open_brackets"}, {
keys::oem_pipe,
"oem_pipe"}, {
keys::oem_close_brackets,
"oem_close_brackets"}, {
keys::oem_quotes,
"oem_quotes"}, {
keys::oem8,
"oem8"}, {
keys::oem_backslash,
"oem_backslash"}, {
keys::process_key,
"process_key"}, {
keys::attn,
"attn"}, {
keys::crsel,
"crsel"}, {
keys::exsel,
"exsel"}, {
keys::erase_eof,
"erase_eof"}, {
keys::play,
"play"}, {
keys::zoom,
"zoom"}, {
keys::no_name,
"no_name"}, {
keys::pa1,
"pa1"}, {
keys::oem_clear,
"oem_clear"}, {
keys::key_code,
"key_code"}, {
keys::shift,
"shift"}, {
keys::control,
"control"}, {
keys::alt,
"alt"}, {
keys::command,
"command"}, {
keys::meta,
"meta"}, {
keys::function,
"function"}, {
keys::modifiers,
"modifiers"}, {
keys::ime_accept,
"ime_accept"}, {
keys::oem1,
"oem1"}, {
keys::packet,
"packet"}, {
keys::sleep,
"sleep"}, {
keys::command_key,
"command_key"}, {
keys::lcommand_key,
"lcommand_key"}, {
keys::rcommand_key,
"rcommand_key"}, {
keys::function_key,
"function_key"}});}
489 inline std::wostream& operator<<(std::wostream& os,
keys value) {
return os <<
xtd::to_string(value, {{
keys::none, L
"none"}, {
keys::lbutton, L
"lbutton"}, {
keys::rbutton, L
"rbutton"}, {
keys::cancel, L
"cancel"}, {
keys::mbutton, L
"none"}, {
keys::xbutton1, L
"xbutton1"}, {
keys::xbutton2, L
"xbutton2"}, {
keys::back, L
"back"}, {
keys::tab, L
"tab"}, {
keys::line_feed, L
"line_feed"}, {
keys::clear, L
"clear"}, {
keys::ret, L
"ret"}, {
keys::shift_key, L
"shift_key"}, {
keys::control_key, L
"control_key"}, {
keys::menu, L
"menu"}, {
keys::pause, L
"pause"}, {
keys::caps_lock, L
"caps_lock"}, {
keys::kana_mode, L
"kana_mode"}, {
keys::junja_mode, L
"junja_mode"}, {
keys::final_mode, L
"final_mode"}, {
keys::kanji_mode, L
"kanji_mode"}, {
keys::escape, L
"escape"}, {
keys::ime_convert, L
"ime_convert"}, {
keys::ime_nonconvert, L
"ime_nonconvert"}, {
keys::ime_mode_change, L
"ime_mode_change"}, {
keys::space, L
"space"}, {
keys::page_up, L
"page_up"}, {
keys::page_down, L
"page_down"}, {
keys::end, L
"end"}, {
keys::home, L
"home"}, {
keys::left, L
"left"}, {
keys::up, L
"up"}, {
keys::right, L
"right"}, {
keys::down, L
"down"}, {
keys::select, L
"select"}, {
keys::print, L
"print"}, {
keys::execute, L
"execute"}, {
keys::print_screen, L
"print_screen"}, {
keys::insert, L
"insert"}, {
keys::del, L
"del"}, {
keys::help, L
"help"}, {
keys::d0, L
"d0"}, {
keys::d1, L
"d1"}, {
keys::d2, L
"d2"}, {
keys::d3, L
"d3"}, {
keys::d4, L
"d4"}, {
keys::d5, L
"d5"}, {
keys::d6, L
"d6"}, {
keys::d7, L
"d7"}, {
keys::d8, L
"d8"}, {
keys::d9, L
"d9"}, {
keys::a, L
"a"}, {
keys::b, L
"b"}, {
keys::c, L
"c"}, {
keys::d, L
"d"}, {
keys::e, L
"e"}, {
keys::f, L
"f"}, {
keys::g, L
"g"}, {
keys::h, L
"h"}, {
keys::i, L
"i"}, {
keys::j, L
"j"}, {
keys::k, L
"k"}, {
keys::l, L
"l"}, {
keys::m, L
"m"}, {
keys::n, L
"n"}, {
keys::o, L
"o"}, {
keys::p, L
"p"}, {
keys::q, L
"q"}, {
keys::r, L
"r"}, {
keys::s, L
"s"}, {
keys::t, L
"t"}, {
keys::u, L
"u"}, {
keys::v, L
"v"}, {
keys::w, L
"w"}, {
keys::x, L
"x"}, {
keys::y, L
"y"}, {
keys::z, L
"z"}, {
keys::lwin, L
"lwin"}, {
keys::rwin, L
"rwin"}, {
keys::apps, L
"apps"}, {
keys::num_pad0, L
"num_pad0"}, {
keys::num_pad1, L
"num_pad1"}, {
keys::num_pad2, L
"num_pad2"}, {
keys::num_pad3, L
"num_pad3"}, {
keys::num_pad4, L
"num_pad4"}, {
keys::num_pad5, L
"num_pad5"}, {
keys::num_pad6, L
"num_pad6"}, {
keys::num_pad7, L
"num_pad7"}, {
keys::num_pad8, L
"num_pad8"}, {
keys::num_pad9, L
"bum_pad9"}, {
keys::multiply, L
"multiply"}, {
keys::add, L
"add"}, {
keys::separator, L
"separator"}, {
keys::subtract, L
"subtract"}, {
keys::decimal, L
"decimal"}, {
keys::divide, L
"divide"}, {
keys::f1, L
"f1"}, {
keys::f2, L
"f2"}, {
keys::f3, L
"f3"}, {
keys::f4, L
"f4"}, {
keys::f5, L
"f5"}, {
keys::f6, L
"f6"}, {
keys::f7, L
"f7"}, {
keys::f8, L
"f8"}, {
keys::f9, L
"f9"}, {
keys::f10, L
"f10"}, {
keys::f11, L
"f11"}, {
keys::f12, L
"f12"}, {
keys::f13, L
"f13"}, {
keys::f14, L
"f14"}, {
keys::f15, L
"f15"}, {
keys::f16, L
"f16"}, {
keys::f17, L
"f17"}, {
keys::f18, L
"f18"}, {
keys::f19, L
"f19"}, {
keys::f20, L
"f20"}, {
keys::f21, L
"f21"}, {
keys::f22, L
"f22"}, {
keys::f23, L
"f23"}, {
keys::f24, L
"f24"}, {
keys::num_lock, L
"num_lock"}, {
keys::scroll, L
"scroll"}, {
keys::lshift_key, L
"lshift_key"}, {
keys::rshift_key, L
"rshift_key"}, {
keys::lcontrol_key, L
"lcontrol_key"}, {
keys::rcontrol_key, L
"rcontrol_key"}, {
keys::lmenu, L
"lmenu"}, {
keys::rmenu, L
"rmenu"}, {
keys::browser_back, L
"browser_back"}, {
keys::browser_favorites, L
"browser_favorites"}, {
keys::browser_forward, L
"browser_forward"}, {
keys::browser_home, L
"browser_home"}, {
keys::browser_refresh, L
"browser_refresh"}, {
keys::browser_search, L
"browser_search"}, {
keys::browser_stop, L
"browser_stop"}, {
keys::volume_down, L
"volume_down"}, {
keys::volume_mute, L
"volume_mute"}, {
keys::volume_up, L
"volume_up"}, {
keys::media_next_track, L
"media_next_track"}, {
keys::media_play_pause, L
"media_play_pause"}, {
keys::media_previous_track, L
"media_previous_track"}, {
keys::media_stop, L
"media_stop"}, {
keys::launch_mail, L
"launch_mail"}, {
keys::select_media, L
"select_media"}, {
keys::launch_application1, L
"launch_application1"}, {
keys::launch_application2, L
"launch_application2"}, {
keys::oem_plus, L
"oem_plus"}, {
keys::oem_comma, L
"oem_comma"}, {
keys::oem_minus, L
"oem_minus"}, {
keys::oem_period, L
"oem_period"}, {
keys::oem_question, L
"oem_question"}, {
keys::oem_tilde, L
"oem_tilde"}, {
keys::oem_open_brackets, L
"oem_open_brackets"}, {
keys::oem_pipe, L
"oem_pipe"}, {
keys::oem_close_brackets, L
"oem_close_brackets"}, {
keys::oem_quotes, L
"oem_quotes"}, {
keys::oem8, L
"oem8"}, {
keys::oem_backslash, L
"oem_backslash"}, {
keys::process_key, L
"process_key"}, {
keys::attn, L
"attn"}, {
keys::crsel, L
"crsel"}, {
keys::exsel, L
"exsel"}, {
keys::erase_eof, L
"erase_eof"}, {
keys::play, L
"play"}, {
keys::zoom, L
"zoom"}, {
keys::no_name, L
"no_name"}, {
keys::pa1, L
"pa1"}, {
keys::oem_clear, L
"oem_clear"}, {
keys::key_code, L
"key_code"}, {
keys::shift, L
"shift"}, {
keys::control, L
"control"}, {
keys::alt, L
"alt"}, {
keys::command, L
"command"}, {
keys::meta, L
"meta"}, {
keys::function, L
"function"}, {
keys::modifiers, L
"modifiers"}, {
keys::ime_accept, L
"ime_accept"}, {
keys::oem1, L
"oem1"}, {
keys::packet, L
"packet"}, {
keys::sleep, L
"sleep"}, {
keys::command_key, L
"command_key"}, {
keys::lcommand_key, L
"lcommand_key"}, {
keys::rcommand_key, L
"rcommand_key"}, {
keys::function_key, L
"function_key"}});}
decimal_t decimal
Represents a decimal-precision floating-point number.
Definition: types.h:113
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.