zypp::ui Namespace Reference


Classes

class  PatchContents
 Helper class that turns Patch::atomList() into something useful. 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 124 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.

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  ) 
 

Definition at line 45 of file UserWantedPackages.cc.

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

template<class T>
PoolProxyIterator zypp::ui::poolProxyEnd  ) 
 

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().

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

Definition at line 49 of file UserWantedPackages.cc.

Referenced by addDirectlySelectedPackages().

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
 

Definition at line 57 of file UserWantedPackages.cc.

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  ) 
 

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 DBG, langBegin(), and langEnd().

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:.

  • The user wanted to transact the pkg directly

  • Pkg is part of a selection the user wanted to transact
  • Pkg is part of a pattern the user wanted to transact
  • Pkg is part of a language the user wanted to transact
  • Pkg is part of a patch the user wanted to transact

  • Pkg is part of a selection that is required by a selection the user wanted to transact

  • Pkg is part of a pattern that is required by a pattern the user wanted to transact

Definition at line 74 of file UserWantedPackages.cc.

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


Generated on Thu Jul 6 00:07:35 2006 for zypp by  doxygen 1.4.6