libzypp 8.13.6
|
#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) |
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.
References zypp::ResPool::byIdentBegin(), zypp::ResPool::byIdentEnd(), zypp::solver::detail::findInstalledByNameAndKind(), and name.
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.
References _XDEBUG, zypp::ResPool::byIdentBegin(), zypp::ResPool::byIdentEnd(), zypp::invokeOnEach(), and zypp::solver::detail::LookFor::item.
PoolItem zypp::solver::detail::Helper::findInstalledItem | ( | const ResPool & | pool, |
PoolItem | item | ||
) | [static] |
Definition at line 92 of file Helper.cc.
References zypp::solver::detail::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 zypp::solver::detail::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] |
Definition at line 201 of file Helper.cc.
References _XDEBUG, zypp::resfilter::byEdition(), zypp::ResPool::byIdentBegin(), zypp::ResPool::byIdentEnd(), zypp::functor::chain(), zypp::invokeOnEach(), and zypp::solver::detail::LookForReinstall::uninstalled.
PoolItem zypp::solver::detail::Helper::findUpdateItem | ( | const ResPool & | pool, |
PoolItem | item | ||
) | [static] |
Definition at line 174 of file Helper.cc.
References zypp::ResPool::byIdentBegin(), zypp::ResPool::byIdentEnd(), and zypp::solver::detail::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 zypp::solver::detail::findUpdateItem().
bool zypp::solver::detail::Helper::isBestUninstalledItem | ( | const ResPool & | pool, |
PoolItem | item | ||
) | [static] |
Definition at line 249 of file Helper.cc.
References _XDEBUG, zypp::ResPool::byIdentBegin(), zypp::ResPool::byIdentEnd(), zypp::invokeOnEach(), and zypp::solver::detail::CheckIfBest::is_best.
std::string zypp::solver::detail::Helper::itemToString | ( | PoolItem | item, |
bool | shortVersion = false |
||
) | [static] |
std::string zypp::solver::detail::Helper::capToString | ( | const Capability & | capability | ) | [static] |
Definition at line 288 of file Helper.cc.
References zypp::Capability::asString().
std::ostream& operator<< | ( | std::ostream & | , |
const PoolItemList & | itemlist | ||
) | [friend] |