zypp::repo::DeltaCandidates Class Reference

Candidate delta and patches for a package. More...

#include <DeltaCandidates.h>

List of all members.

Public Member Functions

 DeltaCandidates ()
 DeltaCandidates (const std::list< Repository > &repos, const std::string &pkgname="")
 Creates a candidate calculator.
 ~DeltaCandidates ()
 Dtor.
std::list< packagedelta::DeltaRpmdeltaRpms (const Package::constPtr &package) const

Private Attributes

RWCOW_pointer< Impl_pimpl
 Pointer to implementation.

Friends

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

Related Functions

(Note that these are not member functions.)

template<class RepoIter>
DeltaCandidates makeDeltaCandidates (RepoIter begin_r, RepoIter end_r)
template<class RepoContainer>
DeltaCandidates makeDeltaCandidates (const RepoContainer &cont_r)

Classes

struct  Impl
 DeltaCandidates implementation. More...


Detailed Description

Candidate delta and patches for a package.

Basically a container that given N repositories, gets all patches and deltas from them for a given package.

Definition at line 36 of file DeltaCandidates.h.


Constructor & Destructor Documentation

zypp::repo::DeltaCandidates::DeltaCandidates (  ) 

Definition at line 65 of file DeltaCandidates.cc.

zypp::repo::DeltaCandidates::DeltaCandidates ( const std::list< Repository > &  repos,
const std::string &  pkgname = "" 
)

Creates a candidate calculator.

Parameters:
repos Set of repositories providing patch and delta packages

Definition at line 70 of file DeltaCandidates.cc.

zypp::repo::DeltaCandidates::~DeltaCandidates (  ) 

Dtor.

Definition at line 75 of file DeltaCandidates.cc.


Member Function Documentation

std::list< DeltaRpm > zypp::repo::DeltaCandidates::deltaRpms ( const Package::constPtr package  )  const


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const DeltaCandidates obj 
) [friend]

Stream output

Definition at line 107 of file DeltaCandidates.cc.

template<class RepoIter>
DeltaCandidates makeDeltaCandidates ( RepoIter  begin_r,
RepoIter  end_r 
) [related]

Convenient construction.

Todo:
templated ctor

Definition at line 71 of file DeltaCandidates.h.

template<class RepoContainer>
DeltaCandidates makeDeltaCandidates ( const RepoContainer &  cont_r  )  [related]

Convenient construction.

Todo:
templated ctor

Definition at line 78 of file DeltaCandidates.h.


Member Data Documentation

Pointer to implementation.

Definition at line 58 of file DeltaCandidates.h.

Referenced by deltaRpms(), and zypp::repo::operator<<().


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

Generated on Tue May 5 14:49:44 2015 for libzypp by  doxygen 1.5.6