libzypp  9.1.2
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | Related Functions
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
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< Implnullimpl ()
 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)

Related Functions

(Note that these are not member functions.)

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

Detailed Description

ResPoolProxy implementation.

Todo:
Seedup as it is still using old index

Definition at line 91 of file ResPoolProxy.cc.


Member Typedef Documentation

Definition at line 96 of file ResPoolProxy.cc.

Definition at line 97 of file ResPoolProxy.cc.


Constructor & Destructor Documentation

Definition at line 100 of file ResPoolProxy.cc.

zypp::ResPoolProxy::Impl::Impl ( ResPool  pool_r,
const pool::PoolImpl poolImpl_r 
) [inline]

Member Function Documentation

Definition at line 133 of file ResPoolProxy.cc.

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

Referenced by zypp::ResPoolProxy::lookup().

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

Definition at line 142 of file ResPoolProxy.cc.

References _selPool.

Referenced by zypp::ResPoolProxy::empty().

Definition at line 145 of file ResPoolProxy.cc.

References _selPool.

Referenced by operator<<(), and zypp::ResPoolProxy::size().

Definition at line 148 of file ResPoolProxy.cc.

References _selPool, and zypp::make_map_value_begin().

Referenced by zypp::ResPoolProxy::begin().

Definition at line 151 of file ResPoolProxy.cc.

References _selPool, and zypp::make_map_value_end().

Referenced by zypp::ResPoolProxy::end().

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

Definition at line 155 of file ResPoolProxy.cc.

References _selPool.

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

Definition at line 158 of file ResPoolProxy.cc.

References _selPool.

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().

Referenced by zypp::ResPoolProxy::byKindBegin().

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().

Referenced by zypp::ResPoolProxy::byKindEnd().

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

Definition at line 179 of file ResPoolProxy.cc.

References _pool, and zypp::PoolItemSaver::saveState().

Referenced by zypp::ResPoolProxy::saveState().

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

Definition at line 182 of file ResPoolProxy.cc.

References _pool, and zypp::PoolItemSaver::saveState().

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

Definition at line 185 of file ResPoolProxy.cc.

References _pool, and zypp::PoolItemSaver::restoreState().

Referenced by zypp::ResPoolProxy::restoreState().

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

Definition at line 188 of file ResPoolProxy.cc.

References _pool, and zypp::PoolItemSaver::restoreState().

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

Definition at line 191 of file ResPoolProxy.cc.

References _pool, and zypp::PoolItemSaver::diffState().

Referenced by zypp::ResPoolProxy::diffState().

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

Definition at line 194 of file ResPoolProxy.cc.

References _pool, and zypp::PoolItemSaver::diffState().

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

Offer default Impl.

Definition at line 204 of file ResPoolProxy.cc.


Friends And Related Function Documentation

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

Stream output

Definition at line 213 of file ResPoolProxy.cc.

References _pool, zypp::ResPool::serial(), zypp::ResPool::size(), and size().

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

Verbose stream output

Definition at line 229 of file ResPoolProxy.cc.

References zypp::dumpRange(), zypp::make_filter_begin(), and zypp::make_filter_end().


Member Data Documentation

Definition at line 199 of file ResPoolProxy.cc.

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

Definition at line 200 of file ResPoolProxy.cc.

Referenced by Impl(), and lookup().


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