#include <SelectableImpl.h>
Definition at line 37 of file SelectableImpl.h.
Definition at line 43 of file SelectableImpl.h.
Definition at line 44 of file SelectableImpl.h.
| typedef SelectableTraits::availableItem_const_iterator zypp::ui::Selectable::Impl::availableItem_const_iterator |
Definition at line 45 of file SelectableImpl.h.
| typedef SelectableTraits::availableItem_size_type zypp::ui::Selectable::Impl::availableItem_size_type |
Definition at line 46 of file SelectableImpl.h.
| zypp::ui::Selectable::Impl::Impl | ( | const ResObject::Kind & | kind_r, | |
| const std::string & | name_r, | |||
| const PoolItem & | installedItem_r, | |||
| availableItem_const_iterator | availableBegin_r, | |||
| availableItem_const_iterator | availableEnd_r | |||
| ) | [inline] |
| ResObject::Kind zypp::ui::Selectable::Impl::kind | ( | ) | const [inline] |
| const std::string& zypp::ui::Selectable::Impl::name | ( | ) | const [inline] |
| Status zypp::ui::Selectable::Impl::status | ( | void | ) | const |
Definition at line 166 of file SelectableImpl.cc.
References allCandidatesLocked(), candidateObj(), installedObj(), zypp::ResStatus::isByUser(), zypp::ResStatus::isLocked(), zypp::ui::S_AutoDel, zypp::ui::S_AutoInstall, zypp::ui::S_AutoUpdate, zypp::ui::S_Del, zypp::ui::S_Install, zypp::ui::S_KeepInstalled, zypp::ui::S_NoInst, zypp::ui::S_Protected, zypp::ui::S_Taboo, zypp::ui::S_Update, zypp::PoolItem_Ref::status(), and zypp::ResStatus::transacts().
Referenced by modifiedBy().
| bool zypp::ui::Selectable::Impl::set_status | ( | const Status | state_r | ) |
Definition at line 191 of file SelectableImpl.cc.
References zypp::ui::S_AutoDel, zypp::ui::S_AutoInstall, zypp::ui::S_AutoUpdate, zypp::ui::S_Del, zypp::ui::S_Install, zypp::ui::S_KeepInstalled, zypp::ui::S_NoInst, zypp::ui::S_Protected, zypp::ui::S_Taboo, and zypp::ui::S_Update.
| PoolItem zypp::ui::Selectable::Impl::installedObj | ( | ) | const [inline] |
Installed object.
Definition at line 78 of file SelectableImpl.h.
References _installedItem.
Referenced by defaultCandidate(), modifiedBy(), and status().
| PoolItem zypp::ui::Selectable::Impl::candidateObj | ( | ) | const [inline] |
Best among available objects.
The transacting candidate or the one scheduled to receive the transact bit.
Definition at line 85 of file SelectableImpl.h.
References _candidate, defaultCandidate(), and transactingCandidate().
Referenced by hasLicenceConfirmed(), modifiedBy(), setLicenceConfirmed(), status(), and theObj().
| PoolItem zypp::ui::Selectable::Impl::setCandidate | ( | ResObject::constPtr | byUser_r | ) |
Set a userCandidate (out of available objects).
Definition at line 232 of file SelectableImpl.cc.
References _candidate, availableBegin(), availableEnd(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), transactingCandidate(), and zypp::ResStatus::USER.
Referenced by Impl().
| PoolItem zypp::ui::Selectable::Impl::theObj | ( | ) | const [inline] |
Best among all objects.
Definition at line 103 of file SelectableImpl.h.
References _installedItem, and candidateObj().
| availableItem_size_type zypp::ui::Selectable::Impl::availableObjs | ( | ) | const [inline] |
| availableItem_const_iterator zypp::ui::Selectable::Impl::availableBegin | ( | ) | const [inline] |
Definition at line 114 of file SelectableImpl.h.
References _availableItems.
Referenced by allCandidatesLocked(), defaultCandidate(), zypp::ui::StatusHelper::lockCandidates(), zypp::ui::StatusHelper::resetTransactingCandidates(), setCandidate(), transactingCandidate(), and zypp::ui::StatusHelper::unlockCandidates().
| availableItem_const_iterator zypp::ui::Selectable::Impl::availableEnd | ( | ) | const [inline] |
Definition at line 118 of file SelectableImpl.h.
References _availableItems.
Referenced by allCandidatesLocked(), defaultCandidate(), zypp::ui::StatusHelper::lockCandidates(), zypp::ui::StatusHelper::resetTransactingCandidates(), setCandidate(), transactingCandidate(), and zypp::ui::StatusHelper::unlockCandidates().
| ResStatus::TransactByValue zypp::ui::Selectable::Impl::modifiedBy | ( | ) | const |
Return who caused the modification.
Definition at line 263 of file SelectableImpl.cc.
References candidateObj(), zypp::ResStatus::getTransactByValue(), installedObj(), zypp::ResStatus::SOLVER, status(), zypp::PoolItem_Ref::status(), and zypp::ResStatus::transacts().
| bool zypp::ui::Selectable::Impl::hasLicenceConfirmed | ( | ) | const [inline] |
Return value of LicenceConfirmed bit.
Definition at line 125 of file SelectableImpl.h.
References candidateObj(), zypp::ResStatus::isLicenceConfirmed(), and zypp::PoolItem_Ref::status().
| void zypp::ui::Selectable::Impl::setLicenceConfirmed | ( | bool | val_r | ) | [inline] |
Set LicenceConfirmed bit.
Definition at line 129 of file SelectableImpl.h.
References candidateObj(), zypp::ResStatus::setLicenceConfirmed(), and zypp::PoolItem_Ref::status().
| PoolItem zypp::ui::Selectable::Impl::transactingCandidate | ( | ) | const [inline, private] |
Definition at line 133 of file SelectableImpl.h.
References availableBegin(), and availableEnd().
Referenced by candidateObj(), and setCandidate().
| PoolItem zypp::ui::Selectable::Impl::defaultCandidate | ( | ) | const [inline, private] |
Definition at line 144 of file SelectableImpl.h.
References _availableItems, availableBegin(), availableEnd(), and installedObj().
Referenced by candidateObj().
| bool zypp::ui::Selectable::Impl::allCandidatesLocked | ( | ) | const [inline, private] |
Definition at line 165 of file SelectableImpl.h.
References _availableItems, availableBegin(), and availableEnd().
Referenced by status().
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const Selectable::Impl & | obj | |||
| ) | [friend] |
std::string zypp::ui::Selectable::Impl::_name [private] |
Definition at line 180 of file SelectableImpl.h.
Referenced by allCandidatesLocked(), availableBegin(), availableEnd(), availableObjs(), and defaultCandidate().
1.5.3