12 #ifndef ZYPP_SAT_CAPABILITIES_H 13 #define ZYPP_SAT_CAPABILITIES_H 66 size_type
size()
const;
97 , const sat::detail::IdType *
99 , boost::forward_traversal_tag
139 friend class boost::iterator_core_access;
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.
String related utilities and Regular expression matching.
bool matches(const Capability &lhs) const
Return whether lhs matches at least one capability in set.
const_iterator(const sat::detail::IdType *_idx)
Capabilities()
Default ctor.
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
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.
static const CapMatch yes
Easy-to use interface to the ZYPP dependency resolver.
const_iterator begin() const
Iterator pointing to the first Capability.
static CapMatch matches(const Capability &lhs, const Capability &rhs)
DefaultIntegral< bool, false > _tagged