164 for (
const auto & pi :
picklist() )
bool locked() const
True if locked (subclass of unmodified).
bool hasLicenceConfirmed() const
Return value of LicenceConfirmed bit.
Status pickStatus(const PoolItem &pi_r) const
ResStatus::TransactByValue modifiedBy() const
Return who caused the modification.
A Solvable object within the sat Pool.
ResPoolProxy proxy() const
preliminary
Status
UI status Status values calculated by Selectable.
ResStatus::TransactByValue modifiedBy() const
Return who caused the modification.
bool installedEmpty() const
Collects PoolItems of same kind and name.
PoolItem setCandidate(const PoolItem &newCandidate_r, ResStatus::TransactByValue causer_r=ResStatus::USER)
Set a candidate (out of available objects).
intrusive_ptr< Selectable > Ptr
SelectableTraits::installed_iterator installed_iterator
picklist_iterator picklistEnd() const
bool isBroken() const
Whether a relevant patchs requirements are broken.
PoolItem identicalAvailableObj(const PoolItem &rhs) const
Return an available Object with the same content as rhs.
bool multiversionInstall() const
available_iterator availableEnd() const
bool installedEmpty() const
bool setStatus(Status state_r, ResStatus::TransactByValue causer_r)
bool identicalInstalled(const PoolItem &rhs) const
True if rhs has the same content as an installed one.
PoolItem identicalInstalledObj(const PoolItem &rhs) const
an installed Object with the same content as rhs.
bool isUndetermined() const
String related utilities and Regular expression matching.
Access to the sat-pools string space.
PoolItem updateCandidateObj() const
The best candidate for update, if there is one.
bool isUnmaintained() const
static constexpr const picklist_size_type picklistNoPos
Returned by picklistPos if the Item does not belong to the picklist.
TraitsType::constPtrType constPtr
IdString ident() const
The identifier.
picklist_size_type picklistPos(const PoolItem &pi_r) const
Return the position of pi_r in the piclist or picklistNoPos.
PoolItem setCandidate(const PoolItem &newCandidate_r, ResStatus::TransactByValue causer_r)
Set a userCandidate (out of available objects).
PoolItem theObj() const
Best among all objects.
bool setStatus(Status state_r, ResStatus::TransactByValue causer_r=ResStatus::USER)
Try to set a new Status.
available_size_type availableSize() const
void setLicenceConfirmed(bool val_r=true)
Set LicenceConfirmed bit.
bool setOnSystem(const PoolItem &newCandidate_r, ResStatus::TransactByValue causer_r=ResStatus::USER)
Arrange the specified candidate (out of available objects) to be on system after commit.
PoolItem candidateObj() const
The 'best' or 'most interesting' among all available objects.
bool setInstalled(ResStatus::TransactByValue causer_r=ResStatus::USER)
Take care the item gets installed if it is not.
picklist_iterator picklistBegin() const
PoolItem identicalInstalledObj(const PoolItem &rhs) const
an installed Object with the same content as rhs.
installed_size_type installedSize() const
bool isSatisfied() const
Whether a relevant patchs requirements are met.
std::ostream & operator<<(std::ostream &str, const Selectable &obj)
bool isUndetermined() const
Returns true for packages, because packages are not classified by the solver.
installed_iterator installedEnd() const
PoolItem candidateObj() const
Best among available objects.
std::ostream & dumpOn(std::ostream &str, const Selectable &obj)
PoolItem theObj() const
An object you could use as pars pro toto.
bool picklistEmpty() const
bool identicalAvailable(const PoolItem &rhs) const
True if rhs is installed and one with the same content is available.
available_iterator availableBegin() const
const std::string & name() const
PoolItem updateCandidateObj() const
The best candidate for update, if there is one.
bool setDeleted(ResStatus::TransactByValue causer_r=ResStatus::USER)
Take care the item gets deleted if it is installed.
picklist_iterator picklistBegin() const
PoolItem highestAvailableVersionObj() const
Simply the highest available version, ignoring priorities and policies.
shared_ptr< Impl > Impl_Ptr
picklist_size_type picklistSize() const
bool identicalAvailable(const PoolItem &rhs) const
True if rhs is installed and one with the same content is available.
SelectableTraits::available_iterator available_iterator
Iterates over ResObject::constPtr.
ResKind kind() const
The ResObjects kind.
bool setPickStatus(const PoolItem &pi_r, Status state_r, ResStatus::TransactByValue causer_r=ResStatus::USER)
Assign a new status to a specific item.
bool identIsAutoInstalled() const
Whether this ident is flagged as AutoInstalled.
PoolItem identicalAvailableObj(const PoolItem &rhs) const
Return an available Object with the same content as rhs.
bool identicalInstalled(const PoolItem &rhs) const
True if rhs has the same content as an installed one.
installed_size_type installedSize() const
bool isNeeded() const
This includes unlocked broken patches, as well as those already selected to be installed.
available_iterator availableBegin() const
picklist_iterator picklistEnd() const
available_size_type availableSize() const
Status pickStatus(const PoolItem &pi_r) const
Compute the ui::Status for an individual PoolItem.
static Ptr get(const pool::ByIdent &ident_r)
Get the Selctable.
Status status() const
Return the current Status.
IMPL_PTR_TYPE(Selectable)
bool isUnwanted() const
Broken (needed) but locked patches.
bool multiversionInstall() const
Whether at least one of the available packages has multiversionInstall set.
PoolItem highestAvailableVersionObj() const
Simply the highest available version, ignoring priorities and policies.
bool availableEmpty() const
available_iterator availableEnd() const
bool pickInstall(const PoolItem &pi_r, ResStatus::TransactByValue causer_r=ResStatus::USER, bool yesno_r=true)
Select a specific available item for installation.
Selectable(Impl_Ptr pimpl_r)
Default ctor.
void setLicenceConfirmed(bool val_r)
Set LicenceConfirmed bit.
installed_iterator installedBegin() const
Iterable< picklist_iterator > picklist() const
bool setUpToDate(ResStatus::TransactByValue causer_r=ResStatus::USER)
Take care the item gets installed if it is not, or is older.
SelectableTraits::picklist_iterator picklist_iterator
bool picklistEmpty() const
Combining sat::Solvable and ResStatus.
bool setFate(Fate fate_r, ResStatus::TransactByValue causer_r=ResStatus::USER)
bool setPickStatus(const PoolItem &pi_r, Status state_r, ResStatus::TransactByValue causer_r)
installed_iterator installedEnd() const
bool pickInstall(const PoolItem &pi_r, ResStatus::TransactByValue causer_r, bool yesno_r)
ui::Selectable::Ptr lookup(const pool::ByIdent &ident_r) const
bool hasLicenceConfirmed() const
Return value of LicenceConfirmed bit.
bool identIsAutoInstalled() const
Whether this ident is flagged as AutoInstalled.
Easy-to use interface to the ZYPP dependency resolver.
bool availableEmpty() const
PoolItem candidateObjFrom(Repository repo_r) const
The best candidate provided by a specific Repository, if there is one.
SelectableTraits::picklist_size_type picklist_size_type
PoolItem candidateObjFrom(Repository repo_r) const
The best candidate provided by a specific Repository, if there is one.
bool pickDelete(const PoolItem &pi_r, ResStatus::TransactByValue causer_r=ResStatus::USER, bool yesno_r=true)
Select a specific installed item for deletion.
Solvable satSolvable() const
Return the corresponding sat::Solvable.
PoolItem installedObj() const
The last Installed object.
installed_iterator installedBegin() const
bool hasInstalledObj() const
True if installed object is present.
SelectableTraits::installed_size_type installed_size_type
bool pickDelete(const PoolItem &pi_r, ResStatus::TransactByValue causer_r, bool yesno_r)
Main filter selecting PoolItems by name and kind.
RW_pointer< Impl > _pimpl
Pointer to implementation.
PoolItem installedObj() const
Installed object (transacting ot highest version).
SelectableTraits::available_size_type available_size_type
bool isRelevant() const
Returns true if the patch is relevant which means that at least one package of the patch is installed...
picklist_size_type picklistSize() const
static ResPool instance()
Singleton ctor.
bool isUnmaintained() const
True if this package has no replacement from the available repositories.
const std::string & name() const
The ResObjects name.