Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PMUpdateStats Class Reference

Struct for update options, statistics, and result lists. More...

#include <PMPackageManager_update.h>

Inheritance diagram for PMUpdateStats:

PMUpdateOpts List of all members.

Public Member Functions

 PMUpdateStats ()
 ~PMUpdateStats ()
unsigned totalToInstall () const
unsigned totalToDelete () const
unsigned totalToKeep () const

Public Attributes

unsigned pre_todel
unsigned pre_nocand
unsigned pre_avcand
unsigned chk_installed_total
unsigned chk_already_todel
unsigned chk_is_taboo
unsigned chk_already_toins
unsigned chk_to_update
unsigned chk_to_downgrade
unsigned chk_to_keep_downgrade
unsigned chk_to_keep_installed
unsigned chk_keep_foreign
unsigned chk_dropped
unsigned chk_replaced
unsigned chk_add_split
unsigned chk_replaced_guessed

Friends

std::ostream & operator<< (std::ostream &str, const PMUpdateStats &obj)

Detailed Description

Struct for update options, statistics, and result lists.


Constructor & Destructor Documentation

PMUpdateStats::PMUpdateStats  )  [inline]
 

chk_to_keep_old / chk_keep_foreign / chk_dropped

PMUpdateStats::~PMUpdateStats  )  [inline]
 


Member Function Documentation

unsigned PMUpdateStats::totalToDelete  )  const [inline]
 

total number of packages that will be finaly deleted (does not count the replaced packages)

unsigned PMUpdateStats::totalToInstall  )  const [inline]
 

total number of packages that will be installed

unsigned PMUpdateStats::totalToKeep  )  const [inline]
 

total number of packages that remain untouched


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  str,
const PMUpdateStats obj
[friend]
 


Member Data Documentation

unsigned PMUpdateStats::chk_add_split
 

update checks: without candidate: packages added by splitprovides

Only packages not selected by one of the above checks are counted.

unsigned PMUpdateStats::chk_already_todel
 

update checks: packages already tagged to delete (should be pre_todel)

unsigned PMUpdateStats::chk_already_toins
 

update checks: with candidate: packages already tagged to install

unsigned PMUpdateStats::chk_dropped
 

update checks: without candidate: packages dropped (or SuSE internal)

There's no available candidate providing it.

unsigned PMUpdateStats::chk_installed_total
 

update checks: total number of packages checked (should be number of installed packages)

unsigned PMUpdateStats::chk_is_taboo
 

update checks: packages skipped due to taboo (foreign)

unsigned PMUpdateStats::chk_keep_foreign
 

update checks: without candidate: installed package has not vendor SuSE

Remains untouched.

unsigned PMUpdateStats::chk_replaced
 

update checks: without candidate: packages replaced

There's exactly one available candidate providing it.

unsigned PMUpdateStats::chk_replaced_guessed
 

update checks: without candidate: package replaced (but not uniqe, thus guessed)

There are multiple available candidates providing it. If at the end at least one out of these candidates was set to install by one of the above checks, it's ok. Otherwise we have to guess one.

unsigned PMUpdateStats::chk_to_downgrade
 

update checks: with candidate: packages downgraded

Installed and candidate package have vendor SuSE and candidates buildtime is newer.

unsigned PMUpdateStats::chk_to_keep_downgrade
 

update checks: with candidate: packages untouched (foreign package downgrade)

unsigned PMUpdateStats::chk_to_keep_installed
 

update checks: with candidate: packages untouched (uptodate)

unsigned PMUpdateStats::chk_to_update
 

update checks: with candidate: packages updated to new version

unsigned PMUpdateStats::pre_avcand
 

initial status: packages with candidate (available for update)

unsigned PMUpdateStats::pre_nocand
 

initial status: packages without candidate (foreign, replaced or dropped)

unsigned PMUpdateStats::pre_todel
 

initial status: packages already tagged to delete


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 14:30:33 2007 for yast2-packagemanager by doxygen 1.3.6