57 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::uri_components> {{
xtd::uri_components::none,
"none"}, {
xtd::uri_components::scheme,
"scheme"}, {
xtd::uri_components::user_info,
"user_info"}, {
xtd::uri_components::host,
"host"}, {
xtd::uri_components::port,
"port"}, {
xtd::uri_components::path,
"path"}, {
xtd::uri_components::query,
"query"}, {
xtd::uri_components::fragment,
"fragment"}, {
xtd::uri_components::strong_port,
"strong_port"}, {
xtd::uri_components::keep_delimiter,
"keep_delimiter"}, {
xtd::uri_components::host_and_port,
"host_and_port"}, {
xtd::uri_components::strong_authority,
"strong_authority"}, {
xtd::uri_components::scheme_and_server,
"scheme_and_server"}, {
xtd::uri_components::serialization_info_string,
"serialization_info_string"}};}
Contains enum_ and enum_ut_ keywords.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
uri_components
This enumeration has a Flags attribute that allows a bitwise combination of its member values.
Definition uri_components.hpp:15
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:24
@ fragment
The xtd::uri::fragment data.
Definition uri_components.hpp:31
@ absolute_uri
The xtd::uri::scheme, xtd::uri::user_info, xtd::uri::host, port, xtd::uri::local_path,...
Definition uri_components.hpp:41
@ http_request_url
The xtd::uri::scheme, xtd::uri::host, xtd::uri::port, xtd::uri::local_path, and xtd::uri::query data.
Definition uri_components.hpp:45
@ user_info
The xtd::uri::user_info data.
Definition uri_components.hpp:21
@ query
The xtd::uri::query data.
Definition uri_components.hpp:29
@ none
None data.
Definition uri_components.hpp:17
@ scheme
The xtd::uri::scheme data.
Definition uri_components.hpp:19
@ keep_delimiter
Specifies that the delimiter should be included.
Definition uri_components.hpp:35
@ host
The xtd::uri::host data.
Definition uri_components.hpp:23
@ 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...
Definition uri_components.hpp:33
@ serialization_info_string
The complete xtd::uri context that is needed for xtd::uri Serializers. The context includes the IPv6 ...
Definition uri_components.hpp:49
@ port
The xtd::uri::port data.
Definition uri_components.hpp:25
@ scheme_and_server
The xtd::uri::scheme, xtd::uri::host, and xtd::uri::port data.
Definition uri_components.hpp:47
@ 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...
Definition uri_components.hpp:39
@ path_and_query
The xtd::uri::local_path and xtd::uri::query data. Also see xtd::uri::path_and_query.
Definition uri_components.hpp:43
@ path
The xtd::uri::local_path data.
Definition uri_components.hpp:27
@ 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...
Definition uri_components.hpp:37
@ none
No modifier key.
Definition console_modifiers.hpp:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38