Go to the documentation of this file.
12 #ifndef ZYPP_SAT_CAPABILITIES_H
13 #define ZYPP_SAT_CAPABILITIES_H
72 const_iterator
begin()
const;
75 const_iterator
end()
const;
100 , const sat::detail::IdType *
102 , boost::forward_traversal_tag
147 template <
class OtherDerived,
class OtherIterator,
class V,
class C,
class R,
class D>
148 bool equal(
const boost::iterator_adaptor<OtherDerived, OtherIterator, V, C, R, D> & rhs )
const
150 return ( base() == rhs.base()
151 || ( !rhs.base() && !*base() )
152 || ( !base() && !*rhs.base() ) );
193 #endif // ZYPP_SAT_CAPABILITIES_H
friend class boost::iterator_core_access
Capabilities()
Default ctor.
size_type size() const
Number of capabilities inside.
reference dereference() const
bool equal(const boost::iterator_adaptor< OtherDerived, OtherIterator, V, C, R, D > &rhs) const
const_iterator begin() const
Iterator pointing to the first Capability.
const_iterator(const sat::detail::IdType *_idx)
static const CapMatch yes
DefaultIntegral< bool, false > _tagged
const_iterator end() const
Iterator pointing behind the last Capability.
bool isDepMarkerId(IdType id_r)
Test for internal ids satlib includes in dependencies.
int IdType
Generic Id type.
static const Capability Null
No or Null Capability ( Id 0 ).
Easy-to use interface to the ZYPP dependency resolver.
bool contains(const Capability &lhs) const
Return whether the set contains lhs (the Id)
const sat::detail::IdType * _begin
bool matches(const Capability &lhs) const
Return whether lhs matches at least one capability in set.
bool tagged() const
Return true if the Capability is tagged.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
Capabilities(const sat::detail::IdType *base_r)
Ctor from Id pointer (friend Solvable).
String related utilities and Regular expression matching.
bool empty() const
Whether the container is empty.
Container of Capability (currently read only).
static CapMatch matches(const Capability &lhs, const Capability &rhs)