#include <SolutionAction.h>
Inheritance diagram for zypp::solver::detail::TransactionSolutionAction:
Public Member Functions | |
TransactionSolutionAction (PoolItem_Ref item, TransactionKind action) | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload to realize std::ostream & operator<<. | |
const PoolItem_Ref | item () const |
const TransactionKind | action () const |
virtual bool | execute (Resolver &resolver) const |
Execute this action. | |
Protected Attributes | |
PoolItem_Ref | _item |
const TransactionKind | _action |
Friends | |
std::ostream & | operator<< (std::ostream &str, const TransactionSolutionAction &action) |
Definition at line 74 of file SolutionAction.h.
|
Definition at line 77 of file SolutionAction.h. |
|
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::solver::detail::SolutionAction. |
|
Definition at line 89 of file SolutionAction.h. References _item. |
|
Definition at line 90 of file SolutionAction.h. References _action. Referenced by execute(). |
|
Execute this action. Returns 'true' on success, 'false' on error. Implements zypp::solver::detail::SolutionAction. Definition at line 135 of file SolutionAction.cc. References _item, action(), ERR, zypp::solver::detail::INSTALL, zypp::ResStatus::isInstalled(), zypp::ResStatus::isToBeInstalled(), zypp::ResStatus::isToBeUninstalled(), zypp::solver::detail::KEEP, zypp::solver::detail::REMOVE, zypp::ResStatus::setLock(), zypp::ResStatus::setToBeInstalled(), zypp::ResStatus::setToBeUninstalled(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), zypp::solver::detail::UNLOCK, and zypp::ResStatus::USER. |
|
Definition at line 84 of file SolutionAction.h. |
|
Definition at line 97 of file SolutionAction.h. |
|
Definition at line 98 of file SolutionAction.h. Referenced by action(). |