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

Public Member Functions | |
| QueueItemInstall (const ResPool &pool, PoolItem_Ref item, bool soft=false) | |
| virtual | ~QueueItemInstall () |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Overload to realize std::ostream & operator<<. | |
| PoolItem_Ref | item (void) const |
| bool | isSoft (void) const |
| PoolItem_Ref | upgrades (void) const |
| void | setUpgrades (PoolItem_Ref upgrades) |
| int | channelPriority (void) const |
| void | setChannelPriority (int channel_priority) |
| int | otherPenalty (void) |
| void | setOtherPenalty (int other_penalty) |
| void | setExplicitlyRequested (void) |
| virtual bool | process (ResolverContext_Ptr context, QueueItemList &qil) |
| virtual QueueItem_Ptr | copy (void) const |
| virtual int | cmp (QueueItem_constPtr item) const |
| virtual bool | isRedundant (ResolverContext_Ptr context) const |
| virtual bool | isSatisfied (ResolverContext_Ptr context) const |
| void | addDependency (const Capability &capability) |
| void | addNeededBy (const PoolItem_Ref item) |
Private Attributes | |
| PoolItem_Ref | _item |
| bool | _soft |
| PoolItem_Ref | _upgrades |
| CapSet | _deps_satisfied_by_this_install |
| PoolItemList | _needed_by |
| int | _channel_priority |
| int | _other_penalty |
| bool | _explicitly_requested |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const QueueItemInstall &obj) |
Definition at line 47 of file QueueItemInstall.h.
| zypp::solver::detail::QueueItemInstall::QueueItemInstall | ( | const ResPool & | pool, | |
| PoolItem_Ref | item, | |||
| bool | soft = false | |||
| ) |
Definition at line 96 of file QueueItemInstall.cc.
References _upgrades, _XDEBUG, zypp::solver::detail::Helper::findInstalledItem(), item(), zypp::solver::detail::QueueItem::pool(), and zypp::PoolItem_Ref::resolvable().
Referenced by copy().
| zypp::solver::detail::QueueItemInstall::~QueueItemInstall | ( | ) | [virtual] |
Definition at line 126 of file QueueItemInstall.cc.
| std::ostream & zypp::solver::detail::QueueItemInstall::dumpOn | ( | std::ostream & | str | ) | const [virtual] |
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::solver::detail::QueueItem.
Definition at line 64 of file QueueItemInstall.cc.
References _deps_satisfied_by_this_install, _explicitly_requested, _item, _needed_by, _soft, and _upgrades.
| PoolItem_Ref zypp::solver::detail::QueueItemInstall::item | ( | void | ) | const [inline] |
Definition at line 75 of file QueueItemInstall.h.
References _item.
Referenced by addNeededBy(), and QueueItemInstall().
| bool zypp::solver::detail::QueueItemInstall::isSoft | ( | void | ) | const [inline] |
| PoolItem_Ref zypp::solver::detail::QueueItemInstall::upgrades | ( | void | ) | const [inline] |
Definition at line 79 of file QueueItemInstall.h.
References _upgrades.
Referenced by setUpgrades().
| void zypp::solver::detail::QueueItemInstall::setUpgrades | ( | PoolItem_Ref | upgrades | ) | [inline] |
| int zypp::solver::detail::QueueItemInstall::channelPriority | ( | void | ) | const [inline] |
| void zypp::solver::detail::QueueItemInstall::setChannelPriority | ( | int | channel_priority | ) | [inline] |
| int zypp::solver::detail::QueueItemInstall::otherPenalty | ( | void | ) | [inline] |
| void zypp::solver::detail::QueueItemInstall::setOtherPenalty | ( | int | other_penalty | ) | [inline] |
| void zypp::solver::detail::QueueItemInstall::setExplicitlyRequested | ( | void | ) | [inline] |
| bool zypp::solver::detail::QueueItemInstall::process | ( | ResolverContext_Ptr | context, | |
| QueueItemList & | qil | |||
| ) | [virtual] |
Implements zypp::solver::detail::QueueItem.
Definition at line 289 of file QueueItemInstall.cc.
References _DEBUG, _explicitly_requested, _item, _needed_by, _other_penalty, _soft, _upgrades, _XDEBUG, zypp::solver::detail::QueueItemUninstall::BACKOUT, zypp::ResPool::byCapabilityIndexEnd(), zypp::Dep::CONFLICTS, zypp::solver::detail::InstallEstablishItem::establishmap, zypp::Dep::FRESHENS, zypp::hasMatches(), zypp::solver::detail::UninstallConflicting::ignored, zypp::invokeOnEach(), zypp::ResStatus::isImpossible(), zypp::ResStatus::isIncomplete(), zypp::ResStatus::isNeeded(), zypp::ResStatus::isSatisfied(), zypp::ResStatus::isToBeUninstalled(), zypp::ResStatus::isToBeUninstalledDueToUnlink(), zypp::solver::detail::QueueItem::logInfo(), zypp::Dep::OBSOLETES, zypp::solver::detail::QueueItem::pool(), zypp::Dep::PROVIDES, zypp::Dep::RECOMMENDS, zypp::Dep::REQUIRES, zypp::PoolItem_Ref::resolvable(), RESOLVER_INFO_PRIORITY_VERBOSE, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALLING, zypp::solver::detail::RESOLVER_INFO_TYPE_INVALID_SOLUTION, zypp::solver::detail::RESOLVER_INFO_TYPE_SKIPPING, zypp::solver::detail::RESOLVER_INFO_TYPE_UPDATING, zypp::ResStatus::staysUninstalled(), zypp::Dep::SUPPLEMENTS, zypp::ResStatus::toBeInstalled, zypp::ResStatus::toBeInstalledSoft, and zypp::solver::detail::QueueItemUninstall::UPGRADE.
| QueueItem_Ptr zypp::solver::detail::QueueItemInstall::copy | ( | void | ) | const [virtual] |
Implements zypp::solver::detail::QueueItem.
Definition at line 598 of file QueueItemInstall.cc.
References _channel_priority, _deps_satisfied_by_this_install, _explicitly_requested, _item, _needed_by, _other_penalty, _upgrades, zypp::solver::detail::QueueItem::pool(), and QueueItemInstall().
| int zypp::solver::detail::QueueItemInstall::cmp | ( | QueueItem_constPtr | item | ) | const [virtual] |
Implements zypp::solver::detail::QueueItem.
Definition at line 615 of file QueueItemInstall.cc.
References _item, zypp::solver::detail::QueueItem::compare(), and zypp::PoolItem_Ref::resolvable().
| virtual bool zypp::solver::detail::QueueItemInstall::isRedundant | ( | ResolverContext_Ptr | context | ) | const [inline, virtual] |
| bool zypp::solver::detail::QueueItemInstall::isSatisfied | ( | ResolverContext_Ptr | context | ) | const [virtual] |
Implements zypp::solver::detail::QueueItem.
Definition at line 133 of file QueueItemInstall.cc.
References _item.
| void zypp::solver::detail::QueueItemInstall::addDependency | ( | const Capability & | capability | ) |
| void zypp::solver::detail::QueueItemInstall::addNeededBy | ( | const PoolItem_Ref | item | ) |
| std::ostream& operator<< | ( | std::ostream & | str, | |
| const QueueItemInstall & | obj | |||
| ) | [friend] |
Definition at line 70 of file QueueItemInstall.h.
Definition at line 51 of file QueueItemInstall.h.
Referenced by cmp(), copy(), dumpOn(), isSatisfied(), item(), and process().
bool zypp::solver::detail::QueueItemInstall::_soft [private] |
Definition at line 53 of file QueueItemInstall.h.
Referenced by copy(), dumpOn(), process(), QueueItemInstall(), setUpgrades(), and upgrades().
Definition at line 54 of file QueueItemInstall.h.
Referenced by addDependency(), copy(), and dumpOn().
Definition at line 55 of file QueueItemInstall.h.
Referenced by addNeededBy(), copy(), dumpOn(), and process().
Definition at line 56 of file QueueItemInstall.h.
Referenced by channelPriority(), copy(), and setChannelPriority().
int zypp::solver::detail::QueueItemInstall::_other_penalty [private] |
Definition at line 57 of file QueueItemInstall.h.
Referenced by copy(), otherPenalty(), process(), and setOtherPenalty().
Definition at line 59 of file QueueItemInstall.h.
Referenced by copy(), dumpOn(), process(), and setExplicitlyRequested().
1.5.0