|
libzypp
9.1.2
|
Helper to iterate a products URL lists. More...
#include <Product.h>
Public Types | |
| typedef ListType::value_type | value_type |
| typedef ListType::size_type | size_type |
| typedef ListType::const_iterator | const_iterator |
Public Member Functions | |
| bool | empty () const |
| size_type | size () const |
| const_iterator | begin () const |
| const_iterator | end () const |
| Url | first () const |
| The first Url or an empty Url. | |
| std::string | key () const |
| The key used to retrieve this list (for debug) | |
Private Types | |
| typedef std::list< Url > | ListType |
Private Attributes | |
| std::string | _key |
| Change to directly iterate the .solv. | |
| ListType | _list |
Friends | |
| class | Product |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Product::UrlList &obj) |
Helper to iterate a products URL lists.
first is a convenience for 'lists' with just one entry (e.g. releaseNotesUrls)
typedef std::list<Url> zypp::Product::UrlList::ListType [private] |
| typedef ListType::value_type zypp::Product::UrlList::value_type |
| typedef ListType::size_type zypp::Product::UrlList::size_type |
| typedef ListType::const_iterator zypp::Product::UrlList::const_iterator |
| bool zypp::Product::UrlList::empty | ( | ) | const [inline] |
| size_type zypp::Product::UrlList::size | ( | ) | const [inline] |
| const_iterator zypp::Product::UrlList::begin | ( | ) | const [inline] |
Definition at line 187 of file Product.h.
Referenced by zypp::operator<<().
| const_iterator zypp::Product::UrlList::end | ( | ) | const [inline] |
Definition at line 190 of file Product.h.
Referenced by zypp::operator<<().
| Url zypp::Product::UrlList::first | ( | ) | const [inline] |
| std::string zypp::Product::UrlList::key | ( | ) | const [inline] |
The key used to retrieve this list (for debug)
Definition at line 199 of file Product.h.
Referenced by zypp::operator<<().
| std::ostream & operator<< | ( | std::ostream & | str, |
| const Product::UrlList & | obj | ||
| ) | [related] |
Stream output.
Definition at line 227 of file Product.cc.
std::string zypp::Product::UrlList::_key [private] |
ListType zypp::Product::UrlList::_list [private] |
Definition at line 206 of file Product.h.
Referenced by zypp::Product::urls().
1.7.6.1