libzypp
13.10.6
|
A mid layer class we should remove. More...
#include <Resolver.h>
Public Member Functions | |
Resolver (const ResPool &pool) | |
virtual | ~Resolver () |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload to realize std::ostream & operator<<. More... | |
ResPool | pool () const |
void | setPool (const ResPool &pool) |
void | addUpgradeRepo (Repository repo_r) |
bool | upgradingRepo (Repository repo_r) const |
void | removeUpgradeRepo (Repository repo_r) |
void | removeUpgradeRepos () |
const std::set< Repository > & | upgradeRepos () const |
void | addExtraRequire (const Capability &capability) |
void | removeExtraRequire (const Capability &capability) |
void | addExtraConflict (const Capability &capability) |
void | removeExtraConflict (const Capability &capability) |
void | removeQueueItem (SolverQueueItem_Ptr item) |
void | addQueueItem (SolverQueueItem_Ptr item) |
CapabilitySet | extraRequires () const |
CapabilitySet | extraConflicts () const |
void | addWeak (const PoolItem &item) |
bool | verifySystem () |
bool | resolvePool () |
bool | resolveQueue (SolverQueueItemList &queue) |
void | doUpdate () |
bool | doUpgrade () |
PoolItemList | problematicUpdateItems () const |
ResolverProblemList | problems () const |
void | applySolutions (const ProblemSolutionList &solutions) |
sat::Transaction | getTransaction () |
void | undo () |
void | reset (bool keepExtras=false) |
ItemCapKindList | isInstalledBy (const PoolItem &item) |
ItemCapKindList | installs (const PoolItem &item) |
ItemCapKindList | satifiedByInstalled (const PoolItem &item) |
ItemCapKindList | installedSatisfied (const PoolItem &item) |
Public Member Functions inherited from zypp::base::ReferenceCounted | |
ReferenceCounted () | |
Default ctor. More... | |
ReferenceCounted (const ReferenceCounted &rhs) | |
Copy ctor. More... | |
virtual | ~ReferenceCounted () |
Dtor. More... | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Assignment. More... | |
unsigned | refCount () const |
Return reference counter value. More... | |
void | ref () const |
Add a reference. More... | |
void | unref () const |
Release a reference. More... | |
Private Member Functions | |
void | collectResolverInfo () |
bool | checkUnmaintainedItems () |
void | solverInit () |
Friends | |
std::ostream & | operator<< (std::ostream &str, const Resolver &obj) |
Solver flags | |
bool | _forceResolve |
bool | _upgradeMode |
bool | _updateMode |
bool | _verifying |
bool | _onlyRequires |
bool | _allowVendorChange |
bool | _solveSrcPackages |
bool | _cleandepsOnRemove |
bool | _ignoreAlreadyRecommended |
bool | ignoreAlreadyRecommended () const |
void | setIgnoreAlreadyRecommended (bool yesno_r) |
bool | onlyRequires () const |
void | setOnlyRequires (TriBool state_r) |
bool | forceResolve () const |
void | setForceResolve (TriBool state_r) |
bool | isUpgradeMode () const |
void | setUpgradeMode (bool yesno_r) |
bool | isUpdateMode () const |
bool | isVerifyingMode () const |
void | setVerifyingMode (TriBool state_r) |
bool | allowVendorChange () const |
void | setAllowVendorChange (TriBool state_r) |
bool | solveSrcPackages () const |
void | setSolveSrcPackages (TriBool state_r) |
bool | cleandepsOnRemove () const |
void | setCleandepsOnRemove (TriBool state_r) |
Additional Inherited Members | |
Static Public Member Functions inherited from zypp::base::ReferenceCounted | |
static void | add_ref (const ReferenceCounted *ptr_r) |
Called by zypp::intrusive_ptr to add a reference. More... | |
static void | release (const ReferenceCounted *ptr_r) |
Called by zypp::intrusive_ptr to add a reference. More... | |
Protected Member Functions inherited from zypp::base::ReferenceCounted | |
virtual void | ref_to (unsigned) const |
Trigger derived classes after refCount was increased. More... | |
virtual void | unref_to (unsigned) const |
Trigger derived classes after refCount was decreased. More... | |
Related Functions inherited from zypp::base::ReferenceCounted | |
void | intrusive_ptr_add_ref (const ReferenceCounted *ptr_r) |
void | intrusive_ptr_release (const ReferenceCounted *ptr_r) |
std::ostream & | operator<< (std::ostream &str, const ReferenceCounted &obj) |
A mid layer class we should remove.
Definition at line 101 of file Resolver.h.
zypp::solver::detail::Resolver::Resolver | ( | const ResPool & | pool | ) |
Definition at line 81 of file Resolver.cc.
|
virtual |
Definition at line 101 of file Resolver.cc.
|
private |
Definition at line 387 of file Resolver.cc.
|
private |
|
private |
Definition at line 276 of file Resolver.cc.
|
virtual |
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::base::ReferenceCounted.
Definition at line 61 of file Resolver.cc.
ResPool zypp::solver::detail::Resolver::pool | ( | ) | const |
Definition at line 125 of file Resolver.cc.
|
inline |
Definition at line 168 of file Resolver.h.
|
inline |
Definition at line 170 of file Resolver.h.
|
inline |
Definition at line 171 of file Resolver.h.
|
inline |
Definition at line 172 of file Resolver.h.
|
inline |
Definition at line 173 of file Resolver.h.
|
inline |
Definition at line 174 of file Resolver.h.
void zypp::solver::detail::Resolver::addExtraRequire | ( | const Capability & | capability | ) |
Definition at line 159 of file Resolver.cc.
void zypp::solver::detail::Resolver::removeExtraRequire | ( | const Capability & | capability | ) |
Definition at line 162 of file Resolver.cc.
void zypp::solver::detail::Resolver::addExtraConflict | ( | const Capability & | capability | ) |
Definition at line 165 of file Resolver.cc.
void zypp::solver::detail::Resolver::removeExtraConflict | ( | const Capability & | capability | ) |
Definition at line 168 of file Resolver.cc.
void zypp::solver::detail::Resolver::removeQueueItem | ( | SolverQueueItem_Ptr | item | ) |
Definition at line 171 of file Resolver.cc.
void zypp::solver::detail::Resolver::addQueueItem | ( | SolverQueueItem_Ptr | item | ) |
Definition at line 188 of file Resolver.cc.
|
inline |
Definition at line 184 of file Resolver.h.
|
inline |
Definition at line 185 of file Resolver.h.
void zypp::solver::detail::Resolver::addWeak | ( | const PoolItem & | item | ) |
Definition at line 205 of file Resolver.cc.
bool zypp::solver::detail::Resolver::verifySystem | ( | ) |
Definition at line 240 of file Resolver.cc.
bool zypp::solver::detail::Resolver::resolvePool | ( | ) |
Definition at line 317 of file Resolver.cc.
bool zypp::solver::detail::Resolver::resolveQueue | ( | SolverQueueItemList & | queue | ) |
Definition at line 323 of file Resolver.cc.
void zypp::solver::detail::Resolver::doUpdate | ( | ) |
Definition at line 150 of file Resolver.cc.
bool zypp::solver::detail::Resolver::doUpgrade | ( | ) |
Definition at line 143 of file Resolver.cc.
PoolItemList zypp::solver::detail::Resolver::problematicUpdateItems | ( | ) | const |
Definition at line 156 of file Resolver.cc.
|
inline |
Definition at line 199 of file Resolver.h.
|
inline |
Definition at line 200 of file Resolver.h.
|
inline |
Definition at line 202 of file Resolver.h.
void zypp::solver::detail::Resolver::setOnlyRequires | ( | TriBool | state_r | ) |
Definition at line 113 of file Resolver.cc.
|
inline |
Definition at line 205 of file Resolver.h.
|
inline |
Definition at line 206 of file Resolver.h.
|
inline |
Definition at line 208 of file Resolver.h.
|
inline |
Definition at line 209 of file Resolver.h.
|
inline |
Definition at line 211 of file Resolver.h.
|
inline |
Definition at line 213 of file Resolver.h.
|
inline |
Definition at line 214 of file Resolver.h.
|
inline |
Definition at line 216 of file Resolver.h.
void zypp::solver::detail::Resolver::setAllowVendorChange | ( | TriBool | state_r | ) |
Definition at line 108 of file Resolver.cc.
|
inline |
Definition at line 219 of file Resolver.h.
|
inline |
Definition at line 220 of file Resolver.h.
|
inline |
Definition at line 222 of file Resolver.h.
void zypp::solver::detail::Resolver::setCleandepsOnRemove | ( | TriBool | state_r | ) |
Definition at line 118 of file Resolver.cc.
ResolverProblemList zypp::solver::detail::Resolver::problems | ( | ) | const |
Definition at line 371 of file Resolver.cc.
void zypp::solver::detail::Resolver::applySolutions | ( | const ProblemSolutionList & | solutions | ) |
Definition at line 377 of file Resolver.cc.
sat::Transaction zypp::solver::detail::Resolver::getTransaction | ( | ) |
Definition at line 362 of file Resolver.cc.
void zypp::solver::detail::Resolver::undo | ( | ) |
Definition at line 259 of file Resolver.cc.
void zypp::solver::detail::Resolver::reset | ( | bool | keepExtras = false | ) |
Definition at line 128 of file Resolver.cc.
ItemCapKindList zypp::solver::detail::Resolver::isInstalledBy | ( | const PoolItem & | item | ) |
Definition at line 535 of file Resolver.cc.
ItemCapKindList zypp::solver::detail::Resolver::installs | ( | const PoolItem & | item | ) |
Definition at line 554 of file Resolver.cc.
ItemCapKindList zypp::solver::detail::Resolver::satifiedByInstalled | ( | const PoolItem & | item | ) |
Definition at line 573 of file Resolver.cc.
ItemCapKindList zypp::solver::detail::Resolver::installedSatisfied | ( | const PoolItem & | item | ) |
Definition at line 592 of file Resolver.cc.
|
friend |
Definition at line 162 of file Resolver.h.
|
private |
Definition at line 104 of file Resolver.h.
|
private |
Definition at line 105 of file Resolver.h.
|
private |
Definition at line 106 of file Resolver.h.
|
private |
Definition at line 108 of file Resolver.h.
|
private |
Definition at line 109 of file Resolver.h.
|
private |
Definition at line 110 of file Resolver.h.
|
private |
Definition at line 113 of file Resolver.h.
|
private |
Definition at line 117 of file Resolver.h.
|
private |
Definition at line 120 of file Resolver.h.
|
private |
Definition at line 121 of file Resolver.h.
|
private |
Definition at line 122 of file Resolver.h.
|
private |
Definition at line 123 of file Resolver.h.
|
private |
Definition at line 126 of file Resolver.h.
|
private |
Definition at line 127 of file Resolver.h.
|
private |
Definition at line 128 of file Resolver.h.
|
private |
Definition at line 130 of file Resolver.h.
|
private |
Definition at line 135 of file Resolver.h.
|
private |
Definition at line 136 of file Resolver.h.
|
private |
Definition at line 139 of file Resolver.h.
|
private |
Definition at line 140 of file Resolver.h.
|
private |
Definition at line 141 of file Resolver.h.
|
private |
Definition at line 142 of file Resolver.h.