9 #ifndef ZYPP_PROBLEMSOLUTION_H
10 #define ZYPP_PROBLEMSOLUTION_H
107 void addAction( solver::detail::SolutionAction_constPtr action );
118 #endif // ZYPP_PROBLEMSOLUTION_H
std::list< ProblemSolution_Ptr > ProblemSolutionList
friend std::ostream & operator<<(std::ostream &, const ProblemSolution &solution)
std::string description() const
Return a one-line text description of this solution.
std::string details() const
Return a (possibly multi-line) detailed description of this solution or an empty string if there are ...
ResolverProblem_Ptr problem() const
Return the parent dependency problem.
void addAction(solver::detail::SolutionAction_constPtr action)
Add an action to the actions list.
void clear()
Clear all data.
A mid layer class we should remove.
solver::detail::CSolutionActionList actions()
Base class for reference counted objects.
std::list< SolutionAction_constPtr > CSolutionActionList
ResolverProblem_Ptr _problem
bool apply(solver::detail::Resolver &resolver)
Apply this solution, i.e.
ProblemSolution(ResolverProblem_Ptr parent, const std::string &description, const std::string &details)
Constructor.
solver::detail::CSolutionActionList _actions
Class representing one possible solution to one problem found during resolving.
~ProblemSolution()
Destructor.
std::list< ProblemSolution_constPtr > CProblemSolutionList