22 #include <solv/solver.h>
25 #define ZYPP_USE_RESOLVER_INTERNALS
49 os <<
"[" << (_soft?
"Soft":
"") <<
"Update: " <<
76 ERR <<
"Update explicit: " <<
_item <<
" not found" << endl;
79 MIL <<
"Update explicit " <<
_item <<
" with the SAT-Pool ID: " <<
id << endl;
80 queue_push( &(q), SOLVER_UPDATE | SOLVER_SOLVABLE );
81 queue_push( &(q),
id );
89 new_update->SolverQueueItem::copy(
this);
91 new_update->_soft =
_soft;
98 int cmp = this->compare (item);
SolverQueueItemUpdate(const ResPool &pool, const PoolItem &item, bool soft=false)
virtual SolverQueueItem_Ptr copy(void) const
bool compareByNVRA(const SolvableType< Derived > &lhs, const Solvable &rhs)
virtual std::ostream & dumpOn(std::ostream &str) const
virtual int cmp(SolverQueueItem_constPtr item) const
virtual bool addRule(sat::detail::CQueue &q)
Solvable satSolvable() const
Return the corresponding sat::Solvable.
IMPL_PTR_TYPE(SATResolver)
Combining sat::Solvable and ResStatus.
IdType id() const
Expert backdoor.
::_Queue CQueue
Wrapped libsolv C data type exposed as backdoor.
virtual ~SolverQueueItemUpdate()