Public Types | |
typedef std::tr1::unordered_map < sat::detail::IdType, ui::Selectable::Ptr > | SelectableIndex |
typedef ResPoolProxy::const_iterator | const_iterator |
Public Member Functions | |
Impl () | |
Impl (ResPool pool_r, const pool::PoolImpl &poolImpl_r) | |
ui::Selectable::Ptr | lookup (const pool::ByIdent &ident_r) const |
bool | empty () const |
size_type | size () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty (const ResKind &kind_r) const |
size_type | size (const ResKind &kind_r) const |
const_iterator | byKindBegin (const ResKind &kind_r) const |
const_iterator | byKindEnd (const ResKind &kind_r) const |
size_type | knownRepositoriesSize () const |
repository_iterator | knownRepositoriesBegin () const |
repository_iterator | knownRepositoriesEnd () const |
void | saveState () const |
void | saveState (const ResKind &kind_r) const |
void | restoreState () const |
void | restoreState (const ResKind &kind_r) const |
bool | diffState () const |
bool | diffState (const ResKind &kind_r) const |
Static Public Member Functions | |
static shared_ptr< Impl > | nullimpl () |
Offer default Impl. | |
Private Attributes | |
ResPool | _pool |
SelectablePool | _selPool |
SelectableIndex | _selIndex |
Friends | |
std::ostream & | operator<< (std::ostream &str, const Impl &obj) |
std::ostream & | dumpOn (std::ostream &str, const Impl &obj) |
Definition at line 91 of file ResPoolProxy.cc.
typedef std::tr1::unordered_map<sat::detail::IdType,ui::Selectable::Ptr> zypp::ResPoolProxy::Impl::SelectableIndex |
Definition at line 96 of file ResPoolProxy.cc.
Definition at line 97 of file ResPoolProxy.cc.
zypp::ResPoolProxy::Impl::Impl | ( | ) | [inline] |
Definition at line 100 of file ResPoolProxy.cc.
zypp::ResPoolProxy::Impl::Impl | ( | ResPool | pool_r, | |
const pool::PoolImpl & | poolImpl_r | |||
) | [inline] |
Definition at line 104 of file ResPoolProxy.cc.
References _selIndex, _selPool, for_, zypp::pool::PoolImpl::id2item(), and zypp::makeSelectablePtr().
ui::Selectable::Ptr zypp::ResPoolProxy::Impl::lookup | ( | const pool::ByIdent & | ident_r | ) | const [inline] |
Definition at line 133 of file ResPoolProxy.cc.
References _selIndex, and zypp::pool::ByIdent::get().
bool zypp::ResPoolProxy::Impl::empty | ( | ) | const [inline] |
size_type zypp::ResPoolProxy::Impl::size | ( | ) | const [inline] |
const_iterator zypp::ResPoolProxy::Impl::begin | ( | ) | const [inline] |
Definition at line 148 of file ResPoolProxy.cc.
References _selPool, and zypp::make_map_value_begin().
const_iterator zypp::ResPoolProxy::Impl::end | ( | ) | const [inline] |
Definition at line 151 of file ResPoolProxy.cc.
References _selPool, and zypp::make_map_value_end().
bool zypp::ResPoolProxy::Impl::empty | ( | const ResKind & | kind_r | ) | const [inline] |
const_iterator zypp::ResPoolProxy::Impl::byKindBegin | ( | const ResKind & | kind_r | ) | const [inline] |
Definition at line 161 of file ResPoolProxy.cc.
References _selPool, and zypp::make_map_value_lower_bound().
const_iterator zypp::ResPoolProxy::Impl::byKindEnd | ( | const ResKind & | kind_r | ) | const [inline] |
Definition at line 164 of file ResPoolProxy.cc.
References _selPool, and zypp::make_map_value_upper_bound().
size_type zypp::ResPoolProxy::Impl::knownRepositoriesSize | ( | ) | const [inline] |
Definition at line 168 of file ResPoolProxy.cc.
References _pool, and zypp::ResPool::knownRepositoriesSize().
repository_iterator zypp::ResPoolProxy::Impl::knownRepositoriesBegin | ( | ) | const [inline] |
Definition at line 171 of file ResPoolProxy.cc.
References _pool, and zypp::ResPool::knownRepositoriesBegin().
repository_iterator zypp::ResPoolProxy::Impl::knownRepositoriesEnd | ( | ) | const [inline] |
Definition at line 174 of file ResPoolProxy.cc.
References _pool, and zypp::ResPool::knownRepositoriesEnd().
void zypp::ResPoolProxy::Impl::saveState | ( | ) | const [inline] |
void zypp::ResPoolProxy::Impl::saveState | ( | const ResKind & | kind_r | ) | const [inline] |
void zypp::ResPoolProxy::Impl::restoreState | ( | ) | const [inline] |
void zypp::ResPoolProxy::Impl::restoreState | ( | const ResKind & | kind_r | ) | const [inline] |
bool zypp::ResPoolProxy::Impl::diffState | ( | ) | const [inline] |
bool zypp::ResPoolProxy::Impl::diffState | ( | const ResKind & | kind_r | ) | const [inline] |
static shared_ptr<Impl> zypp::ResPoolProxy::Impl::nullimpl | ( | ) | [inline, static] |
std::ostream & operator<< | ( | std::ostream & | str, | |
const Impl & | obj | |||
) | [friend] |
Stream output
Definition at line 213 of file ResPoolProxy.cc.
std::ostream & dumpOn | ( | std::ostream & | str, | |
const Impl & | obj | |||
) | [friend] |
Verbose stream output
Definition at line 229 of file ResPoolProxy.cc.
ResPool zypp::ResPoolProxy::Impl::_pool [private] |
Definition at line 198 of file ResPoolProxy.cc.
Referenced by diffState(), knownRepositoriesBegin(), knownRepositoriesEnd(), knownRepositoriesSize(), restoreState(), and saveState().
SelectablePool zypp::ResPoolProxy::Impl::_selPool [mutable, private] |
Definition at line 199 of file ResPoolProxy.cc.
Referenced by begin(), byKindBegin(), byKindEnd(), empty(), end(), Impl(), and size().
SelectableIndex zypp::ResPoolProxy::Impl::_selIndex [mutable, private] |