12 #ifndef ZYPP_SAT_CAPABILITIES_H
13 #define ZYPP_SAT_CAPABILITIES_H
72 const_iterator
begin()
const;
75 const_iterator
end()
const;
97 , const sat::detail::IdType *
99 , boost::forward_traversal_tag
144 template <
class OtherDerived,
class OtherIterator,
class V,
class C,
class R,
class D>
145 bool equal(
const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D> & rhs )
const
147 return ( base() == rhs.base()
148 || ( !rhs.base() && !*base() )
149 || ( !base() && !*rhs.base() ) );
182 #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.
bool matches(const Capability &lhs) const
Return whether lhs matches at least one capability in set.
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
static const CapMatch yes
const_iterator begin() const
Iterator pointing to the first Capability.
static CapMatch matches(const Capability &lhs, const Capability &rhs)
DefaultIntegral< bool, false > _tagged