Classes | |
class | Selectable |
Collects PoolItems of same kind and name. More... | |
struct | asSelectable |
Solvable to Selectable transform functor. More... | |
class | StatusBackup |
Simple ResStatus backup stack. More... | |
struct | StatusHelper |
struct | SelectableTraits |
Namespaces | |
namespace | selfilter |
Typedefs | |
typedef ResPoolProxy::const_iterator | PoolProxyIterator |
Enumerations | |
enum | Status { S_Protected, S_Taboo, S_Del, S_Update, S_Install, S_AutoDel, S_AutoUpdate, S_AutoInstall, S_KeepInstalled, S_NoInst } |
UI status Status values calculated by Selectable. More... | |
Functions | |
IMPL_PTR_TYPE (Selectable) | |
std::ostream & | operator<< (std::ostream &str, const Selectable &obj) |
std::ostream & | dumpOn (std::ostream &str, const Selectable &obj) |
DEFINE_PTR_TYPE (Selectable) | |
std::string | asString (const Status &obj) |
static ResPoolProxy | poolProxy () |
template<class T> | |
PoolProxyIterator | poolProxyBegin () |
template<class T> | |
PoolProxyIterator | poolProxyEnd () |
static PoolProxyIterator | pkgBegin () |
static PoolProxyIterator | pkgEnd () |
static PoolProxyIterator | patchesBegin () |
static PoolProxyIterator | patchesEnd () |
template<typename T> | |
bool | contains (const std::set< T > &container, T search) |
static void | addDirectlySelectedPackages (set< string > &pkgNames) |
template<class PkgSet_T> | |
void | addPkgSetPackages (set< string > &pkgNames) |
Template to handle Patterns. | |
static void | addPatternPackages (set< string > &pkgNames) |
static void | addPatchPackages (set< string > &pkgNames) |
set< string > | userWantedPackageNames () |
This returns a set of package names the user explicitly wanted to transact ( to install, to update, or to delete) for any of the following reasons:. |
Definition at line 37 of file UserWantedPackages.cc.
enum zypp::ui::Status |
UI status Status values calculated by Selectable.
zypp::ui::IMPL_PTR_TYPE | ( | Selectable | ) |
std::ostream& zypp::ui::operator<< | ( | std::ostream & | str, | |
const Selectable & | obj | |||
) |
std::ostream& zypp::ui::dumpOn | ( | std::ostream & | str, | |
const Selectable & | obj | |||
) |
Definition at line 291 of file Selectable.cc.
References zypp::ui::Selectable::_pimpl, and zypp::ui::Selectable::dumpOn.
Referenced by zypp::target::rpm::RpmHeader::dumpOn(), zypp::ResObject::dumpOn(), zypp::RepoInfo::dumpOn(), zypp::repo::ServiceException::dumpOn(), zypp::repo::RepoException::dumpOn(), zypp::parser::ParseException::dumpOn(), and zypp::media::CurlAuthData::dumpOn().
zypp::ui::DEFINE_PTR_TYPE | ( | Selectable | ) |
std::string zypp::ui::asString | ( | const Status & | obj | ) |
Definition at line 30 of file Status.cc.
References ENUM_OUT, INT, S_AutoDel, S_AutoInstall, S_AutoUpdate, S_Del, S_Install, S_KeepInstalled, S_NoInst, S_Protected, S_Taboo, and S_Update.
Referenced by zypp::CapDetail::_init(), zypp::bit::BitField< uint64_t >::asString(), zypp::media::MediaNFS::attachTo(), zypp::media::MediaISO::attachTo(), zypp::media::MediaDISK::attachTo(), zypp::media::MediaDIR::attachTo(), zypp::media::MediaCIFS::attachTo(), zypp::media::MediaCD::attachTo(), zypp::target::rpm::librpmDb::D::D(), zypp::repo::susetags::Downloader::download(), zypp::RepoInfo::dumpAsIniOn(), zypp::RepoInfo::dumpAsXMLOn(), zypp::RepoInfo::dumpOn(), zypp::media::MediaHandler::getDirectoryYast(), zypp::str::join(), zypp::str::joinEscaped(), zypp::media::MediaDISK::MediaDISK(), zypp::Fetcher::Impl::readContentFileIndex(), zypp::media::MediaNFS::releaseFrom(), zypp::media::MediaISO::releaseFrom(), zypp::media::MediaDISK::releaseFrom(), zypp::media::MediaCIFS::releaseFrom(), zypp::relFromStr(), and zypp::target::sendNotification().
static ResPoolProxy zypp::ui::poolProxy | ( | ) | [inline, static] |
Definition at line 39 of file UserWantedPackages.cc.
Referenced by poolProxyBegin(), and poolProxyEnd().
PoolProxyIterator zypp::ui::poolProxyBegin | ( | ) | [inline] |
Definition at line 41 of file UserWantedPackages.cc.
References zypp::ResPoolProxy::byKindBegin(), and poolProxy().
PoolProxyIterator zypp::ui::poolProxyEnd | ( | ) | [inline] |
Definition at line 42 of file UserWantedPackages.cc.
References zypp::ResPoolProxy::byKindEnd(), and poolProxy().
static PoolProxyIterator zypp::ui::pkgBegin | ( | ) | [inline, static] |
static PoolProxyIterator zypp::ui::pkgEnd | ( | ) | [inline, static] |
static PoolProxyIterator zypp::ui::patchesBegin | ( | ) | [inline, static] |
static PoolProxyIterator zypp::ui::patchesEnd | ( | ) | [inline, static] |
bool zypp::ui::contains | ( | const std::set< T > & | container, | |
T | search | |||
) | [inline] |
Definition at line 53 of file UserWantedPackages.cc.
Referenced by zypp::LocksRemovePredicate::operator()().
static void zypp::ui::addDirectlySelectedPackages | ( | set< string > & | pkgNames | ) | [static] |
Definition at line 83 of file UserWantedPackages.cc.
References DBG, pkgBegin(), pkgEnd(), and zypp::ResStatus::USER.
Referenced by userWantedPackageNames().
void zypp::ui::addPkgSetPackages | ( | set< string > & | pkgNames | ) | [inline] |
static void zypp::ui::addPatternPackages | ( | set< string > & | pkgNames | ) | [static] |
static void zypp::ui::addPatchPackages | ( | set< string > & | pkgNames | ) | [static] |
Definition at line 138 of file UserWantedPackages.cc.
References DBG, for_, patchesBegin(), and patchesEnd().
Referenced by userWantedPackageNames().
std::set< std::string > zypp::ui::userWantedPackageNames | ( | ) |
This returns a set of package names the user explicitly wanted to transact ( to install, to update, or to delete) for any of the following reasons:.
Definition at line 68 of file UserWantedPackages.cc.
References addDirectlySelectedPackages(), addPatchPackages(), addPatternPackages(), and DBG.