12 #ifndef ZYPP_NG_SAT_CAPABILITIES_H 13 #define ZYPP_NG_SAT_CAPABILITIES_H 17 #include <type_traits> 19 #include <zypp-core/base/DefaultIntegral> 69 const_iterator
begin()
const;
72 const_iterator
end()
const;
171 {
return !( *
this == rhs ); }
209 #endif // ZYPP_NG_SAT_CAPABILITIES_H 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.
std::forward_iterator_tag iterator_category
const_iterator operator++(int)
const sat::detail::IdType * _idx
bool operator!=(const const_iterator &rhs) const
zypp::DefaultIntegral< bool, false > _tagged
const_iterator begin() const
Iterator pointing to the first Capability.
const_iterator(const sat::detail::IdType *idx)
bool contains(const Capability &lhs) const
Return whether the set contains lhs (the Id)
Capabilities(const sat::detail::IdType *base_r)
Ctor from Id pointer (friend Solvable).
const_iterator & operator++()
Container of Capability (currently read only).
reference operator*() const
This file contains private API, this might break at any time between releases.
Capability findFirstMatch(const Capability &lhs) const
Return the first matching Capability in set or Capability::Null.
zypp::sat::detail::IdType IdType
bool empty() const
Whether the container is empty.
std::ptrdiff_t difference_type
bool isDepMarkerId(IdType id_r)
Test for internal ids satlib includes in dependencies.
Capabilities()
Default ctor.
const_iterator end() const
Iterator pointing behind the last Capability.
size_type size() const
Number of capabilities inside.
static const CapMatch yes
static CapMatch matches(const Capability &lhs, const Capability &rhs)
static const Capability Null
No or Null Capability ( Id 0 ).
bool operator==(const const_iterator &rhs) const
const sat::detail::IdType * _begin