xtd 0.2.0
Loading...
Searching...
No Matches
uri_kind.hpp
Go to the documentation of this file.
1
3#pragma once
4#include "enum.hpp"
5
7namespace xtd {
19 enum class uri_kind {
23 absolute = 1,
25 relative = 2,
26 };
27}
28
30template<> struct xtd::enum_register<xtd::uri_kind> {
31 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::uri_kind> {{xtd::uri_kind::relative_or_absolute, "relative_or_absolute"}, {xtd::uri_kind::absolute, "absolute"}, {xtd::uri_kind::relative, "relative"}};}
32};
Contains enum_ and enum_ut_ keywords.
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.hpp:22
uri_kind
Defines the kinds of Uris for the xtd::uri::is_well_formed_uri_string and several xtd::uri methods.
Definition uri_kind.hpp:19
@ relative
The xtd::uri is a relative xtd::uri.
@ relative_or_absolute
The kind of the xtd::uri is indeterminate.
@ absolute
The xtd::uri is an absolute xtd::uri.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38