#include <ProblemSolutionCombi.h>
Public Member Functions | |
ProblemSolutionCombi (ResolverProblem_Ptr parent) | |
Constructor. | |
void | addSingleAction (PoolItem item, const TransactionKind action) |
Add a single action of an item. | |
void | addSingleAction (Capability capability, const TransactionKind action) |
Add a single action of a capability. | |
void | addSingleAction (SolverQueueItem_Ptr item, const TransactionKind action) |
Add a single action of a SolverQueueItem. | |
int | actionCount () |
returns the number of actions | |
void | addDescription (const std::string description) |
Set description text (append). | |
void | addFrontDescription (const std::string &description) |
Set description text (prepend). | |
Protected Attributes | |
int | actNumber |
e.G. install, delete, keep different resolvables.
Definition at line 46 of file ProblemSolutionCombi.h.
zypp::solver::detail::ProblemSolutionCombi::ProblemSolutionCombi | ( | ResolverProblem_Ptr | parent | ) |
Constructor.
Definition at line 48 of file ProblemSolutionCombi.cc.
References zypp::ProblemSolution::_description, and zypp::ProblemSolution::_details.
void zypp::solver::detail::ProblemSolutionCombi::addSingleAction | ( | PoolItem | item, | |
const TransactionKind | action | |||
) |
Add a single action of an item.
Definition at line 62 of file ProblemSolutionCombi.cc.
References actNumber, and zypp::ProblemSolution::addAction().
Referenced by zypp::solver::detail::FindPackage::operator()(), and zypp::solver::detail::SATResolver::problems().
void zypp::solver::detail::ProblemSolutionCombi::addSingleAction | ( | Capability | capability, | |
const TransactionKind | action | |||
) |
Add a single action of a capability.
Definition at line 56 of file ProblemSolutionCombi.cc.
References actNumber, and zypp::ProblemSolution::addAction().
void zypp::solver::detail::ProblemSolutionCombi::addSingleAction | ( | SolverQueueItem_Ptr | item, | |
const TransactionKind | action | |||
) |
Add a single action of a SolverQueueItem.
Definition at line 68 of file ProblemSolutionCombi.cc.
References actNumber, and zypp::ProblemSolution::addAction().
int zypp::solver::detail::ProblemSolutionCombi::actionCount | ( | ) | [inline] |
returns the number of actions
Definition at line 74 of file ProblemSolutionCombi.h.
References actNumber.
Referenced by zypp::solver::detail::SATResolver::problems().
void zypp::solver::detail::ProblemSolutionCombi::addDescription | ( | const std::string | description | ) |
Set description text (append).
Definition at line 74 of file ProblemSolutionCombi.cc.
References _, zypp::ProblemSolution::_description, and zypp::ProblemSolution::_details.
Referenced by zypp::solver::detail::SATResolver::problems().
void zypp::solver::detail::ProblemSolutionCombi::addFrontDescription | ( | const std::string & | description | ) |
Set description text (prepend).
Definition at line 93 of file ProblemSolutionCombi.cc.
References _, zypp::ProblemSolution::_description, and zypp::ProblemSolution::_details.
Referenced by zypp::solver::detail::SATResolver::problems().
int zypp::solver::detail::ProblemSolutionCombi::actNumber [protected] |
Definition at line 49 of file ProblemSolutionCombi.h.
Referenced by actionCount(), and addSingleAction().