22#include <solv/solver.h>
25#define ZYPP_USE_RESOLVER_INTERNALS
27#include <zypp/base/Logger.h>
52 os <<
"[" << (
_soft?
"Soft":
"") <<
"Install: "
79 queue_push( &(q), SOLVER_INSTALL | SOLVER_SOLVABLE_NAME | SOLVER_WEAK );
81 queue_push( &(q), SOLVER_INSTALL | SOLVER_SOLVABLE_NAME );
83 queue_push( &(q),
id);
86 <<
" with SAT-PoolID: " <<
id << endl;
94 new_install->SolverQueueItem::copy(
this);
96 new_install->_soft =
_soft;
103 int cmp = this->compare (item);
106 SolverQueueItemInstall_constPtr ins = dynamic_pointer_cast<const SolverQueueItemInstall>(item);
107 if (
_name != ins->_name) {
108 return _name.compare(ins->_name);
Access to the sat-pools string space.
IdType id() const
Expert backdoor.
virtual int cmp(SolverQueueItem_constPtr item) const
virtual SolverQueueItem_Ptr copy(void) const
virtual ~SolverQueueItemInstall()
virtual bool addRule(sat::detail::CQueue &q)
virtual std::ostream & dumpOn(std::ostream &str) const
SolverQueueItemInstall(const ResPool &pool, std::string name, bool soft=false)
::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)