9 #ifndef ZYPP_RESOLVERPROBLEM_H
10 #define ZYPP_RESOLVERPROBLEM_H
48 const std::string &
details()
const;
81 void addSolution( ProblemSolution_Ptr solution,
bool inFront =
false );
97 #endif // ZYPP_RESOLVERPROBLEM_H
std::list< ProblemSolution_Ptr > ProblemSolutionList
void addSolution(ProblemSolution_Ptr solution, bool inFront=false)
Add a solution to this problem.
~ResolverProblem()
Destructor.
const std::string & description() const
Return a one-line description of the problem.
ResolverProblem implementation.
std::list< ResolverProblem_Ptr > ResolverProblemList
std::ostream & operator<<(std::ostream &str, const Exception &obj)
void setDetails(std::string details)
Set detail description of the problem.
const std::string & details() const
Return a (possibly muti-line) detailed description of the problem or an empty string if there are no ...
Base class for reference counted objects.
RWCOW_pointer< Impl > _pimpl
Describe a solver problem and offer solutions.
ResolverProblem()
Constructor.
const ProblemSolutionList & solutions() const
Return the possible solutions to this problem.
void setDescription(std::string description)
Set description of the problem.