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).
const_iterator end() const
Iterator pointing behind the last Capability.
String related utilities and Regular expression matching.
reference dereference() const
const_iterator(const sat::detail::IdType *_idx)
size_type size() const
Number of capabilities inside.
const_iterator begin() const
Iterator pointing to the first Capability.
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.
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 sat::detail::IdType * _begin
friend class boost::iterator_core_access
static const CapMatch yes
Easy-to use interface to the ZYPP dependency resolver.
bool matches(const Capability &lhs) const
Return whether lhs matches at least one capability in set.
bool empty() const
Whether the container is empty.
static CapMatch matches(const Capability &lhs, const Capability &rhs)
DefaultIntegral< bool, false > _tagged