#include <apt.h>
Public Member Functions | |
PackageState () | |
PackageState (unsigned int flags) | |
bool | isValid () const |
bool | markedInstall () const |
bool | markedUpgrade () const |
bool | markedNewInstall () const |
bool | markedReInstall () const |
bool | markedKeep () const |
bool | markedRemove () const |
bool | markedPurge () const |
bool | isInstalled () const |
bool | isUpgradable () const |
bool | isBroken () const |
bool | willBreak () const |
bool | canInstall () const |
bool | canRemove () const |
bool | canKeep () const |
bool | canUpgrade () const |
bool | canReInstall () const |
bool | canRevertInstall () const |
Protected Types | |
enum | Query { Install = 1 << 0, Upgrade = 1 << 1, Keep = 1 << 2, Remove = 1 << 3, Installed = 1 << 4, Upgradable = 1 << 5, NowBroken = 1 << 6, WillBreak = 1 << 7, ReInstall = 1 << 8, Purge = 1 << 9, Valid = 1 << 10 } |
Protected Attributes | |
unsigned int | m_flags |
Friends | |
class | Apt |
enum ept::apt::PackageState::Query [protected] |
ept::apt::PackageState::PackageState | ( | ) | [inline] |
ept::apt::PackageState::PackageState | ( | unsigned int | flags | ) | [inline] |
bool ept::apt::PackageState::isValid | ( | ) | const [inline] |
bool ept::apt::PackageState::markedInstall | ( | ) | const [inline] |
bool ept::apt::PackageState::markedUpgrade | ( | ) | const [inline] |
bool ept::apt::PackageState::markedNewInstall | ( | ) | const [inline] |
bool ept::apt::PackageState::markedReInstall | ( | ) | const [inline] |
bool ept::apt::PackageState::markedKeep | ( | ) | const [inline] |
bool ept::apt::PackageState::markedRemove | ( | ) | const [inline] |
bool ept::apt::PackageState::markedPurge | ( | ) | const [inline] |
bool ept::apt::PackageState::isInstalled | ( | ) | const [inline] |
bool ept::apt::PackageState::isUpgradable | ( | ) | const [inline] |
bool ept::apt::PackageState::isBroken | ( | ) | const [inline] |
bool ept::apt::PackageState::willBreak | ( | ) | const [inline] |
bool ept::apt::PackageState::canInstall | ( | ) | const [inline] |
bool ept::apt::PackageState::canRemove | ( | ) | const [inline] |
bool ept::apt::PackageState::canKeep | ( | ) | const [inline] |
bool ept::apt::PackageState::canUpgrade | ( | ) | const [inline] |
bool ept::apt::PackageState::canReInstall | ( | ) | const [inline] |
bool ept::apt::PackageState::canRevertInstall | ( | ) | const [inline] |
friend class Apt [friend] |
unsigned int ept::apt::PackageState::m_flags [protected] |