libzypp  17.7.0
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

◆ WebpinResult()

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

Definition at line 62 of file WebpinResult.cc.

◆ ~WebpinResult()

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

Definition at line 66 of file WebpinResult.cc.

Member Function Documentation

◆ name()

std::string zypp::ws::WebpinResult::name ( ) const

package name

Definition at line 77 of file WebpinResult.cc.

◆ setName()

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()

Edition zypp::ws::WebpinResult::edition ( ) const

package edition

Definition at line 134 of file WebpinResult.cc.

◆ setEdition()

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.

◆ repositoryUrl()

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.

◆ setRepositoryUrl()

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.

◆ priority()

int zypp::ws::WebpinResult::priority ( ) const

package priority

Definition at line 122 of file WebpinResult.cc.

◆ setPriority()

WebpinResult & zypp::ws::WebpinResult::setPriority ( int  priority)

set the package priority

See also
priority
Parameters
priority

Definition at line 116 of file WebpinResult.cc.

◆ summary()

std::string zypp::ws::WebpinResult::summary ( ) const

package summary

Definition at line 111 of file WebpinResult.cc.

◆ setSummary()

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.

◆ distribution()

std::string zypp::ws::WebpinResult::distribution ( ) const

package distribution Example: openSUSE 10.3

Definition at line 100 of file WebpinResult.cc.

◆ setDistribution()

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()

CheckSum zypp::ws::WebpinResult::checksum ( ) const

package checksum Example: a md5sum or sha1sum

Definition at line 145 of file WebpinResult.cc.

◆ setChecksum()

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.

◆ dumpOn()

std::ostream & zypp::ws::WebpinResult::dumpOn ( std::ostream &  str) const

Definition at line 151 of file WebpinResult.cc.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 157 of file WebpinResult.cc.

Member Data Documentation

◆ _pimpl

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: