libzypp  13.10.6
zypp::Product::UrlList Class Reference

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. More...
 
std::string key () const
 The key used to retrieve this list (for debug) More...
 

Private Types

typedef std::list< UrlListType
 

Private Attributes

std::string _key
 Change to directly iterate the .solv. More...
 
ListType _list
 

Friends

class Product
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const Product::UrlList &obj)
 

Detailed Description

Helper to iterate a products URL lists.

first is a convenience for 'lists' with just one entry (e.g. releaseNotesUrls)

Definition at line 168 of file Product.h.

Member Typedef Documentation

typedef std::list<Url> zypp::Product::UrlList::ListType
private
Todo:
Change to directly iterate the .solv

Definition at line 172 of file Product.h.

typedef ListType::value_type zypp::Product::UrlList::value_type

Definition at line 175 of file Product.h.

typedef ListType::size_type zypp::Product::UrlList::size_type

Definition at line 176 of file Product.h.

typedef ListType::const_iterator zypp::Product::UrlList::const_iterator

Definition at line 177 of file Product.h.

Member Function Documentation

bool zypp::Product::UrlList::empty ( ) const
inline

Definition at line 179 of file Product.h.

size_type zypp::Product::UrlList::size ( ) const
inline

Definition at line 182 of file Product.h.

const_iterator zypp::Product::UrlList::begin ( ) const
inline

Definition at line 185 of file Product.h.

const_iterator zypp::Product::UrlList::end ( ) const
inline

Definition at line 188 of file Product.h.

Url zypp::Product::UrlList::first ( ) const
inline

The first Url or an empty Url.

Definition at line 192 of file Product.h.

std::string zypp::Product::UrlList::key ( ) const
inline

The key used to retrieve this list (for debug)

Definition at line 197 of file Product.h.

Friends And Related Function Documentation

friend class Product
friend

Definition at line 201 of file Product.h.

std::ostream & operator<< ( std::ostream &  str,
const Product::UrlList obj 
)
related

Stream output.

Definition at line 246 of file Product.cc.

Member Data Documentation

std::string zypp::Product::UrlList::_key
private

Change to directly iterate the .solv.

Definition at line 203 of file Product.h.

ListType zypp::Product::UrlList::_list
private

Definition at line 204 of file Product.h.


The documentation for this class was generated from the following file: