#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) |
Definition at line 49 of file Helper.h.
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 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] |
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(), 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] |
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] |
std::ostream& operator<< | ( | std::ostream & | , | |
const PoolItemList & | itemlist | |||
) | [friend] |