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