xtd 0.2.0
uri_host_name_type.h
Go to the documentation of this file.
1 #pragma once
4 #include "enum.h"
5 
7 namespace xtd {
15  enum class uri_host_name_type {
17  unknown = 0,
19  basic = 1,
21  dns = 2,
23  ip_v4 = 3,
25  ip_v6 = 4,
26  };
27 }
28 
30 template<> struct xtd::enum_register<xtd::uri_host_name_type> {
32 };
The Uri is a relative xtd::uri.
uri_host_name_type
Defines host name types for the xtd::uri::check_host_name method.
Definition: uri_host_name_type.h:15
The Uri is a relative xtd::uri.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Contains enum_ and enum_ut_ keywords.
The processor architecture is unknown.
The host is set, but the type cannot be determined.
The host name is a domain name system (DNS) style host name.
Provides the registration struct for enumerations.
Definition: enum_register.h:36