24 namespace hotfix1050625 {
25 std::string
asString(
const Url & url_r );
30 using filesystem::Pathname;
147 Url(
const std::string &encodedUrl);
153 Url(
Url &&other) =
default;
174 parseUrl(
const std::string &encodedUrl);
193 operator = (
const std::string &encodedUrl);
207 operator = (
const Url &url);
213 Url &operator=(
Url &&other) =
default;
225 registerScheme(
const std::string &scheme,
233 getRegisteredSchemes();
240 isRegisteredScheme(
const std::string &scheme);
249 getKnownSchemes()
const;
267 isValidScheme(
const std::string &scheme)
const;
271 static bool schemeIsLocal(
const std::string & scheme_r );
276 static bool schemeIsRemote(
const std::string & scheme_r );
281 static bool schemeIsVolatile(
const std::string & scheme_r );
286 static bool schemeIsDownloading(
const std::string & scheme_r );
291 static bool schemeIsPlugin(
const std::string & scheme_r );
344 asCompleteString()
const;
367 getAuthority()
const;
393 {
return ! ( getUsername().empty() || getPassword().empty() ); }
447 getPathParams()
const;
462 getPathParamsVec()
const;
503 getPathParam(
const std::string ¶m,
518 getQueryString()
const;
534 getQueryStringVec()
const;
574 getQueryParam(
const std::string ¶m,
598 setScheme(
const std::string &scheme);
616 setAuthority(
const std::string &authority);
628 setUsername(
const std::string &user,
641 setPassword(
const std::string &pass,
665 setHost(
const std::string &host);
675 setPort(
const std::string &port);
690 setPathData(
const std::string &pathdata);
700 setPathName(
const std::string &path,
708 setPathName(
const char *path,
723 setPathParams(
const std::string ¶ms);
753 setPathParam(
const std::string ¶m,
const std::string &value);
764 setQueryString(
const std::string &querystr);
794 setQueryParam(
const std::string ¶m,
const std::string &value);
805 delQueryParam(
const std::string ¶m);
817 setFragment(
const std::string &fragment,
831 getViewOptions()
const;
std::string asString(const Patch::Category &obj)
std::map< std::string, std::string > ParamMap
A parameter map container.
String related utilities and Regular expression matching.
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
bool operator==(const SetRelation::Enum &lhs, const SetCompare &rhs)
std::vector< std::string > ParamVec
A parameter vector container.
Url::asString() view options.
ViewOption ViewOptions
ViewOptions is just an alias for ViewOption.
bool schemeIsPlugin() const
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
bool schemeIsVolatile() const
std::string asString(const Url &url_r)
std::vector< std::string > UrlSchemes
Vector of URL scheme names.
bool operator!=(const SetRelation::Enum &lhs, const SetCompare &rhs)
bool schemeIsRemote() const
bool schemeIsDownloading() const
bool operator<(const StrMatcher &lhs, const StrMatcher &rhs)
Easy-to use interface to the ZYPP dependency resolver.
Flag to request decoded string(s).
bool schemeIsLocal() const