12 #ifndef ZYPP_SAT_CAPABILITIES_H
13 #define ZYPP_SAT_CAPABILITIES_H
72 const_iterator
begin()
const;
75 const_iterator
end()
const;
93 , const sat::detail::IdType *
95 , boost::forward_traversal_tag
140 template <
class OtherDerived,
class OtherIterator,
class V,
class C,
class R,
class D>
141 bool equal(
const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D> & rhs )
const
143 return ( base() == rhs.base()
144 || ( !rhs.base() && !*base() )
145 || ( !base() && !*rhs.base() ) );
171 #endif // ZYPP_SAT_CAPABILITIES_H
Capabilities(const sat::detail::IdType *base_r)
Ctor from Id pointer (friend Solvable).
int IdType
Generic Id type.
Container of Capability (currently read only).
bool empty() const
Whether the container is empty.
reference dereference() const
bool equal(const boost::iterator_adaptor< OtherDerived, OtherIterator, V, C, R, D > &rhs) const
bool tagged() const
Return true if the Capability is tagged.
const_iterator(const sat::detail::IdType *_idx)
std::ostream & operator<<(std::ostream &str, const Exception &obj)
Capabilities()
Default ctor.
static const Capability Null
No or Null Capability ( Id 0 ).
bool isDepMarkerId(IdType id_r)
Test for internal ids satlib includes in dependencies.
const_iterator end() const
Iterator pointing behind the last Capability.
const sat::detail::IdType * _begin
size_type size() const
Number of capabilities inside.
friend class boost::iterator_core_access
const_iterator begin() const
Iterator pointing to the first Capability.
DefaultIntegral< bool, false > _tagged