#include <SolutionAction.h>
Public Member Functions | |
InjectSolutionAction (PoolItem item, const InjectSolutionKind &kind) | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload to realize std::ostream & operator<<. | |
const PoolItem | item () const |
virtual bool | execute (Resolver &resolver) const |
Execute this action. | |
Protected Attributes | |
PoolItem | _item |
const InjectSolutionKind | _kind |
Friends | |
std::ostream & | operator<< (std::ostream &str, const InjectSolutionAction &action) |
This is typically used by "ignore" (user override) solutions.
Definition at line 144 of file SolutionAction.h.
zypp::solver::detail::InjectSolutionAction::InjectSolutionAction | ( | PoolItem | item, | |
const InjectSolutionKind & | kind | |||
) | [inline] |
Definition at line 148 of file SolutionAction.h.
virtual std::ostream& zypp::solver::detail::InjectSolutionAction::dumpOn | ( | std::ostream & | str | ) | const [virtual] |
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::solver::detail::SolutionAction.
const PoolItem zypp::solver::detail::InjectSolutionAction::item | ( | ) | const [inline] |
bool zypp::solver::detail::InjectSolutionAction::execute | ( | Resolver & | resolver | ) | const [virtual] |
Execute this action.
Returns 'true' on success, 'false' on error.
Implements zypp::solver::detail::SolutionAction.
Definition at line 183 of file SolutionAction.cc.
References _item, _kind, ERR, and zypp::solver::detail::WEAK.
std::ostream& operator<< | ( | std::ostream & | str, | |
const InjectSolutionAction & | action | |||
) | [friend] |
Definition at line 156 of file SolutionAction.h.
const InjectSolutionKind zypp::solver::detail::InjectSolutionAction::_kind [protected] |