11#include <solv/knownid.h>
15#include <zypp/base/Logger.h>
49 {
return new Impl( *
this ); }
56 return str <<
"DeltaCandidates::Impl";
71 const std::string & pkgname)
82 DBG <<
"package: " <<
package << endl;
83 for_(
rit, _pimpl->repos.begin(), _pimpl->repos.end() )
88 if ( _pimpl->pkgname.empty()
94 || ( package->name() ==
delta.name()
95 && package->edition() ==
delta.edition()
96 && package->arch() ==
delta.arch() ) )
98 DBG <<
"got delta candidate: " <<
delta << endl;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
shared_ptr< Impl > _pimpl
TraitsType::constPtrType constPtr
Candidate delta and patches for a package.
std::list< packagedelta::DeltaRpm > deltaRpms(const Package::constPtr &package) const
friend std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
Lightweight repository attribute value lookup.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
DeltaCandidates implementation.
Impl(const std::list< Repository > &repos, const std::string &pkgname="")
std::list< Repository > repos
Impl * clone() const
clone for RWCOW_pointer
std::ostream & operator<<(std::ostream &str, const DeltaCandidates::Impl &obj)
Stream output.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.