#include <DeltaCandidates.h>
Classes | |
struct | Impl |
DeltaCandidates implementation. More... | |
Public Member Functions | |
DeltaCandidates () | |
DeltaCandidates (const std::list< Repository > &repos, const std::string &pkgname="") | |
Creates a candidate calculator. | |
~DeltaCandidates () | |
Dtor. | |
std::list< packagedelta::DeltaRpm > | deltaRpms (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) |
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.
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.
repos | Set of repositories providing patch and delta packages |
Definition at line 70 of file DeltaCandidates.cc.
zypp::repo::DeltaCandidates::~DeltaCandidates | ( | ) |
std::list< DeltaRpm > zypp::repo::DeltaCandidates::deltaRpms | ( | const Package::constPtr & | package | ) | const |
Definition at line 78 of file DeltaCandidates.cc.
References _pimpl, zypp::packagedelta::DeltaRpm::arch(), zypp::sat::LookupAttr::begin(), DBG, zypp::packagedelta::DeltaRpm::edition(), zypp::sat::LookupAttr::end(), for_, zypp::packagedelta::DeltaRpm::name(), and zypp::sat::SolvAttr::repositoryDeltaInfo.
Referenced by zypp::repo::PackageProvider::doProvidePackage().
std::ostream & operator<< | ( | std::ostream & | str, | |
const DeltaCandidates & | obj | |||
) | [friend] |
Stream output
Definition at line 107 of file DeltaCandidates.cc.
DeltaCandidates makeDeltaCandidates | ( | RepoIter | begin_r, | |
RepoIter | end_r | |||
) | [related] |
DeltaCandidates makeDeltaCandidates | ( | const RepoContainer & | cont_r | ) | [related] |
Convenient construction.
Definition at line 78 of file DeltaCandidates.h.
References makeDeltaCandidates().
Referenced by makeDeltaCandidates().
RWCOW_pointer<Impl> zypp::repo::DeltaCandidates::_pimpl [private] |
Pointer to implementation.
Definition at line 58 of file DeltaCandidates.h.
Referenced by deltaRpms(), and zypp::repo::operator<<().