xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
uri_partial.hpp
Go to the documentation of this file.
1
3
#pragma once
4
#include "
enum.hpp
"
5
7
namespace
xtd
{
15
enum class
uri_partial
{
17
scheme
= 0,
19
authority
= 1,
21
path
= 2,
23
query
= 3,
24
};
25
}
26
28
template
<>
struct
xtd::enum_register
<
xtd
::
uri_partial
> {
29
static
auto
values
()
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
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
xtd::enum_collection
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
xtd::uri_partial
uri_partial
Defines the parts of a URI for the xtd::uri::get_left_part method.
Definition
uri_partial.hpp:15
xtd::uri_components::query
@ query
The xtd::uri::query data.
Definition
uri_components.hpp:29
xtd::uri_components::scheme
@ scheme
The xtd::uri::scheme data.
Definition
uri_components.hpp:19
xtd::uri_components::path
@ path
The xtd::uri::local_path data.
Definition
uri_components.hpp:27
xtd::uri_partial::query
@ query
The scheme, authority, path, and query segments of the URI.
Definition
uri_partial.hpp:23
xtd::uri_partial::scheme
@ scheme
The scheme segment of the URI.
Definition
uri_partial.hpp:17
xtd::uri_partial::authority
@ authority
The scheme and authority segments of the URI.
Definition
uri_partial.hpp:19
xtd::uri_partial::path
@ path
The scheme, authority, and path segments of the URI.
Definition
uri_partial.hpp:21
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.