12#ifndef ZYPP_SAT_WHATPROVIDES_H
13#define ZYPP_SAT_WHATPROVIDES_H
32 class WhatProvidesIterator;
156 , const detail::IdType *
158 , boost::forward_traversal_tag
172 : iterator_adaptor_( base_r ),
_baseRef( base_r ? &base_reference() : 0 ),
_offset( offset_r )
184 : iterator_adaptor_( rhs.base_reference() )
194 base_reference() = rhs.base_reference();
207 template <
class OtherDerived,
class OtherIterator,
class V,
class C,
class R,
class D>
208 bool equal(
const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D> & rhs )
const
216 if ( base_reference() )
217 return( base_reference() == rhs.base_reference() );
Container of Capability (currently read only).
Container of packages providing ptf()
Base class providing common iterator types based on a Solvable iterator.
A Solvable object within the sat Pool.
WhatProvides implementation date.
Container of Solvable providing a Capability (read only).
RW_pointer< Impl > _pimpl
const_iterator end() const
Iterator pointing behind the last Solvable.
detail::WhatProvidesIterator const_iterator
friend std::ostream & operator<<(std::ostream &str, const WhatProvidesIterator &obj)
const detail::IdType *const * _baseRef
WhatProvidesIterator(const WhatProvidesIterator &rhs)
Copy-ctor required to keep _baseRef adjusted.
WhatProvidesIterator(const detail::IdType *const base_r, unsigned offset_r=0)
Ctor with pointer to 1st elemment of an array.
WhatProvidesIterator(const detail::IdType *const *baseRef_r, unsigned offset_r)
Ctor with pointer to pointer to 1st elemment of an array.
friend class boost::iterator_core_access
bool equal(const WhatProvidesIterator &rhs) const
detail::IdType getId() const
WhatProvidesIterator & operator=(const WhatProvidesIterator &rhs)
Assignment operator required to keep _baseRef adjusted.
reference dereference() const
String related utilities and Regular expression matching.
static const IdType noId(0)
int IdType
Generic Id type.
bool empty() const
Whether neither idents nor provides are set.
std::ostream & operator<<(std::ostream &str, const FileConflicts &obj)
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Capability > CapabilitySet
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Wrapper for const correct access via Smart pointer types.
Backlink to the associated PoolImpl.