6 #include "../../ustring.h"
90 inline std::ostream& operator<<(std::ostream& os,
protocol_family value) {
return os <<
to_string(value, {{
protocol_family::unknown,
"unknown"}, {
protocol_family::unspecified,
"unspecified"}, {
protocol_family::unix,
"unix"}, {
protocol_family::inter_network,
"inter_network"}, {
protocol_family::imp_link,
"imp_link"}, {
protocol_family::pup,
"pup"}, {
protocol_family::chaos,
"chaos"}, {
protocol_family::ns,
"ns"}, {
protocol_family::ipx,
"ipx"}, {
protocol_family::iso,
"iso"}, {
protocol_family::osi,
"osi"}, {
protocol_family::ecma,
"ecma"}, {
protocol_family::data_kit,
"data_kit"}, {
protocol_family::ccitt,
"ccitt"}, {
protocol_family::sna,
"sna"}, {
protocol_family::dec_net,
"dec_net"}, {
protocol_family::data_link,
"data_link"}, {
protocol_family::lat,
"lat"}, {
protocol_family::hyper_channel,
"hyper_channel"}, {
protocol_family::apple_talk,
"apple_talk"}, {
protocol_family::net_bios,
"net_bios"}, {
protocol_family::voice_view,
"voice_view"}, {
protocol_family::fire_fox,
"fire_fox"}, {
protocol_family::banyan,
"banyan"}, {
protocol_family::atm,
"atm"}, {
protocol_family::inter_network_v6,
"inter_network_v6"}, {
protocol_family::cluster,
"cluster"}, {
protocol_family::ieee12844,
"ieee12844"}, {
protocol_family::irda,
"irda"}, {
protocol_family::network_designers,
"network_designers"}, {
protocol_family::max,
"max"}});}
91 inline std::wostream& operator<<(std::wostream& os,
protocol_family value) {
return os <<
to_string(value, {{
protocol_family::unknown, L
"unknown"}, {
protocol_family::unspecified, L
"unspecified"}, {
protocol_family::unix, L
"unix"}, {
protocol_family::inter_network, L
"inter_network"}, {
protocol_family::imp_link, L
"imp_link"}, {
protocol_family::pup, L
"pup"}, {
protocol_family::chaos, L
"chaos"}, {
protocol_family::ns, L
"ns"}, {
protocol_family::ipx, L
"ipx"}, {
protocol_family::iso, L
"iso"}, {
protocol_family::osi, L
"osi"}, {
protocol_family::ecma, L
"ecma"}, {
protocol_family::data_kit, L
"data_kit"}, {
protocol_family::ccitt, L
"ccitt"}, {
protocol_family::sna, L
"sna"}, {
protocol_family::dec_net, L
"dec_net"}, {
protocol_family::data_link, L
"data_link"}, {
protocol_family::lat, L
"lat"}, {
protocol_family::hyper_channel, L
"hyper_channel"}, {
protocol_family::apple_talk, L
"apple_talk"}, {
protocol_family::net_bios, L
"net_bios"}, {
protocol_family::voice_view, L
"voice_view"}, {
protocol_family::fire_fox, L
"fire_fox"}, {
protocol_family::banyan, L
"banyan"}, {
protocol_family::atm, L
"atm"}, {
protocol_family::inter_network_v6, L
"inter_network_v6"}, {
protocol_family::cluster, L
"cluster"}, {
protocol_family::ieee12844, L
"ieee12844"}, {
protocol_family::irda, L
"irda"}, {
protocol_family::network_designers, L
"network_designers"}, {
protocol_family::max, L
"max"}});}
protocol_family
Specifies the type of protocol that an instance of the xtd::net::sockets::socket class can use.
Definition: protocol_family.h:24
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
@ cluster
Microsoft cluster products protocol.
@ ieee12844
IEEE 1284.4 workgroup protocol.
@ inter_network
IP version 4 protocol.
@ network_designers
Network Designers OSI gateway-enabled protocol.
@ ipx
IPX or SPX protocol.
@ unix
Unix local to host protocol.
@ data_link
Direct data-link interface protocol.
@ atm
Native ATM services protocol.
@ voice_view
VoiceView protocol.
@ apple_talk
AppleTalk protocol.
@ ccitt
CCITT protocols, such as X.25.
@ hyper_channel
NSC Hyperchannel protocol.
@ inter_network_v6
IP version 6 protocol.
@ data_kit
Datakit protocols.
@ imp_link
ARPANET IMP protocol.
@ unknown
Unknown protocol.
@ net_bios
NetBios protocol.
@ ecma
European Computer Manufacturers Association (ECMA) protocol.
@ unspecified
Unspecified protocol.
@ fire_fox
FireFox protocol.
@ chaos
MIT CHAOS protocols.
@ dec_net
DECnet protocol.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17