libzypp
15.28.6
|
Classes | |
struct | zypp::GetPairFirst< TPair > |
Functor taking a std::pair returning std::pair.first . More... | |
struct | zypp::GetPairSecond< TPair > |
Functor taking a std::pair returning std::pair.second . More... | |
struct | zypp::MapKVIteratorTraits< TMap > |
Traits for std::map key and value iterators. More... | |
class | filter_iterator |
An iterator over the subset of elements of some sequence which satisfy a given predicate. More... | |
class | transform_iterator |
An iterator over elements which are the result of applying some functional transformation to the elements of an underlying sequence. More... | |
class | function_output_iterator |
An output iterator wrapping a unary function object; each time an element is written into the dereferenced iterator, it is passed as a parameter to the function object. More... | |
Functions | |
template<class TFilter , class TContainer > | |
filter_iterator< TFilter, typename TContainer::const_iterator > | zypp::make_filter_begin (TFilter f, const TContainer &c) |
Convenience to create filter_iterator from container::begin(). More... | |
template<class TFilter , class TContainer > | |
filter_iterator< TFilter, typename TContainer::const_iterator > | zypp::make_filter_begin (const TContainer &c) |
Convenience to create filter_iterator from container::begin(). More... | |
template<class TFilter , class TContainer > | |
filter_iterator< TFilter, typename TContainer::const_iterator > | zypp::make_filter_end (TFilter f, const TContainer &c) |
Convenience to create filter_iterator from container::end(). More... | |
template<class TFilter , class TContainer > | |
filter_iterator< TFilter, typename TContainer::const_iterator > | zypp::make_filter_end (const TContainer &c) |
Convenience to create filter_iterator from container::end(). More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Key_const_iterator | zypp::make_map_key_begin (const TMap &map_r) |
Convenience to create the key iterator from container::begin() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Key_const_iterator | zypp::make_map_key_end (const TMap &map_r) |
Convenience to create the key iterator from container::end() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Value_const_iterator | zypp::make_map_value_begin (const TMap &map_r) |
Convenience to create the value iterator from container::begin() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Value_const_iterator | zypp::make_map_value_end (const TMap &map_r) |
Convenience to create the value iterator from container::end() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Key_const_iterator | zypp::make_map_key_lower_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
Convenience to create the key iterator from container::lower_bound() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Key_const_iterator | zypp::make_map_key_upper_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
Convenience to create the key iterator from container::upper_bound() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Value_const_iterator | zypp::make_map_value_lower_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
Convenience to create the value iterator from container::lower_bound() More... | |
template<class TMap > | |
MapKVIteratorTraits< TMap > ::Value_const_iterator | zypp::make_map_value_upper_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
Convenience to create the value iterator from container::upper_bound() More... | |
There are in fact more interesting iterator concepts available than the ones listed above. Have a look at them.
Some of the iterator types are already dragged into namespace zypp. Feel free to add what's missing.
filter_iterator<TFilter, typename TContainer::const_iterator> zypp::make_filter_begin | ( | TFilter | f, |
const TContainer & | c | ||
) |
Convenience to create filter_iterator from container::begin().
Definition at line 101 of file Iterator.h.
filter_iterator<TFilter, typename TContainer::const_iterator> zypp::make_filter_begin | ( | const TContainer & | c | ) |
Convenience to create filter_iterator from container::begin().
Definition at line 109 of file Iterator.h.
filter_iterator<TFilter, typename TContainer::const_iterator> zypp::make_filter_end | ( | TFilter | f, |
const TContainer & | c | ||
) |
Convenience to create filter_iterator from container::end().
Definition at line 117 of file Iterator.h.
filter_iterator<TFilter, typename TContainer::const_iterator> zypp::make_filter_end | ( | const TContainer & | c | ) |
Convenience to create filter_iterator from container::end().
Definition at line 125 of file Iterator.h.
|
inline |
Convenience to create the key iterator from container::begin()
Definition at line 228 of file Iterator.h.
|
inline |
Convenience to create the key iterator from container::end()
Definition at line 233 of file Iterator.h.
|
inline |
Convenience to create the value iterator from container::begin()
Definition at line 238 of file Iterator.h.
|
inline |
Convenience to create the value iterator from container::end()
Definition at line 243 of file Iterator.h.
|
inline |
Convenience to create the key iterator from container::lower_bound()
Definition at line 248 of file Iterator.h.
|
inline |
Convenience to create the key iterator from container::upper_bound()
Definition at line 253 of file Iterator.h.
|
inline |
Convenience to create the value iterator from container::lower_bound()
Definition at line 258 of file Iterator.h.
|
inline |
Convenience to create the value iterator from container::upper_bound()
Definition at line 263 of file Iterator.h.