xtd 0.2.0
Loading...
Searching...
No Matches
uri_host_name_type.h
Go to the documentation of this file.
1
3#pragma once
4#include "enum.h"
5
7namespace 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
30template<> struct xtd::enum_register<xtd::uri_host_name_type> {
32};
Contains enum_ and enum_ut_ keywords.
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
uri_host_name_type
Defines host name types for the xtd::uri::check_host_name method.
Definition uri_host_name_type.h:15
@ unknown
The processor architecture is unknown.
@ ip_v6
The Uri is a relative xtd::uri.
@ ip_v4
The Uri is a relative xtd::uri.
@ unknown
The type of the host name is not supplied.
@ dns
The host name is a domain name system (DNS) style host name.
@ basic
The host is set, but the type cannot be determined.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36