zypp::ui Namespace Reference


Classes

class  PatchContents
 Helper class that turns Patch::atomList() into something useful. More...
class  PatternContents
 Helper class that computes a patterns expanded install_packages set. More...
class  PatternExpander
 Recursively expand a Pattern. More...
class  Selectable
 Collects PoolItems of same kind and name. 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

std::ostream & operator<< (std::ostream &str, const Selectable &obj)
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 langBegin ()
static PoolProxyIterator langEnd ()
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 Selections and Patterns.
static void addSelectionPackages (set< string > &pkgNames)
static void addPatternPackages (set< string > &pkgNames)
static void addLanguagePackages (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:.


Typedef Documentation

typedef ResPoolProxy::const_iterator zypp::ui::PoolProxyIterator

Definition at line 41 of file UserWantedPackages.cc.


Enumeration Type Documentation

enum zypp::ui::Status

UI status Status values calculated by Selectable.

Note:
The Status enum, and it's use within Selectabe is tightly related to the Y2UI. It might be not verry usefull outside the Y2UI.
Todo:
make it an EnumerationClass
Enumerator:
S_Protected 
S_Taboo 
S_Del 
S_Update 
S_Install 
S_AutoDel 
S_AutoUpdate 
S_AutoInstall 
S_KeepInstalled 
S_NoInst 

Definition at line 34 of file Status.h.


Function Documentation

std::ostream& zypp::ui::operator<< ( std::ostream &  str,
const Selectable &  obj 
)

Definition at line 136 of file Selectable.cc.

References zypp::ui::Selectable::_pimpl.

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::bit::BitField< _IntT >::asString(), zypp::media::MediaSMB::attachTo(), zypp::media::MediaNFS::attachTo(), zypp::media::MediaISO::attachTo(), zypp::media::MediaDISK::attachTo(), zypp::media::MediaDIR::attachTo(), zypp::media::MediaCurl::attachTo(), zypp::media::MediaCD::attachTo(), zypp::base::UniqueString< zypp::PackageKeyword >::compare(), zypp::parser::yum::ProductFileReader::Impl::consumeNode(), zypp::repo::susetags::Downloader::download(), zypp::RepoInfo::dumpRepoOn(), zypp::base::UniqueString< zypp::PackageKeyword >::empty(), zypp::media::MediaHandler::getDirectoryYast(), zypp::cache::ResolvableQuery::Impl::Impl(), zypp::cache::CacheStore::Impl::Impl(), zypp::media::MediaDISK::MediaDISK(), zypp::repo::RepoVariablesStringReplacer::operator()(), zypp::cache::CacheTypes::refreshCache(), zypp::media::MediaSMB::releaseFrom(), zypp::media::MediaNFS::releaseFrom(), zypp::media::MediaISO::releaseFrom(), zypp::media::MediaDISK::releaseFrom(), zypp::base::UniqueString< zypp::PackageKeyword >::size(), and zypp::cache::CacheFSCK::Impl::start().

static ResPoolProxy zypp::ui::poolProxy (  )  [inline, static]

Definition at line 43 of file UserWantedPackages.cc.

Referenced by poolProxyBegin(), and poolProxyEnd().

template<class T>
PoolProxyIterator zypp::ui::poolProxyBegin (  )  [inline]

Definition at line 45 of file UserWantedPackages.cc.

References zypp::ResPoolProxy::byKindBegin(), and poolProxy().

template<class T>
PoolProxyIterator zypp::ui::poolProxyEnd (  )  [inline]

Definition at line 46 of file UserWantedPackages.cc.

References zypp::ResPoolProxy::byKindEnd(), and poolProxy().

static PoolProxyIterator zypp::ui::pkgBegin (  )  [inline, static]

Definition at line 48 of file UserWantedPackages.cc.

Referenced by addDirectlySelectedPackages(), and addLanguagePackages().

static PoolProxyIterator zypp::ui::pkgEnd (  )  [inline, static]

Definition at line 49 of file UserWantedPackages.cc.

Referenced by addDirectlySelectedPackages(), and addLanguagePackages().

static PoolProxyIterator zypp::ui::langBegin (  )  [inline, static]

Definition at line 51 of file UserWantedPackages.cc.

Referenced by addLanguagePackages().

static PoolProxyIterator zypp::ui::langEnd (  )  [inline, static]

Definition at line 52 of file UserWantedPackages.cc.

Referenced by addLanguagePackages().

static PoolProxyIterator zypp::ui::patchesBegin (  )  [inline, static]

Definition at line 54 of file UserWantedPackages.cc.

Referenced by addPatchPackages().

static PoolProxyIterator zypp::ui::patchesEnd (  )  [inline, static]

Definition at line 55 of file UserWantedPackages.cc.

Referenced by addPatchPackages().

template<typename T>
bool zypp::ui::contains ( const std::set< T > &  container,
search 
) [inline]

Definition at line 57 of file UserWantedPackages.cc.

Referenced by addLanguagePackages().

static void zypp::ui::addDirectlySelectedPackages ( set< string > &  pkgNames  )  [static]

Definition at line 91 of file UserWantedPackages.cc.

References DBG, pkgBegin(), pkgEnd(), and zypp::ResStatus::USER.

Referenced by userWantedPackageNames().

template<class PkgSet_T>
void zypp::ui::addPkgSetPackages ( set< string > &  pkgNames  )  [inline]

Template to handle Selections and Patterns.

Definition at line 126 of file UserWantedPackages.cc.

References DBG.

static void zypp::ui::addSelectionPackages ( set< string > &  pkgNames  )  [static]

Definition at line 111 of file UserWantedPackages.cc.

Referenced by userWantedPackageNames().

static void zypp::ui::addPatternPackages ( set< string > &  pkgNames  )  [static]

Definition at line 117 of file UserWantedPackages.cc.

Referenced by userWantedPackageNames().

static void zypp::ui::addLanguagePackages ( set< string > &  pkgNames  )  [static]

Definition at line 152 of file UserWantedPackages.cc.

References contains(), DBG, zypp::Dep::FRESHENS, langBegin(), langEnd(), pkgBegin(), and pkgEnd().

Referenced by userWantedPackageNames().

static void zypp::ui::addPatchPackages ( set< string > &  pkgNames  )  [static]

Definition at line 196 of file UserWantedPackages.cc.

References DBG, 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 74 of file UserWantedPackages.cc.

References addDirectlySelectedPackages(), addLanguagePackages(), addPatchPackages(), addPatternPackages(), addSelectionPackages(), and DBG.


Generated on Tue Sep 25 19:23:29 2007 for libzypp by  doxygen 1.5.3