|
libzypp
17.7.0
|
Represents a result from http://api.opensuse-community.org/searchservice/Search web service. More...
#include <WebpinResult.h>
Classes | |
| struct | Impl |
| WebpinResult implementation. More... | |
Public Member Functions | |
| WebpinResult () | |
| ~WebpinResult () | |
| std::string | name () const |
| package name More... | |
| WebpinResult & | setName (const std::string &name) |
| set the package name More... | |
| zypp::Edition | edition () const |
| package edition More... | |
| WebpinResult & | setEdition (const zypp::Edition &name) |
| set the package edition More... | |
| zypp::Url | repositoryUrl () const |
| repository's url The url of the repository where this package is located More... | |
| WebpinResult & | setRepositoryUrl (const zypp::Url &url) |
| set the repository url where this package comes from More... | |
| int | priority () const |
| package priority More... | |
| WebpinResult & | setPriority (int priority) |
| set the package priority More... | |
| std::string | summary () const |
| package summary More... | |
| WebpinResult & | setSummary (const std::string &summary) |
| set the package summary More... | |
| std::string | distribution () const |
| package distribution Example: openSUSE 10.3 More... | |
| WebpinResult & | setDistribution (const std::string &distribution) |
| set the package distribution More... | |
| zypp::CheckSum | checksum () const |
| package checksum Example: a md5sum or sha1sum More... | |
| WebpinResult & | setChecksum (const zypp::CheckSum &checksum) |
| set the package checksum More... | |
| std::ostream & | dumpOn (std::ostream &str) const |
Private Attributes | |
| RWCOW_pointer< Impl > | _pimpl |
| Pointer to implementation. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const WebpinResult &obj) |
Represents a result from http://api.opensuse-community.org/searchservice/Search web service.
Definition at line 39 of file WebpinResult.h.
| zypp::ws::WebpinResult::WebpinResult | ( | ) |
Definition at line 62 of file WebpinResult.cc.
| zypp::ws::WebpinResult::~WebpinResult | ( | ) |
Definition at line 66 of file WebpinResult.cc.
| std::string zypp::ws::WebpinResult::name | ( | ) | const |
package name
Definition at line 77 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setName | ( | const std::string & | name | ) |
| Edition zypp::ws::WebpinResult::edition | ( | ) | const |
package edition
Definition at line 134 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setEdition | ( | const zypp::Edition & | name | ) |
set the package edition
| edition |
Definition at line 128 of file WebpinResult.cc.
| zypp::Url zypp::ws::WebpinResult::repositoryUrl | ( | ) | const |
repository's url The url of the repository where this package is located
Definition at line 83 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setRepositoryUrl | ( | const zypp::Url & | url | ) |
set the repository url where this package comes from
| url |
Definition at line 88 of file WebpinResult.cc.
| int zypp::ws::WebpinResult::priority | ( | ) | const |
package priority
Definition at line 122 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setPriority | ( | int | priority | ) |
set the package priority
| priority |
Definition at line 116 of file WebpinResult.cc.
| std::string zypp::ws::WebpinResult::summary | ( | ) | const |
package summary
Definition at line 111 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setSummary | ( | const std::string & | summary | ) |
set the package summary
| summary |
Definition at line 105 of file WebpinResult.cc.
| std::string zypp::ws::WebpinResult::distribution | ( | ) | const |
package distribution Example: openSUSE 10.3
Definition at line 100 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setDistribution | ( | const std::string & | distribution | ) |
set the package distribution
| distribution |
Definition at line 94 of file WebpinResult.cc.
| CheckSum zypp::ws::WebpinResult::checksum | ( | ) | const |
package checksum Example: a md5sum or sha1sum
Definition at line 145 of file WebpinResult.cc.
| WebpinResult & zypp::ws::WebpinResult::setChecksum | ( | const zypp::CheckSum & | checksum | ) |
set the package checksum
| checksum |
Definition at line 139 of file WebpinResult.cc.
| std::ostream & zypp::ws::WebpinResult::dumpOn | ( | std::ostream & | str | ) | const |
Definition at line 151 of file WebpinResult.cc.
|
friend |
Definition at line 157 of file WebpinResult.cc.
|
private |
Pointer to implementation.
Definition at line 133 of file WebpinResult.h.