22#include <solv/solver.h>
25#define ZYPP_USE_RESOLVER_INTERNALS
54 os <<
"[" << (
_soft?
"Soft":
"") <<
"Install: "
81 queue_push( &(q), SOLVER_INSTALL | SOLVER_SOLVABLE_NAME | SOLVER_WEAK );
83 queue_push( &(q), SOLVER_INSTALL | SOLVER_SOLVABLE_NAME );
85 queue_push( &(q),
id);
88 <<
" with SAT-PoolID: " <<
id << endl;
96 new_install->SolverQueueItem::copy(
this);
98 new_install->_soft =
_soft;
105 int cmp = this->compare (item);
108 SolverQueueItemInstall_constPtr ins = dynamic_pointer_cast<const SolverQueueItemInstall>(item);
109 if (
_name != ins->_name) {
110 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)