#include <ResolverContext.h>
Inheritance diagram for zypp::solver::detail::ResolverContext:

Public Member Functions | |
| ResolverContext (const ResPool &pool, const Arch &arch, ResolverContext_Ptr parent=NULL) | |
| virtual | ~ResolverContext () |
| unsigned long long | downloadSize (void) const |
| unsigned long long | installSize (void) const |
| int | totalPriority (void) const |
| int | minPriority (void) const |
| int | maxPriority (void) const |
| int | otherPenalties (void) const |
| bool | isValid (void) const |
| bool | askUser (void) const |
| bool | isInvalid (void) const |
| bool | verifying (void) const |
| void | setVerifying (bool verifying) |
| bool | tryAllPossibilities (void) const |
| void | setTryAllPossibilities (bool tryAllPossibilities) |
| bool | scippedPossibilities (void) const |
| void | setScippedPossibilities (bool scippedPossibilities) |
| bool | establishing (void) const |
| void | setEstablishing (bool establishing) |
| ResPool | pool () const |
| Arch | architecture () const |
| void | setIgnoreCababilities (const IgnoreMap ignoreConflicts, const IgnoreMap ignoreRequires, const IgnoreMap ignoreObsoletes, const PoolItemList ignoreInstalledItem, const PoolItemList ignoreArchitectureItem) |
| const IgnoreMap | getIgnoreConflicts () const |
| const IgnoreMap | getIgnoreRequires () const |
| const IgnoreMap | getIgnoreObsoletes () const |
| const PoolItemList | getIgnoreInstalledItem () const |
| const PoolItemList | getIgnoreArchitectureItem () const |
| void | setForceResolve (const bool force) |
| const bool | forceResolve () |
| void | setUpgradeMode (const bool upgrade) |
| const bool | upgradeMode () |
| ResStatus | getStatus (PoolItem_Ref item) |
get the state of item This is NOT the status in the pool but the status according to the context. | |
| void | setStatus (PoolItem_Ref item, const ResStatus &status) |
set the state of item to status If status is not the current state of item, make item part of the current transaction (the context) | |
| bool | install (PoolItem_Ref item, bool is_soft, int other_penalty) |
set item to to-be-installed | |
| bool | satisfy (PoolItem_Ref item, int other_penalty) |
set item to satisfied | |
| bool | unneeded (PoolItem_Ref item, int other_penalty) |
set item to unneeded | |
| bool | incomplete (PoolItem_Ref item, int other_penalty) |
set item to incomplete | |
| bool | upgrade (PoolItem_Ref to, PoolItem_Ref from, bool is_soft, int other_penalty) |
upgrade from to to marks from as to-be-uninstalled and to as to-be-installed | |
| bool | uninstall (PoolItem_Ref item, bool part_of_upgrade, bool due_to_obsolete, bool due_to_unlink) |
set item to to-be-uninstalled | |
| bool | isPresent (PoolItem_Ref item, bool *unneeded=NULL, bool *installed=NULL) |
| |
| bool | isAbsent (PoolItem_Ref item) |
| |
| bool | requirementIsMet (const Capability &cap, bool *unneeded=NULL, bool *installed=NULL) |
| bool | requirementIsInstalledOrUnneeded (const ResObject::Kind &kind, const Capability &capability) |
| |
| bool | requirementIsPossible (const Capability &cap) |
| bool | itemIsPossible (const PoolItem_Ref item) |
| bool | isParallelInstall (const PoolItem_Ref item) const |
| PoolItem_Ref | getParallelInstall (const PoolItem_Ref item) const |
| void | foreachMarked (MarkedPoolItemFn fn, void *data) const |
| iterate over various states | |
| PoolItemList | getMarked (int which) |
| int | foreachInstall (MarkedPoolItemFn fn, void *data) const |
| PoolItemList | getInstalls (void) const |
| int | installCount (void) const |
| int | foreachUninstall (MarkedPoolItemFn fn, void *data) |
| PoolItemList | getUninstalls (void) |
| int | uninstallCount (void) |
| int | foreachUpgrade (MarkedPoolItemPairFn fn, void *data) |
| PoolItemList | getUpgrades (void) |
| int | upgradeCount (void) |
| int | foreachSatisfy (MarkedPoolItemFn fn, void *data) const |
| PoolItemList | getSatisfies (void) const |
| int | satisfyCount (void) const |
| int | foreachIncomplete (MarkedPoolItemFn fn, void *data) const |
| PoolItemList | getIncompletes (void) const |
| int | incompleteCount (void) const |
| int | foreachImpossible (MarkedPoolItemFn fn, void *data) |
| void | addInfo (ResolverInfo_Ptr info, bool askUser=false) |
| void | addError (ResolverInfo_Ptr info, bool askUser=false) |
| void | foreachInfo (PoolItem_Ref item, int priority, ResolverInfoFn fn, void *data) const |
| ResolverInfoList | getInfo (void) const |
| void | collectCompareInfo (int &cmpVersion, int &cmpSource, ResolverContext_Ptr compareContext) |
| int | partialCompare (ResolverContext_Ptr context) |
| int | compare (ResolverContext_Ptr context) |
| void | spew (void) |
| void | spewInfo (void) const |
| int | getSourcePriority (Source_Ref source) const |
Private Types | |
| typedef std::map< PoolItem_Ref, ResStatus > | Context |
Private Attributes | |
| ResolverContext_Ptr | _parent |
| Context | _context |
| ResPool | _pool |
| ResolverInfoList | _log |
| unsigned long long | _download_size |
| unsigned long long | _install_size |
| int | _total_priority |
| int | _min_priority |
| int | _max_priority |
| int | _other_penalties |
| bool | _verifying |
| bool | _establishing |
| bool | _invalid |
| bool | _askUser |
| PoolItem_Ref | _last_checked_item |
| ResStatus | _last_checked_status |
| PoolItemList | _last_getMarked |
| int | _last_getMarked_which |
| Arch | _architecture |
| IgnoreMap | _ignoreConflicts |
| IgnoreMap | _ignoreRequires |
| IgnoreMap | _ignoreObsoletes |
| PoolItemList | _ignoreInstalledItem |
| PoolItemList | _ignoreArchitectureItem |
| bool | _forceResolve |
| bool | _upgradeMode |
| bool | _tryAllPossibilities |
| bool | _scippedPossibilities |
Friends | |
| std::ostream & | operator<< (std::ostream &, const ResolverContext &context) |
Definition at line 56 of file ResolverContext.h.
typedef std::map<PoolItem_Ref,ResStatus> zypp::solver::detail::ResolverContext::Context [private] |
Definition at line 63 of file ResolverContext.h.
| zypp::solver::detail::ResolverContext::ResolverContext | ( | const ResPool & | pool, | |
| const Arch & | arch, | |||
| ResolverContext_Ptr | parent = NULL | |||
| ) |
Definition at line 86 of file ResolverContext.cc.
References _download_size, _establishing, _forceResolve, _ignoreArchitectureItem, _ignoreConflicts, _ignoreInstalledItem, _ignoreObsoletes, _ignoreRequires, _install_size, _max_priority, _min_priority, _other_penalties, _pool, _scippedPossibilities, _total_priority, _tryAllPossibilities, _upgradeMode, _verifying, and _XDEBUG.
| zypp::solver::detail::ResolverContext::~ResolverContext | ( | ) | [virtual] |
Definition at line 133 of file ResolverContext.cc.
| unsigned long long zypp::solver::detail::ResolverContext::downloadSize | ( | void | ) | const [inline] |
| unsigned long long zypp::solver::detail::ResolverContext::installSize | ( | void | ) | const [inline] |
| int zypp::solver::detail::ResolverContext::totalPriority | ( | void | ) | const [inline] |
| int zypp::solver::detail::ResolverContext::minPriority | ( | void | ) | const [inline] |
| int zypp::solver::detail::ResolverContext::maxPriority | ( | void | ) | const [inline] |
| int zypp::solver::detail::ResolverContext::otherPenalties | ( | void | ) | const [inline] |
| bool zypp::solver::detail::ResolverContext::isValid | ( | void | ) | const [inline] |
| bool zypp::solver::detail::ResolverContext::askUser | ( | void | ) | const [inline] |
| bool zypp::solver::detail::ResolverContext::isInvalid | ( | void | ) | const [inline] |
| bool zypp::solver::detail::ResolverContext::verifying | ( | void | ) | const [inline] |
| void zypp::solver::detail::ResolverContext::setVerifying | ( | bool | verifying | ) | [inline] |
| bool zypp::solver::detail::ResolverContext::tryAllPossibilities | ( | void | ) | const [inline] |
| void zypp::solver::detail::ResolverContext::setTryAllPossibilities | ( | bool | tryAllPossibilities | ) | [inline] |
| bool zypp::solver::detail::ResolverContext::scippedPossibilities | ( | void | ) | const [inline] |
| void zypp::solver::detail::ResolverContext::setScippedPossibilities | ( | bool | scippedPossibilities | ) | [inline] |
| bool zypp::solver::detail::ResolverContext::establishing | ( | void | ) | const [inline] |
| void zypp::solver::detail::ResolverContext::setEstablishing | ( | bool | establishing | ) | [inline] |
| ResPool zypp::solver::detail::ResolverContext::pool | ( | void | ) | const [inline] |
Definition at line 151 of file ResolverContext.h.
References _pool.
Referenced by requirementIsMet(), and requirementIsPossible().
| Arch zypp::solver::detail::ResolverContext::architecture | ( | ) | const [inline] |
| void zypp::solver::detail::ResolverContext::setIgnoreCababilities | ( | const IgnoreMap | ignoreConflicts, | |
| const IgnoreMap | ignoreRequires, | |||
| const IgnoreMap | ignoreObsoletes, | |||
| const PoolItemList | ignoreInstalledItem, | |||
| const PoolItemList | ignoreArchitectureItem | |||
| ) | [inline] |
Definition at line 156 of file ResolverContext.h.
References _ignoreArchitectureItem, _ignoreConflicts, _ignoreInstalledItem, _ignoreObsoletes, and _ignoreRequires.
| const IgnoreMap zypp::solver::detail::ResolverContext::getIgnoreConflicts | ( | ) | const [inline] |
| const IgnoreMap zypp::solver::detail::ResolverContext::getIgnoreRequires | ( | ) | const [inline] |
| const IgnoreMap zypp::solver::detail::ResolverContext::getIgnoreObsoletes | ( | ) | const [inline] |
| const PoolItemList zypp::solver::detail::ResolverContext::getIgnoreInstalledItem | ( | ) | const [inline] |
| const PoolItemList zypp::solver::detail::ResolverContext::getIgnoreArchitectureItem | ( | ) | const [inline] |
| void zypp::solver::detail::ResolverContext::setForceResolve | ( | const bool | force | ) | [inline] |
| const bool zypp::solver::detail::ResolverContext::forceResolve | ( | ) | [inline] |
Definition at line 175 of file ResolverContext.h.
References _forceResolve.
Referenced by uninstall().
| void zypp::solver::detail::ResolverContext::setUpgradeMode | ( | const bool | upgrade | ) | [inline] |
| const bool zypp::solver::detail::ResolverContext::upgradeMode | ( | ) | [inline] |
Definition at line 178 of file ResolverContext.h.
References _upgradeMode.
Referenced by uninstall().
| ResStatus zypp::solver::detail::ResolverContext::getStatus | ( | PoolItem_Ref | item | ) |
get the state of item This is NOT the status in the pool but the status according to the context.
Definition at line 141 of file ResolverContext.cc.
References _last_checked_item, _last_checked_status, zypp::ResStatus::installed, zypp::ResStatus::isInstalled(), zypp::ResStatus::resetTransact(), zypp::PoolItem_Ref::status(), zypp::ResStatus::uninstalled, and zypp::ResStatus::USER.
Referenced by collectCompareInfo(), incomplete(), install(), isAbsent(), isPresent(), satisfy(), setStatus(), uninstall(), unneeded(), and upgrade().
| void zypp::solver::detail::ResolverContext::setStatus | ( | PoolItem_Ref | item, | |
| const ResStatus & | status | |||
| ) |
set the state of item to status If status is not the current state of item, make item part of the current transaction (the context)
Definition at line 182 of file ResolverContext.cc.
References _context, _invalid, _last_checked_item, _last_checked_status, _XDEBUG, and getStatus().
Referenced by incomplete(), install(), satisfy(), uninstall(), unneeded(), and upgrade().
| bool zypp::solver::detail::ResolverContext::install | ( | PoolItem_Ref | item, | |
| bool | is_soft, | |||
| int | other_penalty | |||
| ) |
set item to to-be-installed
Definition at line 204 of file ResolverContext.cc.
References _download_size, _install_size, _max_priority, _min_priority, _other_penalties, _XDEBUG, addError(), addInfo(), getParallelInstall(), getSourcePriority(), getStatus(), zypp::ResStatus::isImpossible(), isParallelInstall(), zypp::ResStatus::isToBeInstalled(), zypp::ResStatus::isToBeUninstalled(), zypp::ResStatus::isToBeUninstalledDueToUnlink(), zypp::ResStatus::isUnneeded(), RESOLVER_INFO_PRIORITY_VERBOSE, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_PARALLEL, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_TO_BE_UNINSTALLED, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_UNNEEDED, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALLABLE, setStatus(), zypp::ResStatus::toBeInstalled, zypp::ResStatus::toBeInstalledSoft, and zypp::ResStatus::wasUninstalled().
| bool zypp::solver::detail::ResolverContext::satisfy | ( | PoolItem_Ref | item, | |
| int | other_penalty | |||
| ) |
set item to satisfied
Definition at line 580 of file ResolverContext.cc.
References _XDEBUG, zypp::ResStatus::complete, getStatus(), zypp::ResStatus::satisfied, setStatus(), zypp::ResStatus::wasInstalled(), and zypp::ResStatus::wasUninstalled().
| bool zypp::solver::detail::ResolverContext::unneeded | ( | PoolItem_Ref | item, | |
| int | other_penalty | |||
| ) |
set item to unneeded
Definition at line 549 of file ResolverContext.cc.
References _XDEBUG, getStatus(), zypp::ResStatus::satisfied, setStatus(), zypp::ResStatus::unneeded, zypp::ResStatus::wasInstalled(), and zypp::ResStatus::wasUninstalled().
Referenced by requirementIsInstalledOrUnneeded().
| bool zypp::solver::detail::ResolverContext::incomplete | ( | PoolItem_Ref | item, | |
| int | other_penalty | |||
| ) |
set item to incomplete
Definition at line 602 of file ResolverContext.cc.
References _establishing, _XDEBUG, addError(), getStatus(), zypp::ResStatus::incomplete, zypp::ResStatus::needed, RESOLVER_INFO_PRIORITY_VERBOSE, zypp::solver::detail::RESOLVER_INFO_TYPE_INCOMPLETES, setStatus(), zypp::ResStatus::staysInstalled(), and zypp::ResStatus::wasInstalled().
| bool zypp::solver::detail::ResolverContext::upgrade | ( | PoolItem_Ref | to, | |
| PoolItem_Ref | from, | |||
| bool | is_soft, | |||
| int | other_penalty | |||
| ) |
upgrade from to to marks from as to-be-uninstalled and to as to-be-installed
Definition at line 289 of file ResolverContext.cc.
References _download_size, _install_size, _max_priority, _min_priority, _other_penalties, _XDEBUG, addError(), getParallelInstall(), getSourcePriority(), getStatus(), zypp::ResStatus::isImpossible(), isParallelInstall(), zypp::ResStatus::isToBeInstalled(), zypp::ResStatus::isToBeUninstalled(), zypp::PoolItem_Ref::resolvable(), RESOLVER_INFO_PRIORITY_VERBOSE, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_PARALLEL, setStatus(), zypp::ResStatus::setToBeInstalled(), zypp::ResStatus::SOLVER, zypp::ResStatus::toBeInstalledSoft, and zypp::ResStatus::uninstalled.
| bool zypp::solver::detail::ResolverContext::uninstall | ( | PoolItem_Ref | item, | |
| bool | part_of_upgrade, | |||
| bool | due_to_obsolete, | |||
| bool | due_to_unlink | |||
| ) |
set item to to-be-uninstalled
Definition at line 368 of file ResolverContext.cc.
References _install_size, _log, _XDEBUG, addError(), addInfo(), forceResolve(), getStatus(), zypp::ResStatus::impossible, zypp::ResStatus::isImpossible(), zypp::ResStatus::isToBeInstalledNotSoft(), zypp::ResStatus::isToBeUninstalled(), zypp::ResStatus::isToBeUninstalledDueToUnlink(), zypp::PoolItem_Ref::resolvable(), RESOLVER_INFO_PRIORITY_VERBOSE, zypp::solver::detail::RESOLVER_INFO_TYPE_CANT_SATISFY, zypp::solver::detail::RESOLVER_INFO_TYPE_CONFLICT_CANT_INSTALL, zypp::solver::detail::RESOLVER_INFO_TYPE_CONFLICTS_WITH, zypp::solver::detail::RESOLVER_INFO_TYPE_NO_OTHER_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_NO_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_REJECT_INSTALL, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALLABLE, setStatus(), zypp::PoolItem_Ref::status(), zypp::ResStatus::staysInstalled(), zypp::ResStatus::toBeUninstalled, zypp::ResStatus::toBeUninstalledDueToObsolete, zypp::ResStatus::toBeUninstalledDueToUnlink, zypp::ResStatus::toBeUninstalledDueToUpgrade, upgradeMode(), zypp::ResStatus::wasInstalled(), and zypp::ResStatus::wasUninstalled().
| bool zypp::solver::detail::ResolverContext::isPresent | ( | PoolItem_Ref | item, | |
| bool * | unneeded = NULL, |
|||
| bool * | installed = NULL | |||
| ) |
true if item is installed or to-be-installed
Definition at line 636 of file ResolverContext.cc.
References _XDEBUG, getStatus(), zypp::ResStatus::isIncomplete(), zypp::ResStatus::isNeeded(), zypp::ResStatus::isSatisfied(), zypp::ResStatus::isToBeInstalled(), zypp::ResStatus::isUnneeded(), and zypp::ResStatus::staysInstalled().
| bool zypp::solver::detail::ResolverContext::isAbsent | ( | PoolItem_Ref | item | ) |
true if item is uninstalled or to-be-uninstalled
Definition at line 659 of file ResolverContext.cc.
References _XDEBUG, getStatus(), zypp::ResStatus::isImpossible(), zypp::ResStatus::isToBeUninstalled(), and zypp::ResStatus::staysUninstalled().
| bool zypp::solver::detail::ResolverContext::requirementIsMet | ( | const Capability & | cap, | |
| bool * | unneeded = NULL, |
|||
| bool * | installed = NULL | |||
| ) |
Definition at line 1471 of file ResolverContext.cc.
References _XDEBUG, zypp::ResPool::byCapabilityIndexEnd(), zypp::solver::detail::RequirementMet::flag, zypp::Capability::index(), zypp::invokeOnEach(), pool(), zypp::Dep::PROVIDES, and zypp::solver::detail::RequirementMet::unneeded.
Referenced by requirementIsInstalledOrUnneeded().
| bool zypp::solver::detail::ResolverContext::requirementIsInstalledOrUnneeded | ( | const ResObject::Kind & | kind, | |
| const Capability & | capability | |||
| ) |
true if the requirement is already fulfilled. either by an installed item or the requirement is unneeded. The behaviour depends on the item kind (package,patch,..) which requires this capability.
Definition at line 1499 of file ResolverContext.cc.
References _XDEBUG, requirementIsMet(), and unneeded().
| bool zypp::solver::detail::ResolverContext::requirementIsPossible | ( | const Capability & | cap | ) |
Definition at line 1570 of file ResolverContext.cc.
References _XDEBUG, zypp::ResPool::byCapabilityIndexEnd(), zypp::solver::detail::RequirementPossible::flag, zypp::Capability::index(), zypp::invokeOnEach(), pool(), and zypp::Dep::PROVIDES.
Referenced by itemIsPossible().
| bool zypp::solver::detail::ResolverContext::itemIsPossible | ( | const PoolItem_Ref | item | ) |
Definition at line 1588 of file ResolverContext.cc.
References requirementIsPossible(), and zypp::Dep::REQUIRES.
| bool zypp::solver::detail::ResolverContext::isParallelInstall | ( | const PoolItem_Ref | item | ) | const |
Definition at line 1634 of file ResolverContext.cc.
References _ignoreInstalledItem, DBG, zypp::solver::detail::dup_name_check_cb(), zypp::solver::detail::DupNameCheckInfo::flag, foreachMarked(), and zypp::solver::detail::DupNameCheckInfo::other.
| PoolItem_Ref zypp::solver::detail::ResolverContext::getParallelInstall | ( | const PoolItem_Ref | item | ) | const |
Definition at line 1661 of file ResolverContext.cc.
References zypp::solver::detail::dup_name_check_cb(), zypp::solver::detail::DupNameCheckInfo::flag, foreachMarked(), and zypp::solver::detail::DupNameCheckInfo::other.
| void zypp::solver::detail::ResolverContext::foreachMarked | ( | MarkedPoolItemFn | fn, | |
| void * | data | |||
| ) | const |
iterate over various states
Definition at line 679 of file ResolverContext.cc.
Referenced by foreachImpossible(), foreachIncomplete(), foreachInstall(), foreachSatisfy(), foreachUninstall(), foreachUpgrade(), getMarked(), getParallelInstall(), and isParallelInstall().
| PoolItemList zypp::solver::detail::ResolverContext::getMarked | ( | int | which | ) |
Definition at line 714 of file ResolverContext.cc.
References _last_getMarked, _last_getMarked_which, foreachMarked(), and zypp::solver::detail::marked_item_collector().
Referenced by collectCompareInfo().
| int zypp::solver::detail::ResolverContext::foreachInstall | ( | MarkedPoolItemFn | fn, | |
| void * | data | |||
| ) | const |
Definition at line 756 of file ResolverContext.cc.
References _pool, foreachMarked(), and zypp::solver::detail::install_item_cb().
Referenced by getInstalls(), installCount(), and spew().
| PoolItemList zypp::solver::detail::ResolverContext::getInstalls | ( | void | ) | const |
Definition at line 780 of file ResolverContext.cc.
References zypp::solver::detail::context_item_collector(), and foreachInstall().
| int zypp::solver::detail::ResolverContext::installCount | ( | void | ) | const |
Definition at line 1084 of file ResolverContext.cc.
References foreachInstall(), and zypp::solver::detail::install_count_cb().
| int zypp::solver::detail::ResolverContext::foreachUninstall | ( | MarkedPoolItemFn | fn, | |
| void * | data | |||
| ) |
Definition at line 1013 of file ResolverContext.cc.
References zypp::solver::detail::build_upgrade_hash_cb(), zypp::solver::detail::UninstallInfo::count, zypp::solver::detail::UninstallInfo::fn, foreachMarked(), foreachUpgrade(), zypp::solver::detail::UninstallInfo::rl, zypp::solver::detail::uninstall_item_cb(), and zypp::solver::detail::UninstallInfo::upgrade_hash.
Referenced by getUninstalls(), spew(), and uninstallCount().
| PoolItemList zypp::solver::detail::ResolverContext::getUninstalls | ( | void | ) |
Definition at line 1029 of file ResolverContext.cc.
References zypp::solver::detail::context_item_collector(), and foreachUninstall().
| int zypp::solver::detail::ResolverContext::uninstallCount | ( | void | ) |
Definition at line 1105 of file ResolverContext.cc.
References foreachUninstall(), and zypp::solver::detail::uninstall_count_cb().
| int zypp::solver::detail::ResolverContext::foreachUpgrade | ( | MarkedPoolItemPairFn | fn, | |
| void * | data | |||
| ) |
Definition at line 946 of file ResolverContext.cc.
References _pool, foreachMarked(), and zypp::solver::detail::upgrade_item_cb().
Referenced by foreachUninstall(), getUpgrades(), spew(), and upgradeCount().
| PoolItemList zypp::solver::detail::ResolverContext::getUpgrades | ( | void | ) |
Definition at line 965 of file ResolverContext.cc.
References foreachUpgrade(), and zypp::solver::detail::pair_item_collector().
| int zypp::solver::detail::ResolverContext::upgradeCount | ( | void | ) |
| int zypp::solver::detail::ResolverContext::foreachSatisfy | ( | MarkedPoolItemFn | fn, | |
| void * | data | |||
| ) | const |
Definition at line 815 of file ResolverContext.cc.
References _pool, foreachMarked(), and zypp::solver::detail::satisfy_item_cb().
Referenced by getSatisfies(), and satisfyCount().
| PoolItemList zypp::solver::detail::ResolverContext::getSatisfies | ( | void | ) | const |
Definition at line 838 of file ResolverContext.cc.
References zypp::solver::detail::context_item_collector_satisfy(), and foreachSatisfy().
| int zypp::solver::detail::ResolverContext::satisfyCount | ( | void | ) | const |
Definition at line 1132 of file ResolverContext.cc.
References foreachSatisfy(), and zypp::solver::detail::satisfy_count_cb().
| int zypp::solver::detail::ResolverContext::foreachIncomplete | ( | MarkedPoolItemFn | fn, | |
| void * | data | |||
| ) | const |
Definition at line 871 of file ResolverContext.cc.
References _pool, foreachMarked(), and zypp::solver::detail::incomplete_item_cb().
Referenced by getIncompletes(), and incompleteCount().
| PoolItemList zypp::solver::detail::ResolverContext::getIncompletes | ( | void | ) | const |
Definition at line 894 of file ResolverContext.cc.
References zypp::solver::detail::context_item_collector_incomplete(), and foreachIncomplete().
| int zypp::solver::detail::ResolverContext::incompleteCount | ( | void | ) | const |
| int zypp::solver::detail::ResolverContext::foreachImpossible | ( | MarkedPoolItemFn | fn, | |
| void * | data | |||
| ) |
Definition at line 1062 of file ResolverContext.cc.
References _pool, foreachMarked(), and zypp::solver::detail::impossible_item_cb().
| void zypp::solver::detail::ResolverContext::addInfo | ( | ResolverInfo_Ptr | info, | |
| bool | askUser = false | |||
| ) |
Definition at line 1154 of file ResolverContext.cc.
References _askUser, _invalid, _log, _XDEBUG, RESOLVER_INFO_PRIORITY_VERBOSE, and zypp::solver::detail::RESOLVER_INFO_TYPE_INVALID_SOLUTION.
Referenced by addError(), install(), and uninstall().
| void zypp::solver::detail::ResolverContext::addError | ( | ResolverInfo_Ptr | info, | |
| bool | askUser = false | |||
| ) |
Definition at line 1178 of file ResolverContext.cc.
References _ignoreInstalledItem, addInfo(), DBG, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALL_LOCKED, and WAR.
Referenced by incomplete(), install(), uninstall(), and upgrade().
| void zypp::solver::detail::ResolverContext::foreachInfo | ( | PoolItem_Ref | item, | |
| int | priority, | |||
| ResolverInfoFn | fn, | |||
| void * | data | |||
| ) | const |
Definition at line 1301 of file ResolverContext.cc.
References zypp::solver::detail::mark_important_info().
Referenced by getInfo(), and spewInfo().
| ResolverInfoList zypp::solver::detail::ResolverContext::getInfo | ( | void | ) | const |
Definition at line 1367 of file ResolverContext.cc.
References foreachInfo(), and zypp::solver::detail::get_info_foreach_cb().
| void zypp::solver::detail::ResolverContext::collectCompareInfo | ( | int & | cmpVersion, | |
| int & | cmpSource, | |||
| ResolverContext_Ptr | compareContext | |||
| ) |
Definition at line 1701 of file ResolverContext.cc.
References _XDEBUG, getMarked(), getStatus(), zypp::ResStatus::isByUser(), and zypp::Source_Ref::noSource.
Referenced by partialCompare().
| int zypp::solver::detail::ResolverContext::partialCompare | ( | ResolverContext_Ptr | context | ) |
Definition at line 1852 of file ResolverContext.cc.
References _min_priority, _other_penalties, zypp::solver::detail::churn_factor(), collectCompareInfo(), DBG, zypp::solver::detail::num_cmp(), and zypp::solver::detail::rev_num_cmp().
Referenced by compare().
| int zypp::solver::detail::ResolverContext::compare | ( | ResolverContext_Ptr | context | ) |
Definition at line 1893 of file ResolverContext.cc.
References _download_size, _install_size, partialCompare(), and zypp::solver::detail::rev_num_cmp().
| void zypp::solver::detail::ResolverContext::spew | ( | void | ) |
Definition at line 1393 of file ResolverContext.cc.
References foreachInstall(), foreachUninstall(), foreachUpgrade(), MIL, zypp::solver::detail::spew_item_cb(), and zypp::solver::detail::spew_item_pair_cb().
| void zypp::solver::detail::ResolverContext::spewInfo | ( | void | ) | const |
Definition at line 1421 of file ResolverContext.cc.
References _XDEBUG, foreachInfo(), and zypp::solver::detail::spew_info_cb().
| int zypp::solver::detail::ResolverContext::getSourcePriority | ( | Source_Ref | source | ) | const |
Definition at line 1673 of file ResolverContext.cc.
References zypp::Source_Ref::priority(), zypp::Source_Ref::priorityUnsubscribed(), and zypp::Source_Ref::subscribed().
| std::ostream& operator<< | ( | std::ostream & | , | |
| const ResolverContext & | context | |||
| ) | [friend] |
ResolverContext_Ptr zypp::solver::detail::ResolverContext::_parent [private] |
Definition at line 64 of file ResolverContext.h.
Referenced by zypp::solver::detail::operator<<(), and setStatus().
Definition at line 66 of file ResolverContext.h.
Referenced by foreachImpossible(), foreachIncomplete(), foreachInstall(), foreachSatisfy(), foreachUpgrade(), pool(), and ResolverContext().
unsigned long long zypp::solver::detail::ResolverContext::_download_size [private] |
Definition at line 70 of file ResolverContext.h.
Referenced by compare(), downloadSize(), install(), ResolverContext(), and upgrade().
unsigned long long zypp::solver::detail::ResolverContext::_install_size [private] |
Definition at line 71 of file ResolverContext.h.
Referenced by compare(), install(), installSize(), ResolverContext(), uninstall(), and upgrade().
int zypp::solver::detail::ResolverContext::_total_priority [private] |
Definition at line 72 of file ResolverContext.h.
Referenced by ResolverContext(), and totalPriority().
int zypp::solver::detail::ResolverContext::_min_priority [private] |
Definition at line 73 of file ResolverContext.h.
Referenced by install(), minPriority(), partialCompare(), ResolverContext(), and upgrade().
int zypp::solver::detail::ResolverContext::_max_priority [private] |
Definition at line 74 of file ResolverContext.h.
Referenced by install(), maxPriority(), ResolverContext(), and upgrade().
int zypp::solver::detail::ResolverContext::_other_penalties [private] |
Definition at line 75 of file ResolverContext.h.
Referenced by install(), otherPenalties(), partialCompare(), ResolverContext(), and upgrade().
bool zypp::solver::detail::ResolverContext::_verifying [private] |
Definition at line 77 of file ResolverContext.h.
Referenced by ResolverContext(), setVerifying(), and verifying().
bool zypp::solver::detail::ResolverContext::_establishing [private] |
Definition at line 78 of file ResolverContext.h.
Referenced by establishing(), incomplete(), ResolverContext(), and setEstablishing().
bool zypp::solver::detail::ResolverContext::_invalid [private] |
Definition at line 79 of file ResolverContext.h.
Referenced by addInfo(), isInvalid(), isValid(), and setStatus().
bool zypp::solver::detail::ResolverContext::_askUser [private] |
Definition at line 92 of file ResolverContext.h.
Referenced by getIgnoreConflicts(), ResolverContext(), and setIgnoreCababilities().
Definition at line 94 of file ResolverContext.h.
Referenced by getIgnoreRequires(), ResolverContext(), and setIgnoreCababilities().
Definition at line 96 of file ResolverContext.h.
Referenced by getIgnoreObsoletes(), ResolverContext(), and setIgnoreCababilities().
Definition at line 98 of file ResolverContext.h.
Referenced by addError(), getIgnoreInstalledItem(), isParallelInstall(), ResolverContext(), and setIgnoreCababilities().
Definition at line 100 of file ResolverContext.h.
Referenced by getIgnoreArchitectureItem(), ResolverContext(), and setIgnoreCababilities().
bool zypp::solver::detail::ResolverContext::_forceResolve [private] |
Definition at line 103 of file ResolverContext.h.
Referenced by forceResolve(), ResolverContext(), and setForceResolve().
bool zypp::solver::detail::ResolverContext::_upgradeMode [private] |
Definition at line 106 of file ResolverContext.h.
Referenced by ResolverContext(), setUpgradeMode(), and upgradeMode().
bool zypp::solver::detail::ResolverContext::_tryAllPossibilities [private] |
Definition at line 113 of file ResolverContext.h.
Referenced by ResolverContext(), setTryAllPossibilities(), and tryAllPossibilities().
bool zypp::solver::detail::ResolverContext::_scippedPossibilities [private] |
Definition at line 114 of file ResolverContext.h.
Referenced by ResolverContext(), scippedPossibilities(), and setScippedPossibilities().
1.5.0