Capabilities iterator.
More...
#include <Capabilities.h>
List of all members.
Private Member Functions |
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 () |
Detailed Description
Capabilities iterator.
Definition at line 91 of file Capabilities.h.
Constructor & Destructor Documentation
zypp::Capabilities::const_iterator::const_iterator |
( |
| ) |
|
|
inline |
Member Function Documentation
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;
}
Definition at line 132 of file Capabilities.h.
reference zypp::Capabilities::const_iterator::dereference |
( |
| ) |
const |
|
inlineprivate |
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 |
void zypp::Capabilities::const_iterator::increment |
( |
| ) |
|
|
inlineprivate |
Friends And Related Function Documentation
friend class boost::iterator_core_access |
|
friend |
Member Data Documentation
The documentation for this class was generated from the following file: