Go to the documentation of this file.
11 #include <solv/knownid.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 );
Impl * clone() const
clone for RWCOW_pointer
iterator begin() const
Iterator to the begin of query results.
static const SolvAttr repositoryDeltaInfo
friend std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
TraitsType::constPtrType constPtr
DeltaCandidates implementation.
std::list< Repository > repos
std::list< packagedelta::DeltaRpm > deltaRpms(const Package::constPtr &package) const
std::ostream & operator<<(std::ostream &str, const DeltaCandidates::Impl &obj)
Stream output.
Easy-to use interface to the ZYPP dependency resolver.
Lightweight repository attribute value lookup.
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
const Edition & edition() const
Candidate delta and patches for a package.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
iterator end() const
Iterator behind the end of query results.
Impl(const std::list< Repository > &repos, const std::string &pkgname="")
String related utilities and Regular expression matching.
const Arch & arch() const
const std::string & name() const