libzypp 17.37.17
Iterator.h File Reference
#include <iterator>
#include <utility>
#include <boost/functional.hpp>
#include <boost/iterator/filter_iterator.hpp>
#include <boost/iterator/transform_iterator.hpp>
#include <boost/iterator/function_output_iterator.hpp>
#include <zypp-core/base/Iterable.h>
Include dependency graph for Iterator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.

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().
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().
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().
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().
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()
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()
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()
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()
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()
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()
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()
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()
template<class TMap>
Iterable< typename MapKVIteratorTraits< TMap >::Key_const_iterator > zypp::make_map_key_Iterable (const TMap &map_r)
 Convenience to create an Iterable over the container keys.
template<class TMap>
Iterable< typename MapKVIteratorTraits< TMap >::Value_const_iterator > zypp::make_map_value_Iterable (const TMap &map_r)
 Convenience to create an Iterable over the container values.