12 #ifndef ZYPP_WEBPINRESULT_H
13 #define ZYPP_WEBPINRESULT_H
50 std::string
name()
const;
131 std::ostream &
dumpOn( std::ostream &
str )
const;
Provides API related macros.
Edition represents [epoch:]version[-release]
Represents a result from http://api.opensuse-community.org/searchservice/Search web service.
WebpinResult & setName(const std::string &name)
set the package name
std::string distribution() const
package distribution Example: openSUSE 10.3
int priority() const
package priority
WebpinResult & setEdition(const zypp::Edition &name)
set the package edition
std::string name() const
package name
zypp::Url repositoryUrl() const
repository's url The url of the repository where this package is located
WebpinResult & setSummary(const std::string &summary)
set the package summary
zypp::CheckSum checksum() const
package checksum Example: a md5sum or sha1sum
WebpinResult & setRepositoryUrl(const zypp::Url &url)
set the repository url where this package comes from
WebpinResult & setDistribution(const std::string &distribution)
set the package distribution
friend std::ostream & operator<<(std::ostream &str, const WebpinResult &obj)
WebpinResult & setPriority(int priority)
set the package priority
WebpinResult & setChecksum(const zypp::CheckSum &checksum)
set the package checksum
std::string summary() const
package summary
zypp::Edition edition() const
package edition
std::ostream & dumpOn(std::ostream &str) const
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const WebpinResult &obj)
Easy-to use interface to the ZYPP dependency resolver.
WebpinResult implementation.