libyui-ncurses-pkg  2.48.9
SelectionStatStrategy Class Reference
Inheritance diagram for SelectionStatStrategy:
Collaboration diagram for SelectionStatStrategy:

Public Member Functions

virtual bool setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr)
 Sets the status of the selection. More...
 
- Public Member Functions inherited from NCPkgStatusStrategy
virtual ZyppStatus getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr)
 Gets the status information from the package manager. More...
 
virtual bool keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat)
 Returns the new status to the given key (respecting the old status of th eobject). More...
 
virtual bool toggleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat)
 Toggles the package status (e.g. More...
 
void solveResolvableCollections ()
 Do a "small" solver run for all "resolvable collections", i.e., for selections, patterns, languages, patches.
 

Detailed Description

Definition at line 152 of file NCPkgStatusStrategy.h.

Member Function Documentation

◆ setObjectStatus()

bool SelectionStatStrategy::setObjectStatus ( ZyppStatus  newstatus,
ZyppSel  slbPtr,
ZyppObj  objPtr 
)
virtual

Sets the status of the selection.

Parameters
newStatusThe new selection status
slbPtrThe selectable pointer @qparam objPtr The object (selection) pointer
Returns
bool

Reimplemented from NCPkgStatusStrategy.

Definition at line 529 of file NCPkgStatusStrategy.cc.


The documentation for this class was generated from the following files: