libzypp 17.31.23
|
Traits for std::map key and value iterators. More...
#include <base/Iterator.h>
Public Types | |
typedef TMap | MapType |
The map type. | |
typedef TMap::key_type | KeyType |
The maps key type. | |
typedef transform_iterator< GetPairFirst< typename MapType::value_type >, typename MapType::const_iterator > | Key_const_iterator |
The key iterator type. | |
typedef TMap::mapped_type | ValueType |
The maps value (mapped) type. | |
typedef transform_iterator< GetPairSecond< typename MapType::value_type >, typename MapType::const_iterator > | Value_const_iterator |
The value iterator type. | |
Traits for std::map key and value iterators.
GetPairFirst and GetPairSecond help building a transform_iterator that iterates over keys or values of a std::map. Class MapKVIteratorTraits provides some typedefs, you usg. do not want to write explicitly.
Or short:
Definition at line 210 of file Iterator.h.
typedef TMap zypp::MapKVIteratorTraits< TMap >::MapType |
The map type.
Definition at line 213 of file Iterator.h.
typedef TMap::key_type zypp::MapKVIteratorTraits< TMap >::KeyType |
The maps key type.
Definition at line 215 of file Iterator.h.
typedef transform_iterator<GetPairFirst<typename MapType::value_type>, typename MapType::const_iterator> zypp::MapKVIteratorTraits< TMap >::Key_const_iterator |
The key iterator type.
Definition at line 218 of file Iterator.h.
typedef TMap::mapped_type zypp::MapKVIteratorTraits< TMap >::ValueType |
The maps value (mapped) type.
Definition at line 220 of file Iterator.h.
typedef transform_iterator<GetPairSecond<typename MapType::value_type>, typename MapType::const_iterator> zypp::MapKVIteratorTraits< TMap >::Value_const_iterator |
The value iterator type.
Definition at line 223 of file Iterator.h.