libzypp
10.5.0
|
Abstract base class for one action of a problem solution. More...
#include <SolutionAction.h>
Public Member Functions | |
virtual | ~SolutionAction () |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload to realize std::ostream & operator<<. | |
virtual bool | execute (Resolver &resolver) const =0 |
Execute this action. | |
Protected Member Functions | |
SolutionAction () | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const SolutionAction &action) |
std::ostream & | operator<< (std::ostream &str, const SolutionActionList &actionlist) |
std::ostream & | operator<< (std::ostream &str, const CSolutionActionList &actionlist) |
Abstract base class for one action of a problem solution.
Definition at line 38 of file SolutionAction.h.
zypp::solver::detail::SolutionAction::SolutionAction | ( | ) | [protected] |
Definition at line 47 of file SolutionAction.cc.
zypp::solver::detail::SolutionAction::~SolutionAction | ( | ) | [virtual] |
Definition at line 52 of file SolutionAction.cc.
ostream & zypp::solver::detail::SolutionAction::dumpOn | ( | std::ostream & | str | ) | const [virtual] |
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::base::ReferenceCounted.
Reimplemented in zypp::solver::detail::InjectSolutionAction, and zypp::solver::detail::TransactionSolutionAction.
Definition at line 121 of file SolutionAction.cc.
virtual bool zypp::solver::detail::SolutionAction::execute | ( | Resolver & | resolver | ) | const [pure virtual] |
Execute this action.
Returns 'true' on success, 'false' on error.
Implemented in zypp::solver::detail::InjectSolutionAction, and zypp::solver::detail::TransactionSolutionAction.
std::ostream& operator<< | ( | std::ostream & | str, |
const SolutionAction & | action | ||
) | [friend] |
Definition at line 47 of file SolutionAction.h.
std::ostream& operator<< | ( | std::ostream & | str, |
const SolutionActionList & | actionlist | ||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | str, |
const CSolutionActionList & | actionlist | ||
) | [friend] |