9#ifndef ZYPP_PROBLEMSOLUTION_H
10#define ZYPP_PROBLEMSOLUTION_H
68 const std::string &
details()
const;
100#ifdef __cpp_lib_optional
102 std::optional<std::set<PoolItem>> getIfSkipsPatchesOnly()
const;
Class representing one possible solution to a problem found during resolving.
void setDescription(std::string description)
Set description of the solution.
void setDetails(const std::string &details)
Set detail description of the solution.
RWCOW_pointer< Impl > _pimpl
bool skipsPatchesOnly() const
The solution contains only 'do not install patch:' actions.
const std::string & description() const
Return a one-line text description of this solution.
solver::detail::SolutionAction_Ptr SolutionAction_Ptr
ProblemSolution()
Constructor.
const SolutionActionList & actions() const
Return the list of actions forming this solution.
solver::detail::SolutionActionList SolutionActionList
void pushDescriptionDetail(std::string description, bool front=false)
Collect multiple action descriptions in details (NL separated)
const std::string & details() const
Return a (possibly multi-line) detailed description of this solution or an empty string if there are ...
void addAction(const SolutionAction_Ptr &action)
Add an action to the actions list.
Base class for reference counted objects.
std::list< SolutionAction_Ptr > SolutionActionList
Easy-to use interface to the ZYPP dependency resolver.
std::list< ProblemSolution_Ptr > ProblemSolutionList
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
ProblemSolution implementation.
RW_pointer supporting 'copy on write' functionality.