zypp::solver::detail::Helper Class Reference

#include <Helper.h>

List of all members.

Static Public Member Functions

static PoolItem_Ref findInstalledByNameAndKind (const ResPool &pool, const std::string &name, const Resolvable::Kind &kind)
static PoolItem_Ref findUninstalledByNameAndKind (const ResPool &pool, const std::string &name, const Resolvable::Kind &kind)
static PoolItem_Ref findInstalledItem (const ResPool &pool, PoolItem_Ref item)
static PoolItem_Ref findUninstalledItem (const ResPool &pool, PoolItem_Ref item)
static PoolItem_Ref findReinstallItem (const ResPool &pool, PoolItem_Ref item)
static PoolItem_Ref findUpdateItem (const ResPool &pool, PoolItem_Ref item)
static bool isBestUninstalledItem (const ResPool &pool, PoolItem_Ref item)

Friends

std::ostream & operator<< (std::ostream &, const PoolItemList &itemlist)


Detailed Description

Definition at line 49 of file Helper.h.


Member Function Documentation

static PoolItem_Ref zypp::solver::detail::Helper::findInstalledByNameAndKind ( const ResPool pool,
const std::string &  name,
const Resolvable::Kind kind 
) [static]

Referenced by findInstalledItem(), and zypp::solver::detail::RequirementPossible::operator()().

static PoolItem_Ref zypp::solver::detail::Helper::findUninstalledByNameAndKind ( const ResPool pool,
const std::string &  name,
const Resolvable::Kind kind 
) [static]

PoolItem_Ref zypp::solver::detail::Helper::findInstalledItem ( const ResPool pool,
PoolItem_Ref  item 
) [static]

Definition at line 113 of file Helper.cc.

References findInstalledByNameAndKind().

Referenced by zypp::solver::detail::install_item_cb(), zypp::solver::detail::NoInstallableProviders::operator()(), zypp::solver::detail::RequireProcess::operator()(), zypp::solver::detail::QueueItemEstablish::process(), zypp::solver::detail::QueueItemInstall::QueueItemInstall(), zypp::solver::detail::satisfy_item_cb(), and zypp::solver::detail::upgrade_item_cb().

static PoolItem_Ref zypp::solver::detail::Helper::findUninstalledItem ( const ResPool pool,
PoolItem_Ref  item 
) [static]

PoolItem_Ref zypp::solver::detail::Helper::findReinstallItem ( const ResPool pool,
PoolItem_Ref  item 
) [static]

Definition at line 199 of file Helper.cc.

References _XDEBUG, zypp::ResPool::byNameBegin(), zypp::ResPool::byNameEnd(), zypp::functor::chain(), zypp::invokeOnEach(), and zypp::solver::detail::LookForReinstall::uninstalled.

Referenced by zypp::solver::detail::CollectTransact::operator()().

PoolItem_Ref zypp::solver::detail::Helper::findUpdateItem ( const ResPool pool,
PoolItem_Ref  item 
) [static]

Definition at line 162 of file Helper.cc.

References _XDEBUG, zypp::ResPool::byNameBegin(), zypp::ResPool::byNameEnd(), zypp::functor::chain(), zypp::solver::detail::LookForUpdate::installed, zypp::invokeOnEach(), and zypp::solver::detail::LookForUpdate::uninstalled.

bool zypp::solver::detail::Helper::isBestUninstalledItem ( const ResPool pool,
PoolItem_Ref  item 
) [static]

Definition at line 248 of file Helper.cc.

References _XDEBUG, zypp::ResPool::byNameBegin(), zypp::ResPool::byNameEnd(), zypp::functor::chain(), zypp::invokeOnEach(), and zypp::solver::detail::CheckIfBest::is_best.

Referenced by zypp::solver::detail::QueueItemEstablish::process().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const PoolItemList itemlist 
) [friend]


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:26 2007 for libzypp by  doxygen 1.5.3