#include <ResPool.h>
Iterate through all ResObjects of a certain kind. | |
typedef resfilter::ByKind | ByKind |
typedef filter_iterator< ByKind, const_iterator > | byKind_iterator |
byKind_iterator | byKindBegin (const ResObject::Kind &kind_r) const |
template<class _Res> | |
byKind_iterator | byKindBegin () const |
byKind_iterator | byKindEnd (const ResObject::Kind &kind_r) const |
template<class _Res> | |
byKind_iterator | byKindEnd () const |
Public Types | |
typedef pool::PoolTraits::Item | Item |
zypp::pool::PoolItem | |
typedef pool::PoolTraits::size_type | size_type |
typedef pool::PoolTraits::const_iterator | const_iterator |
typedef pool::PoolTraits::byName_iterator | byName_iterator |
typedef pool::PoolTraits::byCapabilityIndex_iterator | byCapabilityIndex_iterator |
Public Member Functions | |
ResPool () | |
Default ctor: empty pool. | |
~ResPool () | |
Dtor. | |
bool | empty () const |
size_type | size () const |
Iterate through all ResObjects (all kinds). | |
const_iterator | begin () const |
const_iterator | end () const |
Iterate through all ResObjects with a certain name (all kinds). | |
byName_iterator | byNameBegin (const std::string &name_r) const |
byName_iterator | byNameEnd (const std::string &name_r) const |
Iterate through all ResObjects which have at least | |
one Capability with index index_r in dependency depType_r. | |
byCapabilityIndex_iterator | byCapabilityIndexBegin (const std::string &index_r, Dep depType_r) const |
byCapabilityIndex_iterator | byCapabilityIndexEnd (const std::string &index_r, Dep depType_r) const |
Private Member Functions | |
ResPool (pool::PoolTraits::Impl_constPtr impl_r) | |
Ctor. | |
Private Attributes | |
pool::PoolTraits::Impl_constPtr | _pimpl |
Const access to implementation. | |
Friends | |
class | ResPoolManager |
std::ostream & | operator<< (std::ostream &str, const ResPool &obj) |
Definition at line 37 of file ResPool.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Default ctor: empty pool.
Definition at line 39 of file ResPool.cc. |
|
Dtor.
Definition at line 57 of file ResPool.cc. |
|
Ctor.
Definition at line 48 of file ResPool.cc. |
|
Definition at line 66 of file ResPool.cc. References _pimpl. |
|
Definition at line 69 of file ResPool.cc. References _pimpl. |
|
Definition at line 72 of file ResPool.cc. References _pimpl. Referenced by zypp::PoolItemSaver::diffState(), zypp::pool::GetResolvablesToInsDel::GetResolvablesToInsDel(), zypp::PoolItemSaver::restoreState(), zypp::PoolItemSaver::saveState(), and zypp::solver::detail::show_pool(). |
|
Definition at line 75 of file ResPool.cc. References _pimpl. Referenced by zypp::PoolItemSaver::diffState(), zypp::pool::GetResolvablesToInsDel::GetResolvablesToInsDel(), zypp::zypp_detail::ZYppImpl::removeInstalledResolvables(), zypp::PoolItemSaver::restoreState(), zypp::PoolItemSaver::saveState(), and zypp::solver::detail::show_pool(). |
|
Definition at line 77 of file ResPool.h. References zypp::make_filter_begin(). Referenced by zypp::solver::detail::assertSystemResObjectInPool(), zypp::PoolItemSaver::diffState(), zypp::zypp_detail::ZYppImpl::getAvailableLocales(), zypp::zypp_detail::ZYppImpl::getRequestedLocales(), zypp::PoolItemSaver::restoreState(), and zypp::PoolItemSaver::saveState(). |
|
Definition at line 81 of file ResPool.h. References zypp::make_filter_begin(). |
|
Definition at line 85 of file ResPool.h. References zypp::make_filter_end(). Referenced by zypp::solver::detail::assertSystemResObjectInPool(), zypp::PoolItemSaver::diffState(), zypp::zypp_detail::ZYppImpl::getAvailableLocales(), zypp::zypp_detail::ZYppImpl::getRequestedLocales(), zypp::PoolItemSaver::restoreState(), and zypp::PoolItemSaver::saveState(). |
|
Definition at line 89 of file ResPool.h. References zypp::make_filter_end(). |
|
Definition at line 78 of file ResPool.cc. References _pimpl. Referenced by zypp::solver::detail::Helper::findReinstallItem(), zypp::solver::detail::Helper::findUpdateItem(), zypp::ui::PatchContents::Impl::Impl(), and zypp::NameKindProxy::NameKindProxy(). |
|
Definition at line 81 of file ResPool.cc. References _pimpl. Referenced by zypp::solver::detail::Helper::findReinstallItem(), zypp::solver::detail::Helper::findUpdateItem(), zypp::ui::PatchContents::Impl::Impl(), and zypp::NameKindProxy::NameKindProxy(). |
|
Definition at line 84 of file ResPool.cc. References _pimpl. Referenced by zypp::solver::detail::hint_match(), and zypp::solver::detail::transactCaps(). |
|
Definition at line 87 of file ResPool.cc. References _pimpl. Referenced by zypp::solver::detail::hint_match(), zypp::solver::detail::QueueItemUninstall::process(), zypp::solver::detail::ResolverContext::requirementIsMet(), zypp::solver::detail::ResolverContext::requirementIsPossible(), and zypp::solver::detail::transactCaps(). |
|
|
|
Stream output Definition at line 95 of file ResPool.cc. |
|
Const access to implementation.
Definition at line 118 of file ResPool.h. Referenced by begin(), byCapabilityIndexBegin(), byCapabilityIndexEnd(), byNameBegin(), byNameEnd(), empty(), end(), zypp::operator<<(), and size(). |