libzypp  13.10.6
zypp::solver::detail::Helper Class Reference

#include <Helper.h>

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

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

Definition at line 89 of file Helper.cc.

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

Definition at line 102 of file Helper.cc.

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

Definition at line 92 of file Helper.cc.

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.

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

Definition at line 201 of file Helper.cc.

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

Definition at line 174 of file Helper.cc.

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.

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

Definition at line 249 of file Helper.cc.

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

Definition at line 263 of file Helper.cc.

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

Definition at line 288 of file Helper.cc.

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: