zypp::ResPoolProxy::Impl Struct Reference

ResPoolProxy implementation. More...

List of all members.

Public Types

typedef
std::tr1::unordered_map
< sat::detail::IdType,
ui::Selectable::Ptr
SelectableIndex

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 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< Implnullimpl ()
 Offer default Impl.

Private Attributes

ResPool _pool
SelectablePool _selPool
SelectableIndex _selIndex

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const ResPoolProxy::Impl &obj)


Detailed Description

ResPoolProxy implementation.

Todo:
Seedup as it is still using old index

Definition at line 94 of file ResPoolProxy.cc.


Member Typedef Documentation

Definition at line 97 of file ResPoolProxy.cc.


Constructor & Destructor Documentation

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_, and zypp::pool::PoolImpl::id2item().


Member Function Documentation

ui::Selectable::Ptr zypp::ResPoolProxy::Impl::lookup ( const pool::ByIdent ident_r  )  const [inline]

Definition at line 134 of file ResPoolProxy.cc.

References _selIndex, and zypp::pool::ByIdent::get().

bool zypp::ResPoolProxy::Impl::empty ( const ResKind kind_r  )  const [inline]

Definition at line 143 of file ResPoolProxy.cc.

References _selPool.

size_type zypp::ResPoolProxy::Impl::size ( const ResKind kind_r  )  const [inline]

Definition at line 146 of file ResPoolProxy.cc.

References _selPool.

const_iterator zypp::ResPoolProxy::Impl::byKindBegin ( const ResKind kind_r  )  const [inline]

Definition at line 149 of file ResPoolProxy.cc.

References _selPool.

const_iterator zypp::ResPoolProxy::Impl::byKindEnd ( const ResKind kind_r  )  const [inline]

Definition at line 152 of file ResPoolProxy.cc.

References _selPool.

size_type zypp::ResPoolProxy::Impl::knownRepositoriesSize (  )  const [inline]

Definition at line 156 of file ResPoolProxy.cc.

References _pool, and zypp::ResPool::knownRepositoriesSize().

repository_iterator zypp::ResPoolProxy::Impl::knownRepositoriesBegin (  )  const [inline]

Definition at line 159 of file ResPoolProxy.cc.

References _pool, and zypp::ResPool::knownRepositoriesBegin().

repository_iterator zypp::ResPoolProxy::Impl::knownRepositoriesEnd (  )  const [inline]

Definition at line 162 of file ResPoolProxy.cc.

References _pool, and zypp::ResPool::knownRepositoriesEnd().

void zypp::ResPoolProxy::Impl::saveState (  )  const [inline]

Definition at line 167 of file ResPoolProxy.cc.

References _pool.

void zypp::ResPoolProxy::Impl::saveState ( const ResKind kind_r  )  const [inline]

Definition at line 170 of file ResPoolProxy.cc.

References _pool.

void zypp::ResPoolProxy::Impl::restoreState (  )  const [inline]

Definition at line 173 of file ResPoolProxy.cc.

References _pool.

void zypp::ResPoolProxy::Impl::restoreState ( const ResKind kind_r  )  const [inline]

Definition at line 176 of file ResPoolProxy.cc.

References _pool.

bool zypp::ResPoolProxy::Impl::diffState (  )  const [inline]

Definition at line 179 of file ResPoolProxy.cc.

References _pool.

bool zypp::ResPoolProxy::Impl::diffState ( const ResKind kind_r  )  const [inline]

Definition at line 182 of file ResPoolProxy.cc.

References _pool.

static shared_ptr<Impl> zypp::ResPoolProxy::Impl::nullimpl (  )  [inline, static]

Offer default Impl.

Definition at line 192 of file ResPoolProxy.cc.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const ResPoolProxy::Impl obj 
) [related]

Stream output

Definition at line 201 of file ResPoolProxy.cc.


Member Data Documentation

Definition at line 187 of file ResPoolProxy.cc.

Referenced by byKindBegin(), byKindEnd(), empty(), Impl(), and size().

Definition at line 188 of file ResPoolProxy.cc.

Referenced by Impl(), and lookup().


The documentation for this struct was generated from the following file:

doxygen