#include <ResolverProblem.h>
List of all members.
Private Member Functions |
void | clear () |
| Clear all data.
|
Detailed Description
Definition at line 24 of file ResolverProblem.h.
Constructor & Destructor Documentation
zypp::ResolverProblem::ResolverProblem |
( |
const std::string & |
description, |
|
|
const std::string & |
details |
|
) |
| |
zypp::ResolverProblem::~ResolverProblem |
( |
| ) |
|
Member Function Documentation
void zypp::ResolverProblem::clear |
( |
| ) |
|
|
private |
Clear all data.
In particular, delete all members of _solutions.
Definition at line 115 of file ResolverProblem.cc.
std::string zypp::ResolverProblem::description |
( |
| ) |
const |
|
inline |
std::string zypp::ResolverProblem::details |
( |
| ) |
const |
|
inline |
Return a (possibly muti-line) detailed description of the problem or an empty string if there are no useful details.
Definition at line 71 of file ResolverProblem.h.
void zypp::ResolverProblem::setDescription |
( |
const std::string & |
description | ) |
|
|
inline |
void zypp::ResolverProblem::setDetails |
( |
const std::string & |
detail | ) |
|
|
inline |
Return the possible solutions to this problem.
All problems should have at least 2-3 (mutually exclusive) solutions:
- Undo: Do not perform the offending transaction
(do not install the package that had unsatisfied requirements,
do not remove the package that would break other packages' requirements)
- Remove referrers: Remove all packages that would break because
they depend on the package that is requested to be removed
- Ignore: Inject artificial "provides" for a missing requirement
(pretend that requirement is satisfied)
Definition at line 93 of file ResolverProblem.cc.
Resolver_constPtr zypp::ResolverProblem::resolver |
( |
| ) |
const |
|
inline |
void zypp::ResolverProblem::addSolution |
( |
ProblemSolution_Ptr |
solution, |
|
|
bool |
inFront = false |
|
) |
| |
Add a solution to this problem.
This class takes over ownership of the problem and will delete it when neccessary.
Definition at line 104 of file ResolverProblem.cc.
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const ResolverProblem & |
problem |
|
) |
| |
|
friend |
Member Data Documentation
Resolver_constPtr zypp::ResolverProblem::_resolver |
|
private |
std::string zypp::ResolverProblem::_description |
|
private |
std::string zypp::ResolverProblem::_details |
|
private |
The documentation for this class was generated from the following files: