libzypp  13.10.6
zypp::ws::WebpinResult Class Reference

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...
 
WebpinResultsetName (const std::string &name)
 set the package name More...
 
zypp::Edition edition () const
 package edition More...
 
WebpinResultsetEdition (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...
 
WebpinResultsetRepositoryUrl (const zypp::Url &url)
 set the repository url where this package comes from More...
 
int priority () const
 package priority More...
 
WebpinResultsetPriority (int priority)
 set the package priority More...
 
std::string summary () const
 package summary More...
 
WebpinResultsetSummary (const std::string &summary)
 set the package summary More...
 
std::string distribution () const
 package distribution Example: openSUSE 10.3 More...
 
WebpinResultsetDistribution (const std::string &distribution)
 set the package distribution More...
 
zypp::CheckSum checksum () const
 package checksum Example: a md5sum or sha1sum More...
 
WebpinResultsetChecksum (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)
 

Detailed Description

Represents a result from http://api.opensuse-community.org/searchservice/Search web service.

Definition at line 39 of file WebpinResult.h.

Constructor & Destructor Documentation

zypp::ws::WebpinResult::WebpinResult ( )

Definition at line 62 of file WebpinResult.cc.

zypp::ws::WebpinResult::~WebpinResult ( )

Definition at line 66 of file WebpinResult.cc.

Member Function Documentation

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)

set the package name

See Also
name
Parameters
name

Definition at line 71 of file WebpinResult.cc.

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

See Also
edition
Parameters
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

See Also
repositoryUrl
Parameters
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

See Also
priority
Parameters
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

See Also
summary
Parameters
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

See Also
distribution
Parameters
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

See Also
checksum
Parameters
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.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const WebpinResult obj 
)
friend

Definition at line 157 of file WebpinResult.cc.

Member Data Documentation

RWCOW_pointer<Impl> zypp::ws::WebpinResult::_pimpl
private

Pointer to implementation.

Definition at line 133 of file WebpinResult.h.


The documentation for this class was generated from the following files: