libzypp
10.5.0
|
Public Types | |
typedef Selectable::Impl::available_const_iterator | available_const_iterator |
Public Member Functions | |
StatusHelper (const Selectable::Impl &impl, ResStatus::TransactByValue causer_r) | |
bool | hasInstalled () const |
bool | hasCandidate () const |
bool | hasInstalledOnly () const |
bool | hasCandidateOnly () const |
bool | hasBoth () const |
Topevel methods must restore status on failure. | |
bool | setInstall () |
bool | setDelete () |
bool | unset () |
bool | setProtected () |
bool | setTaboo () |
Private Member Functions | |
bool | restore () |
Helper methods backup status but do not replay. | |
bool | resetTransactingCandidates () |
bool | unlockCandidates () |
bool | lockCandidates () |
Private Attributes | |
const Selectable::Impl & | _impl |
PoolItem | inst |
PoolItem | cand |
ResStatus::TransactByValue | causer |
StatusBackup | backup |
Definition at line 128 of file SelectableImpl.cc.
Definition at line 137 of file SelectableImpl.cc.
zypp::ui::StatusHelper::StatusHelper | ( | const Selectable::Impl & | impl, |
ResStatus::TransactByValue | causer_r | ||
) | [inline] |
Definition at line 130 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::hasInstalled | ( | ) | const [inline] |
Definition at line 142 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::hasCandidate | ( | ) | const [inline] |
Definition at line 145 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::hasInstalledOnly | ( | ) | const [inline] |
Definition at line 148 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::hasCandidateOnly | ( | ) | const [inline] |
Definition at line 151 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::hasBoth | ( | ) | const [inline] |
Definition at line 154 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::setInstall | ( | ) | [inline] |
Definition at line 159 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::setDelete | ( | ) | [inline] |
Definition at line 187 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::unset | ( | ) | [inline] |
Definition at line 203 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::setProtected | ( | ) | [inline] |
Definition at line 218 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::setTaboo | ( | ) | [inline] |
Definition at line 235 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::resetTransactingCandidates | ( | ) | [inline, private] |
Definition at line 251 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::unlockCandidates | ( | ) | [inline, private] |
Definition at line 260 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::lockCandidates | ( | ) | [inline, private] |
Definition at line 270 of file SelectableImpl.cc.
bool zypp::ui::StatusHelper::restore | ( | ) | [inline, private] |
Definition at line 289 of file SelectableImpl.cc.
const Selectable::Impl& zypp::ui::StatusHelper::_impl [private] |
Definition at line 283 of file SelectableImpl.cc.
PoolItem zypp::ui::StatusHelper::inst [private] |
Definition at line 284 of file SelectableImpl.cc.
PoolItem zypp::ui::StatusHelper::cand [private] |
Definition at line 285 of file SelectableImpl.cc.
Definition at line 286 of file SelectableImpl.cc.
StatusBackup zypp::ui::StatusHelper::backup [private] |
Definition at line 290 of file SelectableImpl.cc.