xtd 0.2.0
Loading...
Searching...
No Matches
uri_components.h
Go to the documentation of this file.
1
3#pragma once
4#include "enum.h"
5
7namespace xtd {
15 enum class uri_components {
17 none = 0x00000000,
19 scheme = 0x00000001,
21 user_info = 0x00000002,
23 host = 0x00000004,
25 port = 0x000000008,
27 path = 0x00000010,
29 query = 0x00000020,
31 fragment = 0x00000040,
33 strong_port = 0x00000080,
35 keep_delimiter = 0x40000000,
37 host_and_port = 0x00000084,
39 strong_authority = 0x00000086,
41 absolute_uri = 0x0000007F,
43 path_and_query = 0x00000030,
45 http_request_url = 0x0000003D,
47 scheme_and_server = 0x0000000D,
49 serialization_info_string = 0x08000000 //0x80000000
50 };
51}
52
54flags_attribute_(xtd, uri_components);
55
56template<> struct xtd::enum_register<xtd::uri_components> {
58};
Contains enum_ and enum_ut_ keywords.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
uri_components
This enumeration has a Flags attribute that allows a bitwise combination of its member values.
Definition uri_components.h:15
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
@ fragment
The xtd::uri::fragment data.
@ absolute_uri
The xtd::uri::scheme, xtd::uri::user_info, xtd::uri::host, port, xtd::uri::local_path,...
@ http_request_url
The xtd::uri::scheme, xtd::uri::host, xtd::uri::port, xtd::uri::local_path, and xtd::uri::query data.
@ user_info
The xtd::uri::user_info data.
@ query
The xtd::uri::query data.
@ scheme
The xtd::uri::scheme data.
@ keep_delimiter
Specifies that the delimiter should be included.
@ host
The xtd::uri::host data.
@ strong_port
The xtd::uri::port data. If no port data is in the xtd::uri and a default port has been assigned to t...
@ serialization_info_string
The complete xtd::uri context that is needed for xtd::uri Serializers. The context includes the IPv6 ...
@ port
The xtd::uri::port data.
@ scheme_and_server
The xtd::uri::scheme, xtd::uri::host, and xtd::uri::port data.
@ strong_authority
The xtd::uri::user_info, host, and port data. If no port data is in the Uri and a default port has be...
@ path_and_query
The xtd::uri::local_path and xtd::uri::query data. Also see xtd::uri::path_and_query.
@ path
The xtd::uri::local_path data.
@ host_and_port
The xtd::uri::host and xtd::uri::port data. If no port data is in the Uri and a default port has been...
@ none
No modifier key.
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