26 std::string
asString(
const Url & url_r );
148 Url(
const std::string &encodedUrl);
175 parseUrl(
const std::string &encodedUrl);
194 operator = (
const std::string &encodedUrl);
208 operator = (
const Url &
url);
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;
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,
720 void pathNameSetTrailingSlash(
bool apply_r =
true );
729 setPathParams(
const std::string ¶ms);
759 setPathParam(
const std::string ¶m,
const std::string &value);
770 setQueryString(
const std::string &querystr);
800 setQueryParam(
const std::string ¶m,
const std::string &value);
811 delQueryParam(
const std::string ¶m);
815 delQueryParams(
const std::set<std::string> ¶ms);
827 setFragment(
const std::string &fragment,
841 getViewOptions()
const;
bool schemeIsPlugin() const
std::string getScheme() const
Returns the scheme name of the URL.
zypp::url::ViewOptions ViewOptions
View options.
bool schemeIsRemote() const
std::string getUsername(EEncoding eflag=zypp::url::E_DECODED) const
Returns the username from the URL authority.
static bool isRegisteredScheme(const std::string &scheme)
Returns if scheme name is registered.
bool schemeIsDownloading() const
static bool schemeIsLocal(const std::string &scheme_r)
hd cd dvd dir file iso
static url::UrlRef parseUrl(const std::string &encodedUrl)
Parse a percent-encoded URL string.
Url & operator=(Url &&other)=default
Moves the data from other into the current object.
zypp::url::EEncoding EEncoding
Encoding flags.
static bool registerScheme(const std::string &scheme, url::UrlRef urlImpl)
Register a scheme-specific implementation.
bool isValidScheme(const std::string &scheme) const
Verifies the specified scheme name.
static zypp::url::UrlSchemes getRegisteredSchemes()
Returns all registered scheme names.
bool schemeIsLocal() const
zypp::url::UrlSchemes getKnownSchemes() const
Returns scheme names known to this object.
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
std::string getPassword(EEncoding eflag=zypp::url::E_DECODED) const
Returns the password from the URL authority.
bool schemeIsVolatile() const
Url(Url &&other)=default
Move construct a Url object.
String related utilities and Regular expression matching.
Types and functions for filesystem operations.
std::string asString(const Url &url_r)
RWCOW_pointer< UrlBase > UrlRef
Copy-On-Write Url reference.
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)