25 #define ZYPP_USE_RESOLVER_INTERNALS
63 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
66 {
return new Impl( *
this ); }
71 : _pimpl( new
Impl() )
75 : _pimpl( new
Impl( std::move(description) ) )
79 : _pimpl( new
Impl( std::move(description), std::move(details) ) )
130 os <<
"Solution:" << endl;
140 for (
const auto & ptr: obj )
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.
Impl(std::string &&description, std::string &&details)
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)
Impl * clone() const
clone for RWCOW_pointer
Impl(std::string &&description)
IMPL_PTR_TYPE(Application)
SolutionActionList _actions
const SolutionActionList & actions() const
Return the list of actions forming this solution.
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.