Capabilities iterator.
More...
#include <Capabilities.h>
|
reference | dereference () const |
|
template<class OtherDerived , class OtherIterator , class V , class C , class R , class D > |
bool | equal (const boost::iterator_adaptor< OtherDerived, OtherIterator, V, C, R, D > &rhs) const |
|
void | increment () |
|
Capabilities iterator.
Definition at line 98 of file Capabilities.h.
◆ const_iterator() [1/2]
zypp::Capabilities::const_iterator::const_iterator |
( |
| ) |
|
|
inline |
◆ const_iterator() [2/2]
◆ tagged()
bool zypp::Capabilities::const_iterator::tagged |
( |
| ) |
const |
|
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 iteratir skipped some internal marker, indicating that subsequent cabailities have a special property. Within a Solvables requirements e.g. the pre-requirements are tagged.
for_( it, req.begin(), req.end() )
{
if ( it.tagged() )
cout << *it << " (is prereq)" << endl;
else
cout << *it << endl;
}
Container of Capability (currently read only).
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
Definition at line 139 of file Capabilities.h.
◆ dereference()
reference zypp::Capabilities::const_iterator::dereference |
( |
| ) |
const |
|
inlineprivate |
◆ equal()
template<class OtherDerived , class OtherIterator , class V , class C , class R , class D >
bool zypp::Capabilities::const_iterator::equal |
( |
const boost::iterator_adaptor< OtherDerived, OtherIterator, V, C, R, D > & |
rhs | ) |
const |
|
inlineprivate |
◆ increment()
void zypp::Capabilities::const_iterator::increment |
( |
| ) |
|
|
inlineprivate |
◆ boost::iterator_core_access
friend class boost::iterator_core_access |
|
friend |
◆ _tagged
The documentation for this class was generated from the following file: