24 PoolInstallStateFlags flags;
51 if ( sel && sel->hasInstalledObj() )
53 if ( sel->identicalInstalled( pi ) )
77 PoolInstallStateFlags flags;
bool locked() const
True if locked (subclass of unmodified).
Collects PoolItems of same kind and name.
Explicitly installed by the user.
bool hasBlacklistedInstalled() const
True if this Selectable contains an installed blacklisted item (retracted,ptf,...).
ResStatus & status() const
Returns the current status.
ValidateValue validate() const
Retracted (PTF / blacklisted)
PoolInstallState
Install-state flags for a pool item or selectable.
bool identIsAutoInstalled() const
Structured install-state flags for pool items and selectables.
Installed as a dependency (auto)
PoolItem theObj() const
An object you could use as pars pro toto.
bool identicalAvailable(const PoolItem &rhs) const
True if rhs is installed and one with the same content is available.
ResKind kind() const
The ResObjects kind.
bool identIsAutoInstalled() const
Whether this ident is flagged as AutoInstalled.
PoolInstallStateFlags poolInstallState(const PoolItem &pi)
Compute install-state flags for a PoolItem.
static Ptr get(const pool::ByIdent &ident_r)
Get the Selctable.
bool isBlacklisted() const
Pseudo-installed and requirements are not met.
bool isPseudoInstalled(const ResKind &kind_r)
Those are denoted to be installed, if the solver verifies them as being satisfied.
Combining sat::Solvable and ResStatus.
Always combined with AutoInstalled or UserInstalled.
Installed, but no identical candidate available.
Locked — solver will not change this item.
PoolItem installedObj() const
The last Installed object.
bool hasInstalledObj() const
True if installed object is present.
intrusive_ptr< Selectable > Ptr