libzypp
17.32.4
|
std::map wrapper for stream output. More...
#include <zypp-core/base/LogTools.h>
Classes | |
struct | Transformer |
Public Types | |
using | MapType = TMap |
using | PairType = typename TMap::value_type |
using | MapEntryType = MapEntry< PairType > |
using | MapEntry_const_iterator = transform_iterator< Transformer, typename MapType::const_iterator > |
Public Member Functions | |
DumpMap (const TMap &map_r) | |
const TMap & | map () const |
MapEntry_const_iterator | begin () const |
MapEntry_const_iterator | end () const |
Private Attributes | |
const TMap *const | _map |
Related Functions | |
(Note that these are not member functions.) | |
template<class TMap > | |
std::ostream & | operator<< (std::ostream &str, const DumpMap< TMap > &obj) |
template<class TMap > | |
DumpMap< TMap > | dumpMap (const TMap &map_r) |
std::map wrapper for stream output.
Uses a transform_iterator to wrap the std::pair into MapEntry.
Definition at line 265 of file LogTools.h.
using zypp::_logtoolsdetail::DumpMap< TMap >::MapType = TMap |
Definition at line 268 of file LogTools.h.
using zypp::_logtoolsdetail::DumpMap< TMap >::PairType = typename TMap::value_type |
Definition at line 269 of file LogTools.h.
using zypp::_logtoolsdetail::DumpMap< TMap >::MapEntryType = MapEntry<PairType> |
Definition at line 270 of file LogTools.h.
using zypp::_logtoolsdetail::DumpMap< TMap >::MapEntry_const_iterator = transform_iterator<Transformer, typename MapType::const_iterator> |
Definition at line 278 of file LogTools.h.
|
inline |
Definition at line 281 of file LogTools.h.
|
inline |
Definition at line 285 of file LogTools.h.
|
inline |
Definition at line 288 of file LogTools.h.
|
inline |
Definition at line 291 of file LogTools.h.
|
related |
Stream output.
Definition at line 300 of file LogTools.h.
|
related |
Convenience function to create DumpMap from std::map.
Definition at line 305 of file LogTools.h.
|
private |
Definition at line 295 of file LogTools.h.