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