11 #include <solv/knownid.h> 15 #include <zypp/base/Logger.h> 38 Impl(
const std::list<Repository> &
repos,
const std::string & pkgname =
"" )
46 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
49 {
return new Impl( *
this ); }
56 return str <<
"DeltaCandidates::Impl";
65 DeltaCandidates::DeltaCandidates()
71 const std::string & pkgname)
80 std::list<DeltaRpm> candidates;
82 DBG <<
"package: " <<
package << endl;
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;
99 candidates.push_back( delta );
Candidate delta and patches for a package.
const Edition & edition() const
Impl * clone() const
clone for RWCOW_pointer
friend std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
static const SolvAttr repositoryDeltaInfo
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
String related utilities and Regular expression matching.
std::list< packagedelta::DeltaRpm > deltaRpms(const Package::constPtr &package) const
Impl(const std::list< Repository > &repos, const std::string &pkgname="")
std::ostream & operator<<(std::ostream &str, const DeltaCandidates::Impl &obj)
iterator end() const
Iterator behind the end of query results.
Lightweight repository attribute value lookup.
DeltaCandidates implementation.
std::list< Repository > repos
const Arch & arch() const
const std::string & name() const
Easy-to use interface to the ZYPP dependency resolver.
TraitsType::constPtrType constPtr
iterator begin() const
Iterator to the begin of query results.