25 namespace hotfix1050625 {
26 std::string
asString(
const Url & url_r );
31 using filesystem::Pathname;
148 Url(
const std::string &encodedUrl);
175 parseUrl(
const std::string &encodedUrl);
194 operator = (
const std::string &encodedUrl);
208 operator = (
const Url &url);
226 registerScheme(
const std::string &scheme,
234 getRegisteredSchemes();
241 isRegisteredScheme(
const std::string &scheme);
250 getKnownSchemes()
const;
268 isValidScheme(
const std::string &scheme)
const;
272 static bool schemeIsLocal(
const std::string & scheme_r );
277 static bool schemeIsRemote(
const std::string & scheme_r );
282 static bool schemeIsVolatile(
const std::string & scheme_r );
287 static bool schemeIsDownloading(
const std::string & scheme_r );
292 static bool schemeIsPlugin(
const std::string & scheme_r );
345 asCompleteString()
const;
368 getAuthority()
const;
394 {
return ! ( getUsername().empty() || getPassword().empty() ); }
448 getPathParams()
const;
463 getPathParamsVec()
const;
504 getPathParam(
const std::string ¶m,
519 getQueryString()
const;
535 getQueryStringVec()
const;
575 getQueryParam(
const std::string ¶m,
599 setScheme(
const std::string &scheme);
617 setAuthority(
const std::string &authority);
629 setUsername(
const std::string &user,
642 setPassword(
const std::string &pass,
666 setHost(
const std::string &host);
676 setPort(
const std::string &port);
691 setPathData(
const std::string &pathdata);
701 setPathName(
const std::string &path,
709 setPathName(
const char *path,
724 setPathParams(
const std::string ¶ms);
754 setPathParam(
const std::string ¶m,
const std::string &value);
765 setQueryString(
const std::string &querystr);
795 setQueryParam(
const std::string ¶m,
const std::string &value);
806 delQueryParam(
const std::string ¶m);
810 delQueryParams(
const std::set<std::string> ¶ms);
822 setFragment(
const std::string &fragment,
836 getViewOptions()
const;
bool schemeIsPlugin() const
bool schemeIsRemote() const
bool schemeIsDownloading() const
Url & operator=(Url &&other)=default
Moves the data from other into the current object.
bool schemeIsLocal() const
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
bool schemeIsVolatile() const
Url(Url &&other)=default
Move construct a Url object.
String related utilities and Regular expression matching.
std::string asString(const Url &url_r)
std::vector< std::string > ParamVec
A parameter vector container.
ViewOption ViewOptions
ViewOptions is just an alias for ViewOption.
std::map< std::string, std::string > ParamMap
A parameter map container.
std::vector< std::string > UrlSchemes
Vector of URL scheme names.
@ E_DECODED
Flag to request decoded string(s).
Easy-to use interface to the ZYPP dependency resolver.
bool operator<(const StrMatcher &lhs, const StrMatcher &rhs)
bool operator==(const SetRelation::Enum &lhs, const SetCompare &rhs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
bool operator!=(const SetRelation::Enum &lhs, const SetCompare &rhs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::string asString(const Patch::Category &obj)
Url::asString() view options.