9 #ifndef ZYPP_PROBLEMSOLUTION_H 10 #define ZYPP_PROBLEMSOLUTION_H 68 const std::string &
details()
const;
100 #ifdef __cpp_lib_optional // YAST/PK explicitly use c++11 until 15-SP3 102 std::optional<std::set<PoolItem>> getIfSkipsPatchesOnly()
const;
118 #endif // ZYPP_PROBLEMSOLUTION_H
const SolutionActionList & actions() const
Return the list of actions forming this solution.
RWCOW_pointer< Impl > _pimpl
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
ProblemSolution()
Constructor.
const std::string & details() const
Return a (possibly multi-line) detailed description of this solution or an empty string if there are ...
solver::detail::SolutionAction_Ptr SolutionAction_Ptr
solver::detail::SolutionActionList SolutionActionList
void setDetails(const std::string &details)
Set detail description of the solution.
Base class for reference counted objects.
void addAction(const SolutionAction_Ptr &action)
Add an action to the actions list.
~ProblemSolution() override
Destructor.
void setDescription(std::string description)
Set description of the solution.
bool skipsPatchesOnly() const
The solution contains only 'do not install patch:' actions.
std::list< SolutionAction_Ptr > SolutionActionList
ProblemSolution implementation.
const std::string & description() const
Return a one-line text description of this solution.
Easy-to use interface to the ZYPP dependency resolver.
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.
std::list< ProblemSolution_Ptr > ProblemSolutionList