zypp::ResPoolProxy Class Reference

#include <ResPoolProxy.h>

List of all members.

Public Types

typedef SelectableIndex::iterator iterator
typedef SelectableIndex::const_iterator const_iterator
typedef SelectableIndex::size_type size_type

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

Private Types

typedef std::set< ui::Selectable::PtrSelectableIndex
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...


Detailed Description

Todo:
Make it a _Ref.

Definition at line 34 of file ResPoolProxy.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

zypp::ResPoolProxy::ResPoolProxy (  ) 

Default ctor: no pool.

Definition at line 231 of file ResPoolProxy.cc.

zypp::ResPoolProxy::ResPoolProxy ( ResPool_Ref  pool_r  ) 

Ctor.

Definition at line 240 of file ResPoolProxy.cc.

zypp::ResPoolProxy::~ResPoolProxy (  ) 

Dtor.

Definition at line 249 of file ResPoolProxy.cc.


Member Function Documentation

bool zypp::ResPoolProxy::empty ( const ResObject::Kind kind_r  )  const

True if there are items of a certain kind.

Definition at line 258 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
bool zypp::ResPoolProxy::empty (  )  const [inline]

Definition at line 63 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 261 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
size_type zypp::ResPoolProxy::size (  )  const [inline]

Definition at line 70 of file ResPoolProxy.h.

ResPoolProxy::const_iterator zypp::ResPoolProxy::byKindBegin ( const ResObject::Kind kind_r  )  const

Definition at line 264 of file ResPoolProxy.cc.

References _pimpl.

Referenced by zypp::ui::poolProxyBegin().

template<class _Res>
const_iterator zypp::ResPoolProxy::byKindBegin (  )  const [inline]

Definition at line 78 of file ResPoolProxy.h.

Referenced by make_begin().

ResPoolProxy::const_iterator zypp::ResPoolProxy::byKindEnd ( const ResObject::Kind kind_r  )  const

Definition at line 267 of file ResPoolProxy.cc.

References _pimpl.

Referenced by zypp::ui::poolProxyEnd().

template<class _Res>
const_iterator zypp::ResPoolProxy::byKindEnd (  )  const [inline]

Definition at line 85 of file ResPoolProxy.h.

Referenced by make_begin(), and make_end().

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 93 of file ResPoolProxy.h.

template<class _Res>
bool zypp::ResPoolProxy::hasInstalledObj (  )  const [inline]

Definition at line 100 of file ResPoolProxy.h.

void zypp::ResPoolProxy::saveState (  )  const

Definition at line 270 of file ResPoolProxy.cc.

References _pimpl.

Referenced by saveState().

void zypp::ResPoolProxy::saveState ( const ResObject::Kind kind_r  )  const

Definition at line 273 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
void zypp::ResPoolProxy::saveState (  )  const [inline]

Definition at line 117 of file ResPoolProxy.h.

References saveState().

void zypp::ResPoolProxy::restoreState (  )  const

Definition at line 276 of file ResPoolProxy.cc.

References _pimpl.

Referenced by restoreState().

void zypp::ResPoolProxy::restoreState ( const ResObject::Kind kind_r  )  const

Definition at line 279 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
void zypp::ResPoolProxy::restoreState (  )  const [inline]

Definition at line 125 of file ResPoolProxy.h.

References restoreState().

bool zypp::ResPoolProxy::diffState (  )  const

Definition at line 282 of file ResPoolProxy.cc.

References _pimpl.

Referenced by diffState().

bool zypp::ResPoolProxy::diffState ( const ResObject::Kind kind_r  )  const

Definition at line 285 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
bool zypp::ResPoolProxy::diffState (  )  const [inline]

Definition at line 133 of file ResPoolProxy.h.

References diffState().

template<class _Filter>
filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_begin ( _Filter  filter_r,
const ResObject::Kind kind_r 
) const [inline, private]

Definition at line 140 of file ResPoolProxy.h.

References byKindBegin(), and byKindEnd().

Referenced by make_begin().

template<class _Filter>
filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_begin ( const ResObject::Kind kind_r  )  const [inline, private]

Definition at line 148 of file ResPoolProxy.h.

References make_begin().

template<class _Filter>
filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_end ( _Filter  filter_r,
const ResObject::Kind kind_r 
) const [inline, private]

Definition at line 156 of file ResPoolProxy.h.

References byKindEnd().

Referenced by make_end().

template<class _Filter>
filter_iterator<_Filter,const_iterator> zypp::ResPoolProxy::make_end ( const ResObject::Kind kind_r  )  const [inline, private]

Definition at line 164 of file ResPoolProxy.h.

References make_end().

ResPoolProxy::const_iterator zypp::ResPoolProxy::byKindBegin ( const ResObject::Kind kind_r  )  const

Definition at line 264 of file ResPoolProxy.cc.

References _pimpl.

Referenced by zypp::ui::poolProxyBegin().

template<class _Res>
const_iterator zypp::ResPoolProxy::byKindBegin (  )  const [inline]

Definition at line 78 of file ResPoolProxy.h.

Referenced by make_begin().

ResPoolProxy::const_iterator zypp::ResPoolProxy::byKindEnd ( const ResObject::Kind kind_r  )  const

Definition at line 267 of file ResPoolProxy.cc.

References _pimpl.

Referenced by zypp::ui::poolProxyEnd().

template<class _Res>
const_iterator zypp::ResPoolProxy::byKindEnd (  )  const [inline]

Definition at line 85 of file ResPoolProxy.h.

Referenced by make_begin(), and make_end().

void zypp::ResPoolProxy::saveState (  )  const

Definition at line 270 of file ResPoolProxy.cc.

References _pimpl.

Referenced by saveState().

void zypp::ResPoolProxy::saveState ( const ResObject::Kind kind_r  )  const

Definition at line 273 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
void zypp::ResPoolProxy::saveState (  )  const [inline]

Definition at line 117 of file ResPoolProxy.h.

References saveState().

void zypp::ResPoolProxy::restoreState (  )  const

Definition at line 276 of file ResPoolProxy.cc.

References _pimpl.

Referenced by restoreState().

void zypp::ResPoolProxy::restoreState ( const ResObject::Kind kind_r  )  const

Definition at line 279 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
void zypp::ResPoolProxy::restoreState (  )  const [inline]

Definition at line 125 of file ResPoolProxy.h.

References restoreState().

bool zypp::ResPoolProxy::diffState (  )  const

Definition at line 282 of file ResPoolProxy.cc.

References _pimpl.

Referenced by diffState().

bool zypp::ResPoolProxy::diffState ( const ResObject::Kind kind_r  )  const

Definition at line 285 of file ResPoolProxy.cc.

References _pimpl.

template<class _Res>
bool zypp::ResPoolProxy::diffState (  )  const [inline]

Definition at line 133 of file ResPoolProxy.h.

References diffState().


Friends And Related Function Documentation

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

Stream output.

Definition at line 293 of file ResPoolProxy.cc.


Member Data Documentation

RW_pointer<Impl> zypp::ResPoolProxy::_pimpl [private]

Pointer to implementation.

Definition at line 171 of file ResPoolProxy.h.

Referenced by byKindBegin(), byKindEnd(), diffState(), empty(), zypp::operator<<(), restoreState(), saveState(), and size().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:37 2006 for zypp by  doxygen 1.5.0