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

PkgDep::Result Struct Reference

#include <PkgDep.h>

Inheritance diagram for PkgDep::Result:

PkgDep::ErrorResult List of all members.

Public Member Functions

 Result (const PkgDep &pkgdep, PMSolvablePtr pkg)
 Result (const PkgDep &pkgdep, const PkgName &name)
void add_notes (const Notes &notes)

Public Attributes

PkgName name
PkgEdition edition
PMSolvablePtr solvable
RelInfoList referers
PkgEdition is_upgrade_from
PkgEdition is_downgrade_from
bool from_input_list: 1
bool upgrade_to_remove_conflict: 1
bool install_to_avoid_break: 1
bool was_inconsistent: 1

Detailed Description

This is the basic return type for packages that could be processed without problems. It contains further information about the package


Constructor & Destructor Documentation

PkgDep::Result::Result const PkgDep pkgdep,
PMSolvablePtr  pkg
 

construct Result. is_upgrade_from and is_downgrade_from will be calculated

PkgDep::Result::Result const PkgDep pkgdep,
const PkgName name
 

construct basic Result


Member Function Documentation

void PkgDep::Result::add_notes const Notes notes  ) 
 

Reimplemented in PkgDep::ErrorResult.


Member Data Documentation

PkgEdition PkgDep::Result::edition
 

edition, copy solvable->edition if solvable != 0

bool PkgDep::Result::from_input_list
 

true if this package was passed in the input list (i.e., hasn't been added by PkgDep)

bool PkgDep::Result::install_to_avoid_break
 

this package has been installed to avoid a broken requirement by another upgrade/obsoletion

PkgEdition PkgDep::Result::is_downgrade_from
 

This is the installed version of the package if the installed ver-sion is greater. If the package isn't installed yet, the value is the unspecified version.

PkgEdition PkgDep::Result::is_upgrade_from
 

This is the installed version of the package if the installed version is less. If the package isn't installed yet, the value is the unspecified version.

PkgName PkgDep::Result::name
 

name, copy of solvable->name if solvable != 0

RelInfoList PkgDep::Result::referers
 

A list of packages that require the package described by the Result. Please note that a referer is remembered only if no installed package would have satisfied the requirement, too.

PMSolvablePtr PkgDep::Result::solvable
 

pointer to affected solvable, may be NULL if there is none

bool PkgDep::Result::upgrade_to_remove_conflict
 

This flag is set if the package has been upgraded to resolve a conflict with a new package that would have existed otherwise.

bool PkgDep::Result::was_inconsistent
 

this package has been (re)installed because it had unsatisfied dependencies


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