libzypp
10.5.0
|
Query class for Repository related products. More...
#include <Repository.h>
Public Member Functions | |
ProductInfoIterator () | |
std::string | label () const |
Product label. | |
std::string | cpeId () const |
The Common Platform Enumeration name for this product. | |
Private Member Functions | |
ProductInfoIterator (sat::SolvAttr attr_r, Repository repo_r) | |
Hide ctor as just a limited set of attributes is valid. | |
int | dereference () const |
Friends | |
class | Repository |
class | boost::iterator_core_access |
Query class for Repository related products.
The iterator does not provide a dereference operator so you can do * on it, but you can access the attributes of each related product directly from the iterator.
for_( it, repo.compatibleWithProductBegin(), repo.compatibleWithProductEnd() ) { cout << it.cpeid() << endl; }
Definition at line 318 of file Repository.h.
zypp::Repository::ProductInfoIterator::ProductInfoIterator | ( | ) | [inline] |
Definition at line 327 of file Repository.h.
zypp::Repository::ProductInfoIterator::ProductInfoIterator | ( | sat::SolvAttr | attr_r, |
Repository | repo_r | ||
) | [explicit, private] |
Hide ctor as just a limited set of attributes is valid.
Definition at line 317 of file Repository.cc.
std::string zypp::Repository::ProductInfoIterator::label | ( | ) | const |
Product label.
Definition at line 320 of file Repository.cc.
std::string zypp::Repository::ProductInfoIterator::cpeId | ( | ) | const |
The Common Platform Enumeration name for this product.
Definition at line 323 of file Repository.cc.
int zypp::Repository::ProductInfoIterator::dereference | ( | ) | const [inline, private] |
Definition at line 350 of file Repository.h.
friend class Repository [friend] |
Definition at line 344 of file Repository.h.
friend class boost::iterator_core_access [friend] |
Definition at line 349 of file Repository.h.