xtd 0.2.0
uri_kind.h
Go to the documentation of this file.
1 #pragma once
4 #include "enum.h"
5 
7 namespace xtd {
19  enum class uri_kind {
23  absolute = 1,
25  relative = 2,
26  };
27 }
28 
30 template<> 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 };
The kind of the xtd::uri is indeterminate.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Contains enum_ and enum_ut_ keywords.
uri_kind
Defines the kinds of Uris for the xtd::uri::is_well_formed_uri_string and several xtd::uri methods...
Definition: uri_kind.h:19
The xtd::uri is an absolute xtd::uri.
The xtd::uri is a relative xtd::uri.
Provides the registration struct for enumerations.
Definition: enum_register.h:36