9 #ifndef ZYPP_PROBLEMSOLUTION_H
10 #define ZYPP_PROBLEMSOLUTION_H
65 const std::string &
details()
const;
107 #endif // ZYPP_PROBLEMSOLUTION_H
std::list< ProblemSolution_Ptr > ProblemSolutionList
const std::string & details() const
Return a (possibly multi-line) detailed description of this solution or an empty string if there are ...
RWCOW_pointer< Impl > _pimpl
ProblemSolution()
Constructor.
void setDetails(std::string details)
Set detail description of the solution.
const std::string & description() const
Return a one-line text description of this solution.
void addAction(SolutionAction_Ptr action)
Add an action to the actions list.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
Base class for reference counted objects.
const SolutionActionList & actions() const
Return the list of actions forming this solution.
solver::detail::SolutionAction_Ptr SolutionAction_Ptr
solver::detail::SolutionActionList SolutionActionList
void setDescription(std::string description)
Set description of the solution.
ProblemSolution implementation.
void pushDescriptionDetail(std::string description, bool front=false)
Collect multiple action descriptions in details (NL separated)
Class representing one possible solution to a problem found during resolving.
virtual ~ProblemSolution()
Destructor.
std::list< SolutionAction_Ptr > SolutionActionList