22#include <solv/solver.h>
25#define ZYPP_USE_RESOLVER_INTERNALS
27#include <zypp/base/Logger.h>
51 os <<
"[" << (
_soft?
"Soft":
"") <<
"InstallOneOf: ";
81 MIL <<
"Install one of " << (
_soft ?
"(soft):" :
":")<< endl;
92 Id id = (*iter)->satSolvable().id();
94 ERR << *
iter <<
" not found" << endl;
97 MIL <<
" candidate:" << *
iter <<
" with the SAT-Pool ID: " <<
id << endl;
121 int cmp = this->compare (
item);
126 return (
_oneOfList == install->_oneOfList) ? 0 : -1;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
static Pool instance()
Singleton ctor.
SolverQueueItemInstallOneOf(const ResPool &pool, const PoolItemList &itemList, bool soft=false)
virtual bool addRule(sat::detail::CQueue &q)
virtual ~SolverQueueItemInstallOneOf()
virtual int cmp(SolverQueueItem_constPtr item) const
std::list< PoolItem > PoolItemList
virtual SolverQueueItem_Ptr copy(void) const
virtual std::ostream & dumpOn(std::ostream &str) const
::s_Queue CQueue
Wrapped libsolv C data type exposed as backdoor.
Easy-to use interface to the ZYPP dependency resolver.
#define IMPL_PTR_TYPE(NAME)