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

#include <Helper.h>

List of all members.

Static Public Member Functions

static PoolItem findInstalledByNameAndKind (const ResPool &pool, const std::string &name, const Resolvable::Kind &kind)
static PoolItem findUninstalledByNameAndKind (const ResPool &pool, const std::string &name, const Resolvable::Kind &kind)
static PoolItem findInstalledItem (const ResPool &pool, PoolItem item)
static PoolItem findInstalledItem (const std::vector< PoolItem > &pool, PoolItem item)
static PoolItem findUninstalledItem (const ResPool &pool, PoolItem item)
static PoolItem findReinstallItem (const ResPool &pool, PoolItem item)
static PoolItem findUpdateItem (const ResPool &pool, PoolItem item)
static PoolItem findUpdateItem (const std::vector< PoolItem > &pool, PoolItem item)
static bool isBestUninstalledItem (const ResPool &pool, PoolItem item)
static std::string itemToString (PoolItem item, bool shortVersion=false)
static std::string capToString (const Capability &capability)

Friends

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


Detailed Description

Definition at line 49 of file Helper.h.


Member Function Documentation

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

Referenced by findInstalledItem().

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

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

Definition at line 92 of file Helper.cc.

References findInstalledByNameAndKind().

PoolItem zypp::solver::detail::Helper::findInstalledItem ( const std::vector< PoolItem > &  pool,
PoolItem  item 
) [static]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 95 of file Helper.cc.

References findInstalledByNameAndKind().

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

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

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

Definition at line 174 of file Helper.cc.

References zypp::ResPool::byIdentBegin(), and zypp::ResPool::byIdentEnd().

Referenced by findUpdateItem().

PoolItem zypp::solver::detail::Helper::findUpdateItem ( const std::vector< PoolItem > &  pool,
PoolItem  item 
) [static]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 177 of file Helper.cc.

References findUpdateItem().

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

std::string zypp::solver::detail::Helper::itemToString ( PoolItem  item,
bool  shortVersion = false 
) [static]

Definition at line 263 of file Helper.cc.

References zypp::ResKind::package.

std::string zypp::solver::detail::Helper::capToString ( const Capability capability  )  [static]

Definition at line 288 of file Helper.cc.

References zypp::Capability::asString().


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:

doxygen