载入中...
搜索中...
未找到
Uri.h
浏览该文件的文档.
62 [[nodiscard]] static Result<Uri> fromParts(UriScheme scheme, std::string_view path, std::string_view query = {},
Move-only, checked operation results for the common layer.
std::string_view path() const noexcept
Return the relative virtual path, borrowed from this value.
Definition Uri.h:133
std::string_view fragment() const noexcept
Return the fragment component, borrowed from this value.
Definition Uri.h:139
const Uri & uri() const noexcept
Return the structural URI view owned by this resource URI.
Definition Uri.h:145
const std::string & format() const noexcept
Return the stable canonical URI text owned by this value.
Definition Uri.h:142
friend bool operator==(const ResourceUri &, const ResourceUri &) noexcept=default
Compare resource URI values.
std::string_view query() const noexcept
Return the query component, borrowed from this value.
Definition Uri.h:136
std::string_view fragment() const noexcept
Return the fragment component without #, borrowed from this URI.
Definition Uri.h:75
std::string_view path() const noexcept
Return the virtual path, borrowed from this URI until it is moved or destroyed.
Definition Uri.h:69
friend bool operator==(const Uri &, const Uri &) noexcept=default
Compare canonical URI values.
std::string_view query() const noexcept
Return the query component without ?, borrowed from this URI.
Definition Uri.h:72
const std::string & format() const noexcept
Return the stable canonical URI text owned by this value.
Definition Uri.h:78
@ Memory
@ Generated
@ Project
@ Builtin
@ Asset
const char * uriSchemeName(UriScheme scheme) noexcept
Return the stable lower-case spelling of a resource URI scheme.
Definition Uri.cpp:130
Definition Container.h:602