11#include <solv/knownid.h>
50 {
return new Impl( *
this ); }
57 return str <<
"DeltaCandidates::Impl";
81 std::list<DeltaRpm> candidates;
83 DBG <<
"package: " <<
package << endl;
89 if (
_pimpl->pkgname.empty()
95 || ( package->name() == delta.
name()
96 && package->edition() == delta.
edition()
97 && package->arch() == delta.
arch() ) )
99 DBG <<
"got delta candidate: " << delta << endl;
100 candidates.push_back( delta );
TraitsType::constPtrType constPtr
const Edition & edition() const
const std::string & name() const
const Arch & arch() const
std::list< packagedelta::DeltaRpm > deltaRpms(const Package::constPtr &package) const
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
friend std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
iterator end() const
Iterator behind the end of query results.
iterator begin() const
Iterator to the begin of query results.
Lightweight repository attribute value lookup.
static const SolvAttr repositoryDeltaInfo
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
DeltaCandidates implementation.
Impl(std::list< Repository > &&repos, std::string &&pkgname="")
std::list< Repository > repos
friend Impl * rwcowClone(const Impl *rhs)
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.