#include <ResPoolProxy.h>
Public Types | |
| typedef SelectableIndex::iterator | iterator |
| typedef SelectableIndex::const_iterator | const_iterator |
| typedef SelectableIndex::size_type | size_type |
| typedef ResPool::repository_iterator | repository_iterator |
Public Member Functions | |
| ResPoolProxy () | |
| Default ctor: no pool. | |
| ResPoolProxy (ResPool_Ref pool_r) | |
| Ctor. | |
| ~ResPoolProxy () | |
| Dtor. | |
| bool | empty (const ResObject::Kind &kind_r) const |
| True if there are items of a certain kind. | |
| template<class _Res> | |
| bool | empty () const |
| size_type | size (const ResObject::Kind &kind_r) const |
| Number of Items of a certain kind. | |
| template<class _Res> | |
| size_type | size () const |
| bool | hasInstalledObj (const ResObject::Kind &kind_r) const |
| Test whether there is at least one ui::Selectable with an installed object. | |
| template<class _Res> | |
| bool | hasInstalledObj () const |
Iterate through all Selectables of a certain kind. | |
| const_iterator | byKindBegin (const ResObject::Kind &kind_r) const |
| template<class _Res> | |
| const_iterator | byKindBegin () const |
| const_iterator | byKindEnd (const ResObject::Kind &kind_r) const |
| template<class _Res> | |
| const_iterator | byKindEnd () const |
Iterate through all Repositories that contribute ResObjects. | |
| size_type | knownRepositoriesSize () const |
| repository_iterator | knownRepositoriesBegin () const |
| repository_iterator | knownRepositoriesEnd () const |
Save and restore state per kind of resolvable. | |
Simple version, no savety net. So don't restore or diff, if you didn't save before.
Diff returns true, if current stat differs from the saved state. | |
| void | saveState () const |
| void | saveState (const ResObject::Kind &kind_r) const |
| template<class _Res> | |
| void | saveState () const |
| void | restoreState () const |
| void | restoreState (const ResObject::Kind &kind_r) const |
| template<class _Res> | |
| void | restoreState () const |
| bool | diffState () const |
| bool | diffState (const ResObject::Kind &kind_r) const |
| template<class _Res> | |
| bool | diffState () const |
Private Types | |
| typedef std::set < ui::Selectable::Ptr > | SelectableIndex |
| typedef std::map < ResObject::Kind, SelectableIndex > | SelectablePool |
Private Member Functions | |
| template<class _Filter> | |
| filter_iterator < _Filter, const_iterator > | make_begin (_Filter filter_r, const ResObject::Kind &kind_r) const |
| template<class _Filter> | |
| filter_iterator < _Filter, const_iterator > | make_begin (const ResObject::Kind &kind_r) const |
| template<class _Filter> | |
| filter_iterator < _Filter, const_iterator > | make_end (_Filter filter_r, const ResObject::Kind &kind_r) const |
| template<class _Filter> | |
| filter_iterator < _Filter, const_iterator > | make_end (const ResObject::Kind &kind_r) const |
Private Attributes | |
| RW_pointer< Impl > | _pimpl |
| Pointer to implementation. | |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const ResPoolProxy &obj) |
| Stream output. | |
Classes | |
| struct | Impl |
| ResPoolProxy implementation. More... | |
Definition at line 34 of file ResPoolProxy.h.
typedef std::set<ui::Selectable::Ptr> zypp::ResPoolProxy::SelectableIndex [private] |
Definition at line 38 of file ResPoolProxy.h.
typedef std::map<ResObject::Kind,SelectableIndex> zypp::ResPoolProxy::SelectablePool [private] |
Definition at line 39 of file ResPoolProxy.h.
| typedef SelectableIndex::iterator zypp::ResPoolProxy::iterator |
Definition at line 43 of file ResPoolProxy.h.
| typedef SelectableIndex::const_iterator zypp::ResPoolProxy::const_iterator |
Definition at line 46 of file ResPoolProxy.h.
| typedef SelectableIndex::size_type zypp::ResPoolProxy::size_type |
Definition at line 47 of file ResPoolProxy.h.
Definition at line 49 of file ResPoolProxy.h.
| zypp::ResPoolProxy::ResPoolProxy | ( | ) |
| zypp::ResPoolProxy::ResPoolProxy | ( | ResPool_Ref | pool_r | ) |
| zypp::ResPoolProxy::~ResPoolProxy | ( | ) |
| bool zypp::ResPoolProxy::empty | ( | const ResObject::Kind & | kind_r | ) | const |
True if there are items of a certain kind.
Definition at line 267 of file ResPoolProxy.cc.
References _pimpl.
| bool zypp::ResPoolProxy::empty | ( | ) | const [inline] |
Definition at line 65 of file ResPoolProxy.h.
| ResPoolProxy::size_type zypp::ResPoolProxy::size | ( | const ResObject::Kind & | kind_r | ) | const |
Number of Items of a certain kind.
Definition at line 270 of file ResPoolProxy.cc.
References _pimpl.
| size_type zypp::ResPoolProxy::size | ( | ) | const [inline] |
Definition at line 72 of file ResPoolProxy.h.
| ResPoolProxy::const_iterator zypp::ResPoolProxy::byKindBegin | ( | const ResObject::Kind & | kind_r | ) | const |
Definition at line 273 of file ResPoolProxy.cc.
References _pimpl.
Referenced by zypp::ui::poolProxyBegin().
| const_iterator zypp::ResPoolProxy::byKindBegin | ( | ) | const [inline] |
| ResPoolProxy::const_iterator zypp::ResPoolProxy::byKindEnd | ( | const ResObject::Kind & | kind_r | ) | const |
Definition at line 276 of file ResPoolProxy.cc.
References _pimpl.
Referenced by zypp::ui::poolProxyEnd().
| const_iterator zypp::ResPoolProxy::byKindEnd | ( | ) | const [inline] |
| ResPoolProxy::size_type zypp::ResPoolProxy::knownRepositoriesSize | ( | ) | const |
| ResPoolProxy::repository_iterator zypp::ResPoolProxy::knownRepositoriesBegin | ( | ) | const |
| ResPoolProxy::repository_iterator zypp::ResPoolProxy::knownRepositoriesEnd | ( | ) | const |
| bool zypp::ResPoolProxy::hasInstalledObj | ( | const ResObject::Kind & | kind_r | ) | const [inline] |
Test whether there is at least one ui::Selectable with an installed object.
Definition at line 106 of file ResPoolProxy.h.
| bool zypp::ResPoolProxy::hasInstalledObj | ( | ) | const [inline] |
Definition at line 113 of file ResPoolProxy.h.
| void zypp::ResPoolProxy::saveState | ( | ) | const |
| void zypp::ResPoolProxy::saveState | ( | const ResObject::Kind & | kind_r | ) | const |
| void zypp::ResPoolProxy::saveState | ( | ) | const [inline] |
| void zypp::ResPoolProxy::restoreState | ( | ) | const |
| void zypp::ResPoolProxy::restoreState | ( | const ResObject::Kind & | kind_r | ) | const |
| void zypp::ResPoolProxy::restoreState | ( | ) | const [inline] |
| bool zypp::ResPoolProxy::diffState | ( | ) | const |
| bool zypp::ResPoolProxy::diffState | ( | const ResObject::Kind & | kind_r | ) | const |
| bool zypp::ResPoolProxy::diffState | ( | ) | const [inline] |
| filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_begin | ( | _Filter | filter_r, | |
| const ResObject::Kind & | kind_r | |||
| ) | const [inline, private] |
Definition at line 153 of file ResPoolProxy.h.
References byKindBegin(), and byKindEnd().
Referenced by make_begin().
| filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_begin | ( | const ResObject::Kind & | kind_r | ) | const [inline, private] |
| filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_end | ( | _Filter | filter_r, | |
| const ResObject::Kind & | kind_r | |||
| ) | const [inline, private] |
| filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_end | ( | const ResObject::Kind & | kind_r | ) | const [inline, private] |
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const ResPoolProxy & | obj | |||
| ) | [friend] |
RW_pointer<Impl> zypp::ResPoolProxy::_pimpl [private] |
Pointer to implementation.
Definition at line 184 of file ResPoolProxy.h.
Referenced by byKindBegin(), byKindEnd(), diffState(), empty(), knownRepositoriesBegin(), knownRepositoriesEnd(), knownRepositoriesSize(), zypp::operator<<(), restoreState(), saveState(), and size().
1.5.3