62 os <<
"TransactionSolutionAction: ";
64 case KEEP: os <<
"Keep " << _item;
break;
65 case INSTALL: os <<
"Install " << _item;
break;
66 case REMOVE: os <<
"Remove " << _item;
break;
67 case UNLOCK: os <<
"Unlock " << _item;
break;
68 case LOCK: os <<
"Lock " << _item;
break;
81 for (SolutionActionList::const_iterator iter = actionlist.begin(); iter != actionlist.end(); ++iter) {
92 for (CSolutionActionList::const_iterator iter = actionlist.begin(); iter != actionlist.end(); ++iter) {
104 os <<
"InjectSolutionAction: ";
106 case WEAK: os <<
"Weak";
break;
107 default: os <<
"Wrong kind";
break;
120 os <<
"SolutionAction<";
121 os <<
"not specified";
137 if (_item.status().isToBeUninstalled())
143 if (_item.status().isToBeInstalled()) {
146 }
else if (_item.status().isInstalled())
153 if (!ret)
ERR <<
"Cannot unlock " << _item << endl;
158 if (!ret)
ERR <<
"Cannot lock " << _item << endl;
173 ERR <<
"Wrong TransactionKind" << endl;
188 ERR <<
"No valid InjectSolutionAction kind found" << endl;
void removeExtraConflict(const Capability &capability)
void removeQueueItem(SolverQueueItem_Ptr item)
void addQueueItem(SolverQueueItem_Ptr item)
ostream & operator<<(ostream &os, const PoolItemList &itemlist)
A mid layer class we should remove.
virtual std::ostream & dumpOn(std::ostream &str) const
Overload to realize std::ostream & operator<<.
void addWeak(const PoolItem &item)
void removeExtraRequire(const Capability &capability)
virtual bool execute(Resolver &resolver) const
Execute this action.
std::list< SolutionAction_constPtr > CSolutionActionList
virtual std::ostream & dumpOn(std::ostream &str) const
Overload to realize std::ostream & operator<<.
IMPL_PTR_TYPE(ProblemSolutionCombi)
virtual std::ostream & dumpOn(std::ostream &str) const
Overload to realize std::ostream & operator<<.
virtual ~SolutionAction()
virtual bool execute(Resolver &resolver) const
Execute this action.
std::list< SolutionAction_Ptr > SolutionActionList