#include <ResStatus.h>
Public Member Functions | |
| ResStatus () | |
| Default ctor. | |
| ResStatus (bool isInstalled_r) | |
| Ctor setting the initial . | |
| ~ResStatus () | |
| Dtor. | |
| BitFieldType | bitfield () const |
| Debug helper returning the bitfield. | |
| bool | isLicenceConfirmed () const |
| void | setLicenceConfirmed (bool toVal_r=true) |
| bool | isInstalled () const |
| bool | isUninstalled () const |
| bool | staysInstalled () const |
| bool | wasInstalled () const |
| bool | isToBeInstalled () const |
| bool | staysUninstalled () const |
| bool | wasUninstalled () const |
| bool | isToBeUninstalled () const |
| bool | isUndetermined () const |
| bool | isEstablishedUneeded () const |
| bool | isEstablishedSatisfied () const |
| bool | isEstablishedIncomplete () const |
| bool | isUnneeded () const |
| bool | isSatisfied () const |
| bool | isComplete () const |
| bool | isIncomplete () const |
| bool | isNeeded () const |
| bool | isLocked () const |
| bool | transacts () const |
| TransactValue | getTransactValue () const |
| bool | isBySolver () const |
| bool | isByApplLow () const |
| bool | isByApplHigh () const |
| bool | isByUser () const |
| TransactByValue | getTransactByValue () const |
| bool | isToBeUninstalledDueToObsolete () const |
| bool | isToBeUninstalledDueToUnlink () const |
| bool | isToBeUninstalledDueToUpgrade () const |
| bool | isToBeInstalledSoft () const |
| bool | isToBeInstalledNotSoft () const |
| bool | isToBeUninstalledSoft () const |
| bool | setTransactValue (TransactValue newVal_r, TransactByValue causer_r) |
| Set TransactValue. | |
| bool | maySetTransactValue (TransactValue newVal_r, TransactByValue causer_r) |
| bool | setLock (bool toLock_r, TransactByValue causer_r) |
| Apply a lock (prevent transaction). | |
| bool | maySetLock (bool to_r, TransactByValue causer_r) |
| bool | setTransact (bool toTansact_r, TransactByValue causer_r) |
| Toggle between TRANSACT and KEEP_STATE. | |
| bool | maySetTransact (bool val_r, TransactByValue causer) |
| bool | setSoftLock (TransactByValue causer_r) |
| bool | resetTransact (TransactByValue causer_r) |
| Not the same as setTransact( false ). | |
| bool | setSoftTransact (bool toTansact_r, TransactByValue causer_r, TransactByValue causerLimit_r) |
| Soft toggle between TRANSACT and KEEP_STATE. | |
| bool | setSoftTransact (bool toTansact_r, TransactByValue causer_r) |
| bool | maySetSoftTransact (bool val_r, TransactByValue causer, TransactByValue causerLimit_r) |
| bool | maySetSoftTransact (bool val_r, TransactByValue causer) |
| bool | setToBeInstalled (TransactByValue causer) |
| bool | maySetToBeInstalled (TransactByValue causer) |
| bool | setToBeUninstalled (TransactByValue causer) |
| bool | maySetToBeUninstalled (TransactByValue causer) |
| bool | setToBeUninstalledDueToUnlink () |
| bool | setToBeUninstalledDueToObsolete () |
| bool | setToBeUninstalledDueToUpgrade (TransactByValue causer) |
| bool | setToBeInstalledSoft () |
| bool | setToBeUninstalledSoft () |
| bool | isSoftInstall () |
| bool | isSoftUninstall () |
| bool | setSoftInstall (bool flag) |
| bool | setSoftUninstall (bool flag) |
| bool | setUndetermined () |
| bool | setUnneeded () |
| bool | setSatisfied () |
| bool | setIncomplete () |
| bool | isSeen () const |
| bool | isImpossible () const |
| bool | setSeen (bool value) |
| bool | setImpossible (bool value) |
| bool | setStatus (ResStatus newStatus_r) |
Private Member Functions | |
| ResStatus (StateValue s, EstablishValue e=UNDETERMINED, TransactValue t=KEEP_STATE, InstallDetailValue i=EXPLICIT_INSTALL, RemoveDetailValue r=EXPLICIT_REMOVE, SolverStateValue ssv=NORMAL) | |
| Ctor for intialization of builtin constants. | |
| template<class _Field> | |
| bool | fieldValueIs (FieldType val_r) const |
| Return whether the corresponding Field has value val_r. | |
| template<class _Field> | |
| void | fieldValueAssign (FieldType val_r) |
| Set the corresponding Field to value val_r. | |
| template<class _Field> | |
| bool | isGreaterThan (FieldType val_r) |
| compare two values. | |
| template<class _Field> | |
| bool | isLessThan (FieldType val_r) |
Private Attributes | |
| BitFieldType | _bitfield |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const ResStatus &obj) |
| Stream output. | |
| bool | operator== (const ResStatus &lhs, const ResStatus &rhs) |
Related Functions | |
| (Note that these are not member functions.) | |
| bool | operator!= (const ResStatus &lhs, const ResStatus &rhs) |
StateField Whether the resolvable is or uninstalled (available). EstablishField Established status computed by the solver as unneeded (have freshens but none of them trigger) satisfied (no freshen or at least one triggered freshen and all requires fulfilled) or incomplete (no freshen or at least one triggered freshen and NOT all requires fulfilled) TransactField Wheter to transact this resolvable (delete if installed install if uninstalled). In case the resolvable is locked, only USER may modify the transact bit. TransactByField Who triggered the transaction. Transaction bit may be reset by higer levels only. TransactDetailField Reason why the Resolvable transacts. Splitted into InstallDetailValue and RemoveDetailValue dependent on the kind of transaction.
Definition at line 47 of file ResStatus.h.
| typedef uint16_t zypp::ResStatus::FieldType |
Definition at line 59 of file ResStatus.h.
Definition at line 60 of file ResStatus.h.
| typedef bit::Range<FieldType,0, 1> zypp::ResStatus::StateField |
Definition at line 62 of file ResStatus.h.
Definition at line 63 of file ResStatus.h.
Definition at line 64 of file ResStatus.h.
Definition at line 65 of file ResStatus.h.
Definition at line 66 of file ResStatus.h.
Definition at line 67 of file ResStatus.h.
Definition at line 68 of file ResStatus.h.
| typedef uint16_t zypp::ResStatus::FieldType |
Definition at line 59 of file ResStatus.h.
Definition at line 60 of file ResStatus.h.
| typedef bit::Range<FieldType,0, 1> zypp::ResStatus::StateField |
Definition at line 62 of file ResStatus.h.
Definition at line 63 of file ResStatus.h.
Definition at line 64 of file ResStatus.h.
Definition at line 65 of file ResStatus.h.
Definition at line 66 of file ResStatus.h.
Definition at line 67 of file ResStatus.h.
Definition at line 68 of file ResStatus.h.
Definition at line 86 of file ResStatus.h.
Definition at line 99 of file ResStatus.h.
Definition at line 107 of file ResStatus.h.
| EXPLICIT_REMOVE | |
| value | |
| SOFT_REMOVE | |
| value | |
| DUE_TO_OBSOLETE | |
| value | |
| DUE_TO_UNLINK | |
| value | |
| DUE_TO_UPGRADE | |
| value |
Definition at line 118 of file ResStatus.h.
Definition at line 133 of file ResStatus.h.
Definition at line 86 of file ResStatus.h.
Definition at line 99 of file ResStatus.h.
Definition at line 107 of file ResStatus.h.
| EXPLICIT_REMOVE | |
| value | |
| SOFT_REMOVE | |
| value | |
| DUE_TO_OBSOLETE | |
| value | |
| DUE_TO_UNLINK | |
| value | |
| DUE_TO_UPGRADE | |
| value |
Definition at line 118 of file ResStatus.h.
Definition at line 133 of file ResStatus.h.
| zypp::ResStatus::ResStatus | ( | ) |
| zypp::ResStatus::ResStatus | ( | bool | isInstalled_r | ) |
| zypp::ResStatus::~ResStatus | ( | ) |
| zypp::ResStatus::ResStatus | ( | StateValue | s, | |
| EstablishValue | e = UNDETERMINED, |
|||
| TransactValue | t = KEEP_STATE, |
|||
| InstallDetailValue | i = EXPLICIT_INSTALL, |
|||
| RemoveDetailValue | r = EXPLICIT_REMOVE, |
|||
| SolverStateValue | ssv = NORMAL | |||
| ) | [private] |
| BitFieldType zypp::ResStatus::bitfield | ( | ) | const [inline] |
Debug helper returning the bitfield.
It's save to expose the bitfield, as it can't be used to recreate a ResStatus. So it is not possible to bypass transition rules.
Definition at line 156 of file ResStatus.h.
References _bitfield.
| bool zypp::ResStatus::isLicenceConfirmed | ( | ) | const [inline] |
Definition at line 161 of file ResStatus.h.
References LICENCE_CONFIRMED.
Referenced by zypp::ui::Selectable::Impl::hasLicenceConfirmed(), and zypp::PoolItem_Ref::Impl::sameState().
| void zypp::ResStatus::setLicenceConfirmed | ( | bool | toVal_r = true |
) | [inline] |
Definition at line 164 of file ResStatus.h.
References LICENCE_CONFIRMED, and LICENCE_UNCONFIRMED.
Referenced by zypp::ui::Selectable::Impl::setLicenceConfirmed().
| bool zypp::ResStatus::isInstalled | ( | ) | const [inline] |
Definition at line 170 of file ResStatus.h.
References INSTALLED.
Referenced by zypp::SelPoolHelper::SelC::add(), zypp::PoolItem_Ref::Impl::autoprotect(), zypp::solver::detail::TransactionSolutionAction::execute(), zypp::solver::detail::ResolverContext::getStatus(), zypp::solver::detail::install_count_cb(), zypp::solver::detail::install_item_cb(), isComplete(), isIncomplete(), isToBeUninstalled(), zypp::resfilter::ByCaIInstalled::operator()(), zypp::resfilter::ByInstalled::operator()(), zypp::operator<<(), zypp::solver::detail::ProblemSolutionUninstall::ProblemSolutionUninstall(), zypp::solver::detail::satisfy_count_cb(), setToBeInstalled(), setToBeUninstalled(), staysInstalled(), zypp::solver::detail::uninstall_count_cb(), and zypp::solver::detail::upgrade_item_cb().
| bool zypp::ResStatus::isUninstalled | ( | ) | const [inline] |
Definition at line 173 of file ResStatus.h.
References UNINSTALLED.
Referenced by isNeeded(), isSatisfied(), isToBeInstalled(), isUnneeded(), zypp::solver::detail::RequireProcess::operator()(), zypp::resfilter::ByCaIUninstalled::operator()(), zypp::resfilter::ByUninstalled::operator()(), zypp::solver::detail::QueueItemRequire::process(), and staysUninstalled().
| bool zypp::ResStatus::staysInstalled | ( | ) | const [inline] |
Definition at line 178 of file ResStatus.h.
References isInstalled(), and transacts().
Referenced by zypp::solver::detail::ResolverQueue::addPoolItemToInstall(), zypp::solver::detail::ResolverContext::incomplete(), zypp::solver::detail::ResolverContext::isPresent(), zypp::solver::detail::ProvidesItem::operator()(), zypp::solver::detail::UninstallEstablishItem::operator()(), zypp::solver::detail::HintItem::operator()(), zypp::solver::detail::UninstallConflicting::operator()(), zypp::solver::detail::ConflictProcess::operator()(), zypp::solver::detail::TransactLanguage::operator()(), zypp::solver::detail::TransactSupplements::operator()(), zypp::solver::detail::FindIandU::operator()(), zypp::solver::detail::QueueItemUninstall::process(), zypp::solver::detail::QueueItemRequire::process(), zypp::solver::detail::QueueItemEstablish::process(), zypp::solver::detail::satisfy_item_cb(), zypp::solver::detail::ResolverContext::uninstall(), and wasInstalled().
| bool zypp::ResStatus::wasInstalled | ( | ) | const [inline] |
Definition at line 181 of file ResStatus.h.
References staysInstalled().
Referenced by zypp::solver::detail::ResolverContext::incomplete(), zypp::solver::detail::ResolverContext::satisfy(), zypp::solver::detail::ResolverContext::uninstall(), and zypp::solver::detail::ResolverContext::unneeded().
| bool zypp::ResStatus::isToBeInstalled | ( | ) | const [inline] |
Definition at line 183 of file ResStatus.h.
References isUninstalled(), and transacts().
Referenced by zypp::solver::detail::context_item_collector(), zypp::solver::detail::dup_name_check_cb(), zypp::solver::detail::TransactionSolutionAction::execute(), zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::install_item_cb(), zypp::solver::detail::ResolverContext::isPresent(), isToBeInstalledNotSoft(), isToBeInstalledSoft(), zypp::solver::detail::marked_item_collector(), zypp::solver::detail::HintItem::operator()(), zypp::solver::detail::RequireProcess::operator()(), zypp::solver::detail::UninstallConflicting::operator()(), zypp::solver::detail::ConflictProcess::operator()(), zypp::solver::detail::TransactSupplements::operator()(), zypp::solver::detail::FindIandU::operator()(), zypp::solver::detail::CollectTransact::operator()(), zypp::solver::detail::QueueItemUninstall::process(), zypp::solver::detail::QueueItemRequire::process(), zypp::solver::detail::solution_to_pool(), zypp::solver::detail::ResolverContext::upgrade(), and zypp::solver::detail::upgrade_item_cb().
| bool zypp::ResStatus::staysUninstalled | ( | ) | const [inline] |
Definition at line 186 of file ResStatus.h.
References isUninstalled(), and transacts().
Referenced by zypp::solver::detail::ResolverContext::isAbsent(), zypp::solver::detail::TransactLanguage::operator()(), zypp::solver::detail::FindIandU::operator()(), zypp::solver::detail::QueueItemInstall::process(), and wasUninstalled().
| bool zypp::ResStatus::wasUninstalled | ( | ) | const [inline] |
Definition at line 189 of file ResStatus.h.
References staysUninstalled().
Referenced by zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::ConflictProcess::operator()(), zypp::solver::detail::ResolverContext::satisfy(), zypp::solver::detail::ResolverContext::uninstall(), and zypp::solver::detail::ResolverContext::unneeded().
| bool zypp::ResStatus::isToBeUninstalled | ( | ) | const [inline] |
Definition at line 191 of file ResStatus.h.
References isInstalled(), and transacts().
Referenced by zypp::solver::detail::context_item_collector(), zypp::solver::detail::TransactionSolutionAction::execute(), zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::ResolverContext::isAbsent(), isToBeUninstalledDueToObsolete(), isToBeUninstalledDueToUnlink(), isToBeUninstalledDueToUpgrade(), isToBeUninstalledSoft(), zypp::solver::detail::marked_item_collector(), zypp::solver::detail::FindProviders::operator()(), zypp::solver::detail::RequirementPossible::operator()(), zypp::solver::detail::NoInstallableProviders::operator()(), zypp::solver::detail::RequireProcess::operator()(), zypp::solver::detail::ConflictProcess::operator()(), zypp::solver::detail::CollectTransact::operator()(), zypp::solver::detail::QueueItemRequire::process(), zypp::solver::detail::QueueItemInstall::process(), zypp::solver::detail::solution_to_pool(), zypp::solver::detail::ResolverContext::uninstall(), zypp::solver::detail::uninstall_item_cb(), and zypp::solver::detail::ResolverContext::upgrade().
| bool zypp::ResStatus::isUndetermined | ( | ) | const [inline] |
| bool zypp::ResStatus::isEstablishedUneeded | ( | ) | const [inline] |
| bool zypp::ResStatus::isEstablishedSatisfied | ( | ) | const [inline] |
| bool zypp::ResStatus::isEstablishedIncomplete | ( | ) | const [inline] |
Definition at line 203 of file ResStatus.h.
References INCOMPLETE.
Referenced by zypp::operator<<().
| bool zypp::ResStatus::isUnneeded | ( | ) | const [inline] |
Definition at line 206 of file ResStatus.h.
References isUninstalled(), and UNNEEDED.
Referenced by zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::ResolverContext::isPresent(), and zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::isSatisfied | ( | ) | const [inline] |
Definition at line 209 of file ResStatus.h.
References isUninstalled(), and SATISFIED.
Referenced by zypp::solver::detail::context_item_collector_satisfy(), zypp::solver::detail::ResolverContext::isPresent(), zypp::solver::detail::QueueItemInstall::process(), zypp::solver::detail::satisfy_item_cb(), and zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::isComplete | ( | ) | const [inline] |
| bool zypp::ResStatus::isIncomplete | ( | ) | const [inline] |
Definition at line 215 of file ResStatus.h.
References INCOMPLETE, and isInstalled().
Referenced by zypp::solver::detail::context_item_collector_incomplete(), zypp::solver::detail::incomplete_item_cb(), zypp::solver::detail::ResolverContext::isPresent(), zypp::solver::detail::CollectTransact::operator()(), zypp::solver::detail::QueueItemInstall::process(), and zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::isNeeded | ( | ) | const [inline] |
Definition at line 218 of file ResStatus.h.
References INCOMPLETE, and isUninstalled().
Referenced by zypp::solver::detail::ResolverContext::isPresent(), zypp::solver::detail::QueueItemInstall::process(), and zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::isLocked | ( | ) | const [inline] |
Definition at line 221 of file ResStatus.h.
References LOCKED.
Referenced by zypp::solver::detail::downgrade_allowed(), zypp::solver::detail::NoInstallableProviders::operator()(), zypp::solver::detail::CheckIfBest::operator()(), zypp::solver::detail::LookForReinstall::operator()(), zypp::solver::detail::LookForUpdate::operator()(), zypp::resfilter::ByLock::operator()(), zypp::operator<<(), zypp::solver::detail::QueueItemUninstall::process(), zypp::solver::detail::QueueItemEstablish::process(), setLock(), and zypp::solver::detail::transactItems().
| bool zypp::ResStatus::transacts | ( | ) | const [inline] |
Definition at line 224 of file ResStatus.h.
References TRANSACT.
Referenced by isToBeInstalled(), isToBeUninstalled(), zypp::ui::Selectable::Impl::modifiedBy(), zypp::solver::detail::ProvidesItem::operator()(), zypp::resfilter::ByCaINotTransact::operator()(), zypp::resfilter::ByCaITransact::operator()(), zypp::resfilter::ByTransact::operator()(), zypp::operator<<(), setSoftTransact(), setTransact(), zypp::ui::Selectable::Impl::status(), staysInstalled(), and staysUninstalled().
| TransactValue zypp::ResStatus::getTransactValue | ( | ) | const [inline] |
Definition at line 227 of file ResStatus.h.
References _bitfield, and zypp::bit::BitField< _IntT >::value().
Referenced by zypp::PoolItem_Ref::Impl::sameState(), and setStatus().
| bool zypp::ResStatus::isBySolver | ( | ) | const [inline] |
Definition at line 230 of file ResStatus.h.
References SOLVER.
Referenced by zypp::solver::detail::CollectTransact::operator()(), zypp::operator<<(), and zypp::PoolItem_Ref::Impl::sameState().
| bool zypp::ResStatus::isByApplLow | ( | ) | const [inline] |
Definition at line 233 of file ResStatus.h.
References APPL_LOW.
Referenced by zypp::solver::detail::CollectTransact::operator()(), and zypp::operator<<().
| bool zypp::ResStatus::isByApplHigh | ( | ) | const [inline] |
| bool zypp::ResStatus::isByUser | ( | ) | const [inline] |
Definition at line 239 of file ResStatus.h.
References USER.
Referenced by zypp::solver::detail::ResolverContext::collectCompareInfo(), zypp::solver::detail::ProvidesItem::operator()(), zypp::operator<<(), and zypp::ui::Selectable::Impl::status().
| TransactByValue zypp::ResStatus::getTransactByValue | ( | ) | const [inline] |
Definition at line 242 of file ResStatus.h.
References _bitfield, and zypp::bit::BitField< _IntT >::value().
Referenced by zypp::ui::Selectable::Impl::modifiedBy(), and setStatus().
| bool zypp::ResStatus::isToBeUninstalledDueToObsolete | ( | ) | const [inline] |
Definition at line 245 of file ResStatus.h.
References DUE_TO_OBSOLETE, and isToBeUninstalled().
Referenced by zypp::solver::detail::ConflictProcess::operator()(), and zypp::operator<<().
| bool zypp::ResStatus::isToBeUninstalledDueToUnlink | ( | ) | const [inline] |
Definition at line 248 of file ResStatus.h.
References DUE_TO_UNLINK, and isToBeUninstalled().
Referenced by zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::RequirementPossible::operator()(), zypp::solver::detail::ConflictProcess::operator()(), zypp::operator<<(), zypp::solver::detail::QueueItemInstall::process(), and zypp::solver::detail::ResolverContext::uninstall().
| bool zypp::ResStatus::isToBeUninstalledDueToUpgrade | ( | ) | const [inline] |
Definition at line 251 of file ResStatus.h.
References DUE_TO_UPGRADE, and isToBeUninstalled().
Referenced by zypp::operator<<(), and zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::isToBeInstalledSoft | ( | ) | const [inline] |
Definition at line 254 of file ResStatus.h.
References isToBeInstalled(), and SOFT_INSTALL.
Referenced by zypp::solver::detail::ConflictProcess::operator()(), and zypp::operator<<().
| bool zypp::ResStatus::isToBeInstalledNotSoft | ( | ) | const [inline] |
Definition at line 257 of file ResStatus.h.
References isToBeInstalled(), and SOFT_INSTALL.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
| bool zypp::ResStatus::isToBeUninstalledSoft | ( | ) | const [inline] |
| bool zypp::ResStatus::setTransactValue | ( | TransactValue | newVal_r, | |
| TransactByValue | causer_r | |||
| ) | [inline] |
Set TransactValue.
Convenience to set TransactValue from enum.
Definition at line 279 of file ResStatus.h.
References KEEP_STATE, LOCKED, setLock(), setTransact(), and TRANSACT.
Referenced by maySetTransactValue(), and setStatus().
| bool zypp::ResStatus::maySetTransactValue | ( | TransactValue | newVal_r, | |
| TransactByValue | causer_r | |||
| ) | [inline] |
| bool zypp::ResStatus::setLock | ( | bool | toLock_r, | |
| TransactByValue | causer_r | |||
| ) | [inline] |
Apply a lock (prevent transaction).
Currently by USER only, but who knows... Set LOCKED from KEEP_STATE to be shure all transaction details were reset properly.
Definition at line 309 of file ResStatus.h.
References isLocked(), KEEP_STATE, LOCKED, setTransact(), and USER.
Referenced by zypp::PoolItem_Ref::Impl::autoprotect(), zypp::solver::detail::TransactionSolutionAction::execute(), maySetLock(), zypp::ui::StatusHelper::setDelete(), zypp::ui::StatusHelper::setProtected(), setTransactValue(), zypp::PoolItem_Ref::Impl::statusReset(), and zypp::ui::StatusHelper::unset().
| bool zypp::ResStatus::maySetLock | ( | bool | to_r, | |
| TransactByValue | causer_r | |||
| ) | [inline] |
| bool zypp::ResStatus::setTransact | ( | bool | toTansact_r, | |
| TransactByValue | causer_r | |||
| ) | [inline] |
Toggle between TRANSACT and KEEP_STATE.
LOCKED state means KEEP_STATE. But in contrary to KEEP_STATE, LOCKED state is immutable for causer_r less than TransactByValue. KEEP_STATE may be canged by any causer_r.
Definition at line 347 of file ResStatus.h.
References KEEP_STATE, NO_DETAIL, TRANSACT, and transacts().
Referenced by zypp::solver::detail::TransactionSolutionAction::execute(), maySetTransact(), resetTransact(), zypp::ui::Selectable::Impl::setCandidate(), zypp::ui::StatusHelper::setDelete(), zypp::ui::StatusHelper::setInstall(), setLock(), zypp::ui::StatusHelper::setProtected(), setSoftLock(), setSoftTransact(), setToBeInstalled(), setToBeUninstalled(), setTransactValue(), zypp::solver::detail::transactItems(), and zypp::ui::StatusHelper::unset().
| bool zypp::ResStatus::maySetTransact | ( | bool | val_r, | |
| TransactByValue | causer | |||
| ) | [inline] |
| bool zypp::ResStatus::setSoftLock | ( | TransactByValue | causer_r | ) | [inline] |
| bool zypp::ResStatus::resetTransact | ( | TransactByValue | causer_r | ) | [inline] |
Not the same as setTransact( false ).
Definition at line 400 of file ResStatus.h.
References KEEP_STATE, setTransact(), and SOLVER.
Referenced by zypp::solver::detail::ResolverContext::getStatus(), zypp::solver::detail::TransactReset::operator()(), zypp::solver::detail::CollectTransact::operator()(), zypp::solver::detail::UndoTransact::operator()(), zypp::PoolItem_Ref::Impl::statusReset(), and zypp::solver::detail::transactItems().
| bool zypp::ResStatus::setSoftTransact | ( | bool | toTansact_r, | |
| TransactByValue | causer_r, | |||
| TransactByValue | causerLimit_r | |||
| ) | [inline] |
Soft toggle between TRANSACT and KEEP_STATE.
Similar to setTransact, but leaving KEEP_STATE also requires a superior causerLimit_r. So this is a kind of soft lock.
// SOLVER wants to set TRANSACT, iff KEEP_STATE is // not superior to APPL_LOW. setSoftTransact( true, SOLVER, APPL_LOW );
Definition at line 418 of file ResStatus.h.
References KEEP_STATE, setTransact(), and transacts().
Referenced by maySetSoftTransact(), setSoftTransact(), and zypp::solver::detail::transactItems().
| bool zypp::ResStatus::setSoftTransact | ( | bool | toTansact_r, | |
| TransactByValue | causer_r | |||
| ) | [inline] |
| bool zypp::ResStatus::maySetSoftTransact | ( | bool | val_r, | |
| TransactByValue | causer, | |||
| TransactByValue | causerLimit_r | |||
| ) | [inline] |
Definition at line 434 of file ResStatus.h.
References _bitfield, and setSoftTransact().
Referenced by maySetSoftTransact(), and zypp::solver::detail::QueueItemRequire::process().
| bool zypp::ResStatus::maySetSoftTransact | ( | bool | val_r, | |
| TransactByValue | causer | |||
| ) | [inline] |
| bool zypp::ResStatus::setToBeInstalled | ( | TransactByValue | causer | ) | [inline] |
Definition at line 446 of file ResStatus.h.
References isInstalled(), and setTransact().
Referenced by zypp::solver::detail::TransactionSolutionAction::execute(), maySetToBeInstalled(), setToBeInstalledSoft(), zypp::solver::detail::solution_to_pool(), and zypp::solver::detail::ResolverContext::upgrade().
| bool zypp::ResStatus::maySetToBeInstalled | ( | TransactByValue | causer | ) | [inline] |
| bool zypp::ResStatus::setToBeUninstalled | ( | TransactByValue | causer | ) | [inline] |
Definition at line 460 of file ResStatus.h.
References isInstalled(), and setTransact().
Referenced by zypp::solver::detail::TransactionSolutionAction::execute(), maySetToBeUninstalled(), setToBeUninstalledDueToObsolete(), setToBeUninstalledDueToUnlink(), setToBeUninstalledDueToUpgrade(), setToBeUninstalledSoft(), and zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::maySetToBeUninstalled | ( | TransactByValue | causer | ) | [inline] |
| bool zypp::ResStatus::setToBeUninstalledDueToUnlink | ( | ) | [inline] |
Definition at line 477 of file ResStatus.h.
References DUE_TO_UNLINK, setToBeUninstalled(), and SOLVER.
| bool zypp::ResStatus::setToBeUninstalledDueToObsolete | ( | ) | [inline] |
Definition at line 484 of file ResStatus.h.
References DUE_TO_OBSOLETE, setToBeUninstalled(), and SOLVER.
| bool zypp::ResStatus::setToBeUninstalledDueToUpgrade | ( | TransactByValue | causer | ) | [inline] |
Definition at line 491 of file ResStatus.h.
References DUE_TO_UPGRADE, and setToBeUninstalled().
Referenced by zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::setToBeInstalledSoft | ( | ) | [inline] |
Definition at line 498 of file ResStatus.h.
References setToBeInstalled(), SOFT_INSTALL, and SOLVER.
| bool zypp::ResStatus::setToBeUninstalledSoft | ( | ) | [inline] |
Definition at line 505 of file ResStatus.h.
References setToBeUninstalled(), SOFT_REMOVE, and SOLVER.
| bool zypp::ResStatus::isSoftInstall | ( | ) | [inline] |
Definition at line 512 of file ResStatus.h.
References SOFT_INSTALL.
Referenced by zypp::solver::detail::ResolverQueue::addPoolItemToInstall().
| bool zypp::ResStatus::isSoftUninstall | ( | ) | [inline] |
Definition at line 516 of file ResStatus.h.
References SOFT_REMOVE.
Referenced by zypp::solver::detail::ResolverQueue::addPoolItemToRemove().
| bool zypp::ResStatus::setSoftInstall | ( | bool | flag | ) | [inline] |
Definition at line 520 of file ResStatus.h.
References SOFT_INSTALL.
Referenced by zypp::solver::detail::ResolverQueue::addPoolItemToInstall().
| bool zypp::ResStatus::setSoftUninstall | ( | bool | flag | ) | [inline] |
Definition at line 525 of file ResStatus.h.
References SOFT_REMOVE.
Referenced by zypp::solver::detail::ResolverQueue::addPoolItemToRemove().
| bool zypp::ResStatus::setUndetermined | ( | ) | [inline] |
Definition at line 530 of file ResStatus.h.
References UNDETERMINED.
Referenced by zypp::solver::detail::QueueItemEstablish::process().
| bool zypp::ResStatus::setUnneeded | ( | ) | [inline] |
Definition at line 536 of file ResStatus.h.
References UNNEEDED.
Referenced by zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::setSatisfied | ( | ) | [inline] |
Definition at line 542 of file ResStatus.h.
References SATISFIED.
Referenced by zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::setIncomplete | ( | ) | [inline] |
Definition at line 548 of file ResStatus.h.
References INCOMPLETE.
Referenced by zypp::solver::detail::solution_to_pool().
| bool zypp::ResStatus::isSeen | ( | ) | const [inline] |
| bool zypp::ResStatus::isImpossible | ( | ) | const [inline] |
Definition at line 557 of file ResStatus.h.
References IMPOSSIBLE.
Referenced by zypp::solver::detail::impossible_item_cb(), zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::ResolverContext::isAbsent(), zypp::solver::detail::RequirementPossible::operator()(), zypp::solver::detail::NoInstallableProviders::operator()(), zypp::solver::detail::RequireProcess::operator()(), zypp::solver::detail::ConflictProcess::operator()(), zypp::operator<<(), zypp::solver::detail::QueueItemInstall::process(), zypp::solver::detail::ResolverContext::uninstall(), and zypp::solver::detail::ResolverContext::upgrade().
| bool zypp::ResStatus::setSeen | ( | bool | value | ) | [inline] |
| bool zypp::ResStatus::setImpossible | ( | bool | value | ) | [inline] |
| bool zypp::ResStatus::setStatus | ( | ResStatus | newStatus_r | ) | [inline] |
Definition at line 572 of file ResStatus.h.
References _bitfield, getTransactByValue(), getTransactValue(), setTransactValue(), and zypp::bit::BitField< _IntT >::value().
| bool zypp::ResStatus::fieldValueIs | ( | FieldType | val_r | ) | const [inline, private] |
Return whether the corresponding Field has value val_r.
Definition at line 617 of file ResStatus.h.
References _bitfield, and zypp::bit::BitField< _IntT >::isEqual().
| void zypp::ResStatus::fieldValueAssign | ( | FieldType | val_r | ) | [inline, private] |
Set the corresponding Field to value val_r.
Definition at line 623 of file ResStatus.h.
References _bitfield, and zypp::bit::BitField< _IntT >::assign().
| bool zypp::ResStatus::isGreaterThan | ( | FieldType | val_r | ) | [inline, private] |
compare two values.
Definition at line 629 of file ResStatus.h.
References _bitfield, and zypp::bit::BitField< _IntT >::value().
| bool zypp::ResStatus::isLessThan | ( | FieldType | val_r | ) | [inline, private] |
Definition at line 633 of file ResStatus.h.
References _bitfield, and zypp::bit::BitField< _IntT >::value().
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const ResStatus & | obj | |||
| ) | [friend] |
Definition at line 645 of file ResStatus.h.
Definition at line 649 of file ResStatus.h.
const ResStatus zypp::ResStatus::toBeInstalled [static] |
Definition at line 588 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::install(), and zypp::solver::detail::QueueItemInstall::process().
const ResStatus zypp::ResStatus::toBeInstalledSoft [static] |
Definition at line 589 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::QueueItemInstall::process(), and zypp::solver::detail::ResolverContext::upgrade().
const ResStatus zypp::ResStatus::toBeUninstalled [static] |
Definition at line 590 of file ResStatus.h.
Referenced by zypp::solver::detail::QueueItemUninstall::process(), and zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::toBeUninstalledSoft [static] |
Definition at line 591 of file ResStatus.h.
const ResStatus zypp::ResStatus::toBeUninstalledDueToUnlink [static] |
Definition at line 592 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::toBeUninstalledDueToObsolete [static] |
Definition at line 593 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::toBeUninstalledDueToUpgrade [static] |
Definition at line 594 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::installed [static] |
Definition at line 595 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::getStatus().
const ResStatus zypp::ResStatus::uninstalled [static] |
Definition at line 596 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::getStatus(), and zypp::solver::detail::ResolverContext::upgrade().
const ResStatus zypp::ResStatus::satisfied [static] |
Definition at line 597 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::satisfy(), and zypp::solver::detail::ResolverContext::unneeded().
const ResStatus zypp::ResStatus::complete [static] |
Definition at line 598 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::satisfy().
const ResStatus zypp::ResStatus::unneeded [static] |
Definition at line 599 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::unneeded().
const ResStatus zypp::ResStatus::needed [static] |
Definition at line 600 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::incomplete().
const ResStatus zypp::ResStatus::incomplete [static] |
Definition at line 601 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::incomplete().
const ResStatus zypp::ResStatus::impossible [static] |
Definition at line 602 of file ResStatus.h.
Referenced by zypp::solver::detail::ConflictProcess::operator()(), and zypp::solver::detail::ResolverContext::uninstall().
BitFieldType zypp::ResStatus::_bitfield [private] |
Definition at line 637 of file ResStatus.h.
Referenced by bitfield(), fieldValueAssign(), fieldValueIs(), getTransactByValue(), getTransactValue(), isGreaterThan(), isLessThan(), maySetLock(), maySetSoftTransact(), maySetToBeInstalled(), maySetToBeUninstalled(), maySetTransact(), maySetTransactValue(), and setStatus().
const ResStatus zypp::ResStatus::toBeInstalled [static] |
Definition at line 588 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::install(), and zypp::solver::detail::QueueItemInstall::process().
const ResStatus zypp::ResStatus::toBeInstalledSoft [static] |
Definition at line 589 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::install(), zypp::solver::detail::QueueItemInstall::process(), and zypp::solver::detail::ResolverContext::upgrade().
const ResStatus zypp::ResStatus::toBeUninstalled [static] |
Definition at line 590 of file ResStatus.h.
Referenced by zypp::solver::detail::QueueItemUninstall::process(), and zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::toBeUninstalledSoft [static] |
Definition at line 591 of file ResStatus.h.
const ResStatus zypp::ResStatus::toBeUninstalledDueToUnlink [static] |
Definition at line 592 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::toBeUninstalledDueToObsolete [static] |
Definition at line 593 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::toBeUninstalledDueToUpgrade [static] |
Definition at line 594 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::uninstall().
const ResStatus zypp::ResStatus::installed [static] |
Definition at line 595 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::getStatus().
const ResStatus zypp::ResStatus::uninstalled [static] |
Definition at line 596 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::getStatus(), and zypp::solver::detail::ResolverContext::upgrade().
const ResStatus zypp::ResStatus::satisfied [static] |
Definition at line 597 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::satisfy(), and zypp::solver::detail::ResolverContext::unneeded().
const ResStatus zypp::ResStatus::complete [static] |
Definition at line 598 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::satisfy().
const ResStatus zypp::ResStatus::unneeded [static] |
Definition at line 599 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::unneeded().
const ResStatus zypp::ResStatus::needed [static] |
Definition at line 600 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::incomplete().
const ResStatus zypp::ResStatus::incomplete [static] |
Definition at line 601 of file ResStatus.h.
Referenced by zypp::solver::detail::ResolverContext::incomplete().
const ResStatus zypp::ResStatus::impossible [static] |
Definition at line 602 of file ResStatus.h.
Referenced by zypp::solver::detail::ConflictProcess::operator()(), and zypp::solver::detail::ResolverContext::uninstall().
1.5.0