26 using filesystem::Pathname;
143 Url(
const std::string &encodedUrl);
164 parseUrl(
const std::string &encodedUrl);
183 operator = (
const std::string &encodedUrl);
197 operator = (
const Url &
url);
209 registerScheme(
const std::string &scheme,
217 getRegisteredSchemes();
224 isRegisteredScheme(
const std::string &scheme);
233 getKnownSchemes()
const;
251 isValidScheme(
const std::string &scheme)
const;
255 static bool schemeIsLocal(
const std::string & scheme_r );
260 static bool schemeIsRemote(
const std::string & scheme_r );
265 static bool schemeIsVolatile(
const std::string & scheme_r );
270 static bool schemeIsDownloading(
const std::string & scheme_r );
311 asString(
const ViewOptions &opts)
const;
323 asCompleteString()
const;
346 getAuthority()
const;
372 {
return ! ( getUsername().empty() || getPassword().empty() ); }
426 getPathParams()
const;
441 getPathParamsVec()
const;
482 getPathParam(
const std::string ¶m,
497 getQueryString()
const;
513 getQueryStringVec()
const;
553 getQueryParam(
const std::string ¶m,
577 setScheme(
const std::string &scheme);
595 setAuthority(
const std::string &authority);
607 setUsername(
const std::string &user,
620 setPassword(
const std::string &pass,
644 setHost(
const std::string &host);
654 setPort(
const std::string &port);
669 setPathData(
const std::string &pathdata);
679 setPathName(
const std::string &path,
683 setPathName(
const Pathname &path,
687 setPathName(
const char *path,
702 setPathParams(
const std::string ¶ms);
732 setPathParam(
const std::string ¶m,
const std::string &value);
743 setQueryString(
const std::string &querystr);
773 setQueryParam(
const std::string ¶m,
const std::string &value);
784 delQueryParam(
const std::string ¶m);
796 setFragment(
const std::string &fragment,
810 getViewOptions()
const;
821 setViewOptions(
const ViewOptions &vopts);
std::vector< std::string > ParamVec
A parameter vector container.
std::map< std::string, std::string > ParamMap
A parameter map container.
std::string asString(const DefaultIntegral< Tp, TInitial > &obj)
bool schemeIsDownloading() const
std::vector< std::string > UrlSchemes
Vector of URL scheme names.
bool schemeIsVolatile() const
bool schemeIsRemote() const
String related utilities and Regular expression matching.
bool operator==(const SetRelation::Enum &lhs, const SetCompare &rhs)
Url::asString() view options.
zypp::url::EEncoding EEncoding
Encoding flags.
bool schemeIsLocal() const
bool operator!=(const SetRelation::Enum &lhs, const SetCompare &rhs)
zypp::url::ViewOptions ViewOptions
View options.
std::ostream & operator<<(std::ostream &str, const Glob &obj)
bool operator<(const StrMatcher &lhs, const StrMatcher &rhs)
Easy-to use interface to the ZYPP dependency resolver.
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
Flag to request decoded string(s).