xtd 0.2.0
Loading...
Searching...
No Matches
uri_format.h
Go to the documentation of this file.
1
3#pragma once
4#include "enum.h"
5
7namespace xtd {
17 enum class uri_format {
21 unescaped = 1,
23 uri_escaped = 2,
24 };
25}
26
28template<> struct xtd::enum_register<xtd::uri_format> {
29 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::uri_format> {{xtd::uri_format::safe_unescaped, "safe_unescaped"}, {xtd::uri_format::unescaped, "unescaped"}, {xtd::uri_format::uri_escaped, "uri_escaped"}};}
30};
Contains enum_ and enum_ut_ keywords.
uri_format
Controls how URI information is escaped.
Definition uri_format.h:17
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
@ uri_escaped
Escaping is performed according to the rules in RFC 2396.
@ unescaped
No escaping is performed.
@ safe_unescaped
Characters that have a reserved meaning in the requested URI components remain escaped....
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