libyui-gtk-pkg  2.43.2
 All Classes
Ypp::Selectable Struct Reference

Public Types

enum  Type {
  PACKAGE, PATTERN, LANGUAGE, PATCH,
  ALL
}
 

Public Member Functions

 Selectable (ZyppSelectable sel)
 
 Selectable (zypp::Locale locale)
 
Type type ()
 
std::string name ()
 
std::string summary ()
 
std::string description (bool as_html)
 
bool visible ()
 
bool isInstalled ()
 
bool hasUpgrade ()
 
bool isLocked ()
 
bool toInstall ()
 
bool toRemove ()
 
bool toModify ()
 
bool toModifyAuto ()
 
void install ()
 
void remove ()
 
void undo ()
 
void lock (bool lock)
 
bool canRemove ()
 
bool canLock ()
 
int totalVersions ()
 
Version version (int n)
 
bool hasCandidateVersion ()
 
Version candidate ()
 
void setCandidate (Version &version)
 
bool hasInstalledVersion ()
 
Version installed ()
 
Version anyVersion ()
 
bool operator== (const Selectable &other) const
 
bool operator!= (const Selectable &other) const
 
ZyppSelectable zyppSel ()
 
zypp::Locale zyppLocale ()
 

Static Public Member Functions

static zypp::ResKind asKind (Type type)
 
static Type asType (zypp::ResKind kind)
 

Detailed Description

Definition at line 143 of file yzyppwrapper.h.


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