libzypp  10.5.0
zypp::ws::WebpinResult Class Reference

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

#include <WebpinResult.h>

List of all members.

Classes

struct  Impl
 WebpinResult implementation. More...

Public Member Functions

 WebpinResult ()
 ~WebpinResult ()
std::string name () const
 package name
WebpinResultsetName (const std::string &name)
 set the package name
zypp::Edition edition () const
 package edition
WebpinResultsetEdition (const zypp::Edition &name)
 set the package edition
zypp::Url repositoryUrl () const
 repository's url The url of the repository where this package is located
WebpinResultsetRepositoryUrl (const zypp::Url &url)
 set the repository url where this package comes from
int priority () const
 package priority
WebpinResultsetPriority (int priority)
 set the package priority
std::string summary () const
 package summary
WebpinResultsetSummary (const std::string &summary)
 set the package summary
std::string distribution () const
 package distribution Example: openSUSE 10.3
WebpinResultsetDistribution (const std::string &distribution)
 set the package distribution
zypp::CheckSum checksum () const
 package checksum Example: a md5sum or sha1sum
WebpinResultsetChecksum (const zypp::CheckSum &checksum)
 set the package checksum
std::ostream & dumpOn (std::ostream &str) const

Private Attributes

RWCOW_pointer< Impl_pimpl
 Pointer to implementation.

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 415 of file SysContent.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 418 of file SysContent.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 129 of file RepoStatus.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

Pointer to implementation.

Definition at line 133 of file WebpinResult.h.


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