#include <QueueItemInstall.h>
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 (const QueueItemList &mainQueue, 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 | setDependency (const Capability &capability) |
| void | setNeededBy (const PoolItem_Ref item) |
Private Attributes | |
| PoolItem_Ref | _item |
| bool | _soft |
| PoolItem_Ref | _upgrades |
| Capability | _dep_satisfied_by_this_install |
| PoolItem_Ref | _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 85 of file QueueItemInstall.cc.
References _upgrades, _XDEBUG, zypp::solver::detail::Helper::findInstalledItem(), and zypp::PoolItem_Ref::resolvable().
Referenced by copy().
| zypp::solver::detail::QueueItemInstall::~QueueItemInstall | ( | ) | [virtual] |
Definition at line 117 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 _dep_satisfied_by_this_install, _explicitly_requested, _item, _needed_by, _soft, _upgrades, and zypp::Capability::noCap.
| PoolItem_Ref zypp::solver::detail::QueueItemInstall::item | ( | void | ) | const [inline] |
Definition at line 75 of file QueueItemInstall.h.
References _item.
Referenced by zypp::solver::detail::InstallEstablishItem::operator()().
| bool zypp::solver::detail::QueueItemInstall::isSoft | ( | void | ) | const [inline] |
| PoolItem_Ref zypp::solver::detail::QueueItemInstall::upgrades | ( | void | ) | const [inline] |
| 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 | ( | const QueueItemList & | mainQueue, | |
| ResolverContext_Ptr | context, | |||
| QueueItemList & | qil | |||
| ) | [virtual] |
Implements zypp::solver::detail::QueueItem.
Definition at line 282 of file QueueItemInstall.cc.
References _DEBUG, _dep_satisfied_by_this_install, _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::Capability::index(), 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::PoolItem_Ref::status(), 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 585 of file QueueItemInstall.cc.
References _channel_priority, _dep_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 602 of file QueueItemInstall.cc.
References _item, zypp::solver::detail::QueueItem::compare(), and zypp::PoolItem_Ref::resolvable().
Referenced by zypp::solver::detail::InstallEstablishItem::operator()().
| 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 124 of file QueueItemInstall.cc.
References _item.
| void zypp::solver::detail::QueueItemInstall::setDependency | ( | const Capability & | capability | ) | [inline] |
| void zypp::solver::detail::QueueItemInstall::setNeededBy | ( | const PoolItem_Ref | item | ) | [inline] |
| 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 copy(), dumpOn(), process(), and setDependency().
Definition at line 55 of file QueueItemInstall.h.
Referenced by copy(), dumpOn(), process(), and setNeededBy().
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.3