|
libzypp 17.38.7
|
Capabilities iterator. More...
#include <zypp/ng/sat/capabilities.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = Capability |
| using | difference_type = std::ptrdiff_t |
| using | pointer = void |
| using | reference = const Capability |
Public Member Functions | |
| const_iterator () | |
| const_iterator (const sat::detail::IdType *idx) | |
| bool | tagged () const |
Return true if the Capability is tagged. | |
| reference | operator* () const |
| const_iterator & | operator++ () |
| const_iterator | operator++ (int) |
| bool | operator== (const const_iterator &rhs) const |
| bool | operator!= (const const_iterator &rhs) const |
Private Attributes | |
| const sat::detail::IdType * | _idx |
| zypp::DefaultIntegral< bool, false > | _tagged |
Capabilities iterator.
A forward iterator over a libsolv id array. Automatically skips internal dep-marker ids, setting the tagged flag when it does so to indicate that subsequent capabilities carry a special property (e.g. pre-requires within a solvable's requires list).
Definition at line 97 of file capabilities.h.
| using zyppng::sat::Capabilities::const_iterator::iterator_category = std::forward_iterator_tag |
Definition at line 100 of file capabilities.h.
Definition at line 101 of file capabilities.h.
| using zyppng::sat::Capabilities::const_iterator::difference_type = std::ptrdiff_t |
Definition at line 102 of file capabilities.h.
| using zyppng::sat::Capabilities::const_iterator::pointer = void |
Definition at line 103 of file capabilities.h.
Definition at line 104 of file capabilities.h.
|
inline |
Definition at line 106 of file capabilities.h.
|
inlineexplicit |
Definition at line 110 of file capabilities.h.
|
inline |
Return true if the Capability is tagged.
The meaning of tagged depends on the kind of dependency you are processing. It is a hint that the iterator skipped some internal marker, indicating that subsequent capabilities have a special property. Within a Solvable's requirements e.g. the pre-requirements are tagged.
Definition at line 139 of file capabilities.h.
|
inline |
Definition at line 141 of file capabilities.h.
|
inline |
Definition at line 144 of file capabilities.h.
|
inline |
Definition at line 155 of file capabilities.h.
|
inline |
Definition at line 162 of file capabilities.h.
|
inline |
Definition at line 170 of file capabilities.h.
|
private |
Definition at line 174 of file capabilities.h.
|
private |
Definition at line 175 of file capabilities.h.