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

NCPopupDeps Class Reference

#include <NCPopupDeps.h>

Inheritance diagram for NCPopupDeps:

NCPopup NCDialog YDialog NCWidget YContainerWidget tnode< NCWidget * > NCursesError YWidget NCPopupPkgDeps NCPopupSelDeps List of all members.

Public Member Functions

 NCPopupDeps (const wpos at, PackageSelector *pkger)
virtual ~NCPopupDeps ()
virtual long nicesize (YUIDimension dim)
NCursesEvent showDependencyPopup ()
bool showDependencies ()
bool evaluateErrorResult (NCPkgTable *table, const PkgDep::ErrorResultList &errorlist)
bool concretelyDependency (int index)

Protected Member Functions

virtual bool postAgain ()
virtual NCursesEvent wHandleInput (wint_t ch)

Protected Attributes

NCPkgTablepkgs

Private Member Functions

NCPopupDepsoperator= (const NCPopupDeps &)
 NCPopupDeps (const NCPopupDeps &)
virtual bool solveInstall (PkgDep::ResultList &goodList, PkgDep::ErrorResultList &badList)=0
virtual string getHeadline ()=0
virtual string getLabelRequire ()=0
virtual string getLabelRequBy1 ()=0
virtual string getLabelRequBy2 ()=0
virtual string getLabelConflict ()=0
virtual string getLabelContinueRequ ()=0
virtual void setDepsTableType ()=0
void createLayout ()
bool addDepsLine (NCPkgTable *table, const PkgDep::ErrorResult &error, string kind)
string getReferersList (const PkgDep::ErrorResult &error)

Private Attributes

vector< std::pair< PkgDep::ErrorResult,
std::string > > 
dependencies
map< std::string, bool > ignoreDependencies
NCPushButtoncancelButton
NCPushButtonsolveButton
NCPushButtonignoreButton
NCPushButtonignoreAllButton
NCPkgTabledeps
NCLabelhead
NCLabelerrorLabel1
NCLabelerrorLabel2
PackageSelectorpackager

Constructor & Destructor Documentation

NCPopupDeps::NCPopupDeps const NCPopupDeps  )  [private]
 

NCPopupDeps::NCPopupDeps const wpos  at,
PackageSelector pkger
 

NCPopupDeps::~NCPopupDeps  )  [virtual]
 


Member Function Documentation

bool NCPopupDeps::addDepsLine NCPkgTable table,
const PkgDep::ErrorResult error,
string  kind
[private]
 

bool NCPopupDeps::concretelyDependency int  index  ) 
 

This is an auxiliary field to conflicts_with. The conflicts disappear if all the packages listed would be removed. ...

void NCPopupDeps::createLayout  )  [private]
 

bool NCPopupDeps::evaluateErrorResult NCPkgTable table,
const PkgDep::ErrorResultList errorlist
 

This lists the requirements of the package that could not be resolved. The RelInfos can never be conflicts. For each missing package, there s a separate entry in the error result list with not_available set.

If this list is not empty, it means that the package is a virtual package and there is more than one real package that provides it, and that the alternative has not been solved automatically. The Alternatives give the name of each possible alternative and its kind (simple, requires more, generates a conflict).

This field lists all kinds of conflicts of the package with installed packages or other packages to be installed. The RelInfos can be requirements conflicts or obsoletions. ...

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.

Only show the referers as "own" dependency if the list is not related to another kind of dependency (conflicts, unresolvable or alternatives).

virtual string NCPopupDeps::getHeadline  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

virtual string NCPopupDeps::getLabelConflict  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

virtual string NCPopupDeps::getLabelContinueRequ  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

virtual string NCPopupDeps::getLabelRequBy1  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

virtual string NCPopupDeps::getLabelRequBy2  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

virtual string NCPopupDeps::getLabelRequire  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

string NCPopupDeps::getReferersList const PkgDep::ErrorResult error  )  [private]
 

long NCPopupDeps::nicesize YUIDimension  dim  )  [virtual]
 

Reimplemented from NCDialog.

NCPopupDeps& NCPopupDeps::operator= const NCPopupDeps  )  [private]
 

bool NCPopupDeps::postAgain  )  [protected, virtual]
 

Reimplemented from NCPopup.

virtual void NCPopupDeps::setDepsTableType  )  [private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

bool NCPopupDeps::showDependencies  ) 
 

NCursesEvent NCPopupDeps::showDependencyPopup  ) 
 

virtual bool NCPopupDeps::solveInstall PkgDep::ResultList goodList,
PkgDep::ErrorResultList badList
[private, pure virtual]
 

Implemented in NCPopupPkgDeps, and NCPopupSelDeps.

NCursesEvent NCPopupDeps::wHandleInput wint_t  ch  )  [protected, virtual]
 

Reimplemented from NCPopup.


Member Data Documentation

NCPushButton* NCPopupDeps::cancelButton [private]
 

vector<std::pair<PkgDep::ErrorResult, std::string> > NCPopupDeps::dependencies [private]
 

NCPkgTable* NCPopupDeps::deps [private]
 

NCLabel* NCPopupDeps::errorLabel1 [private]
 

NCLabel* NCPopupDeps::errorLabel2 [private]
 

NCLabel* NCPopupDeps::head [private]
 

NCPushButton* NCPopupDeps::ignoreAllButton [private]
 

NCPushButton* NCPopupDeps::ignoreButton [private]
 

map<std::string, bool> NCPopupDeps::ignoreDependencies [private]
 

PackageSelector* NCPopupDeps::packager [private]
 

NCPkgTable* NCPopupDeps::pkgs [protected]
 

NCPushButton* NCPopupDeps::solveButton [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 04:52:33 2008 for yast2-ncurses by  doxygen 1.3.9.1