12 #ifndef ZYPP_RESPOOLPROXY_H
13 #define ZYPP_RESPOOLPROXY_H
140 return( make_begin<ui::selfilter::ByHasInstalledObj>( kind_r )
141 != make_end<ui::selfilter::ByHasInstalledObj>( kind_r ) );
183 template<
class _Filter>
184 filter_iterator<_Filter,const_iterator>
187 return make_filter_iterator( filter_r,
191 template<
class _Filter>
192 filter_iterator<_Filter,const_iterator>
199 template<
class _Filter>
200 filter_iterator<_Filter,const_iterator>
203 return make_filter_iterator( filter_r,
207 template<
class _Filter>
208 filter_iterator<_Filter,const_iterator>
211 return make_end( _Filter(), kind_r );
232 #endif // ZYPP_RESPOOLPROXY_H
void restoreState() const
ui::Selectable::Ptr lookup(const pool::ByIdent &ident_r) const
A Solvable object within the sat Pool.
ui::Selectable::Ptr lookup(IdString ident_r) const
void restoreState() const
intrusive_ptr< Selectable > Ptr
size_type knownRepositoriesSize() const
filter_iterator< _Filter, const_iterator > make_begin(const ResKind &kind_r) const
ui::Selectable::Ptr lookup(const PoolItem &pi_r) const
Access to the sat-pools string space.
TraitsType::constPtrType constPtr
ResPool::instance().proxy();.
const_iterator end() const
ResPoolProxy implementation.
transform_iterator< GetPairSecond< typename MapType::value_type >, typename MapType::const_iterator > Value_const_iterator
The value iterator type.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
friend std::ostream & operator<<(std::ostream &str, const ResPoolProxy &obj)
repository_iterator knownRepositoriesEnd() const
ResPool::repository_iterator repository_iterator
bool hasInstalledObj(const ResKind &kind_r) const
Test whether there is at least one ui::Selectable with an installed object.
RW_pointer< Impl > _pimpl
Pointer to implementation.
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
friend std::ostream & dumpOn(std::ostream &str, const ResPoolProxy &obj)
const_iterator byKindEnd() const
repository_iterator knownRepositoriesBegin() const
SelectablePool::size_type size_type
std::multimap< ResKind, ui::Selectable::Ptr > SelectablePool
Wrapper for const correct access via Smart pointer types.
filter_iterator< _Filter, const_iterator > make_end(const ResKind &kind_r) const
ui::Selectable::Ptr lookup(const sat::Solvable &solv_r) const
sat::Solvable satSolvable() const
Return the corresponding sat::Solvable.
filter_iterator< _Filter, const_iterator > make_end(_Filter filter_r, const ResKind &kind_r) const
filter_iterator< _Filter, const_iterator > make_begin(_Filter filter_r, const ResKind &kind_r) const
ResPoolProxy()
Default ctor: no pool Nonempty proxies are provided by ResPool.
bool hasInstalledObj() const
Reference to a PoolItem connecting ResObject and ResStatus.
const_iterator byKindBegin() const
const_iterator begin() const
MapKVIteratorTraits< SelectablePool >::Value_const_iterator const_iterator
ui::Selectable::Ptr lookup(ResKind kind_r, const std::string &name_r) const
Main filter selecting PoolItems by name and kind.
ui::Selectable::Ptr lookup(const ResObject::constPtr &resolvable_r) const