Public Types | |
| typedef Selectable::Impl::availableItem_const_iterator | availableItem_const_iterator |
Public Member Functions | |
| StatusHelper (const Selectable::Impl &impl) | |
| bool | hasInstalled () const |
| bool | hasCandidate () const |
| bool | hasInstalledOnly () const |
| bool | hasCandidateOnly () const |
| bool | hasBoth () const |
| void | resetTransactingCandidates () const |
| void | unlockCandidates () const |
| void | lockCandidates () const |
| bool | setInstall () const |
| bool | setDelete () const |
| bool | unset () const |
| bool | setProtected () const |
| bool | setTaboo () const |
Public Attributes | |
| const Selectable::Impl & | _impl |
| PoolItem | inst |
| PoolItem | cand |
Definition at line 32 of file SelectableImpl.cc.
| typedef Selectable::Impl::availableItem_const_iterator zypp::ui::StatusHelper::availableItem_const_iterator |
Definition at line 40 of file SelectableImpl.cc.
| zypp::ui::StatusHelper::StatusHelper | ( | const Selectable::Impl & | impl | ) | [inline] |
Definition at line 34 of file SelectableImpl.cc.
| bool zypp::ui::StatusHelper::hasInstalled | ( | ) | const [inline] |
| bool zypp::ui::StatusHelper::hasCandidate | ( | ) | const [inline] |
| bool zypp::ui::StatusHelper::hasInstalledOnly | ( | ) | const [inline] |
| bool zypp::ui::StatusHelper::hasCandidateOnly | ( | ) | const [inline] |
| bool zypp::ui::StatusHelper::hasBoth | ( | ) | const [inline] |
| void zypp::ui::StatusHelper::resetTransactingCandidates | ( | ) | const [inline] |
Definition at line 63 of file SelectableImpl.cc.
References _impl, zypp::ui::Selectable::Impl::availableBegin(), zypp::ui::Selectable::Impl::availableEnd(), and zypp::ResStatus::USER.
Referenced by setDelete(), and setProtected().
| void zypp::ui::StatusHelper::unlockCandidates | ( | ) | const [inline] |
Definition at line 71 of file SelectableImpl.cc.
References _impl, zypp::ui::Selectable::Impl::availableBegin(), zypp::ui::Selectable::Impl::availableEnd(), and zypp::ResStatus::USER.
Referenced by setInstall(), and unset().
| void zypp::ui::StatusHelper::lockCandidates | ( | ) | const [inline] |
Definition at line 80 of file SelectableImpl.cc.
References _impl, zypp::ui::Selectable::Impl::availableBegin(), zypp::ui::Selectable::Impl::availableEnd(), and zypp::ResStatus::USER.
Referenced by setTaboo().
| bool zypp::ui::StatusHelper::setInstall | ( | ) | const [inline] |
Definition at line 90 of file SelectableImpl.cc.
References cand, inst, zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::ResStatus::SOLVER, zypp::PoolItem_Ref::status(), unlockCandidates(), and zypp::ResStatus::USER.
| bool zypp::ui::StatusHelper::setDelete | ( | ) | const [inline] |
Definition at line 112 of file SelectableImpl.cc.
References inst, resetTransactingCandidates(), zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), and zypp::ResStatus::USER.
| bool zypp::ui::StatusHelper::unset | ( | ) | const [inline] |
Definition at line 123 of file SelectableImpl.cc.
References inst, zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), unlockCandidates(), and zypp::ResStatus::USER.
| bool zypp::ui::StatusHelper::setProtected | ( | ) | const [inline] |
Definition at line 133 of file SelectableImpl.cc.
References inst, resetTransactingCandidates(), zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), and zypp::ResStatus::USER.
| bool zypp::ui::StatusHelper::setTaboo | ( | ) | const [inline] |
Definition at line 154 of file SelectableImpl.cc.
Referenced by lockCandidates(), resetTransactingCandidates(), and unlockCandidates().
Definition at line 155 of file SelectableImpl.cc.
Referenced by hasBoth(), hasCandidateOnly(), hasInstalled(), hasInstalledOnly(), setDelete(), setInstall(), setProtected(), and unset().
Definition at line 156 of file SelectableImpl.cc.
Referenced by hasBoth(), hasCandidate(), hasCandidateOnly(), hasInstalledOnly(), setInstall(), and setTaboo().
1.5.3