xtd 0.2.0
Loading...
Searching...
No Matches
uri_partial.h
Go to the documentation of this file.
1
3#pragma once
4#include "enum.h"
5
7namespace xtd {
15 enum class uri_partial {
17 scheme = 0,
19 authority = 1,
21 path = 2,
23 query = 3,
24 };
25}
26
28template<> struct xtd::enum_register<xtd::uri_partial> {
29 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::uri_partial> {{xtd::uri_partial::scheme, "scheme"}, {xtd::uri_partial::authority, "authority"}, {xtd::uri_partial::path, "path"}, {xtd::uri_partial::query, "query"}};}
30};
Contains enum_ and enum_ut_ keywords.
uri_partial
Defines the parts of a URI for the xtd::uri::get_left_part method.
Definition uri_partial.h:15
std::vector< xtd::collections::generic::key_value_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.h:22
@ query
The xtd::uri::query data.
@ scheme
The xtd::uri::scheme data.
@ path
The xtd::uri::local_path data.
@ query
The scheme, authority, path, and query segments of the URI.
@ scheme
The scheme segment of the URI.
@ authority
The scheme and authority segments of the URI.
@ path
The scheme, authority, and path segments of the URI.
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:38