libzypp
13.10.6
|
std::map wrapper for stream output. More...
#include <LogTools.h>
Classes | |
struct | Transformer |
Public Types | |
typedef _Map | MapType |
typedef _Map::value_type | PairType |
typedef MapEntry< PairType > | MapEntryType |
typedef transform_iterator < Transformer, typename MapType::const_iterator > | MapEntry_const_iterator |
Public Member Functions | |
DumpMap (const _Map &map_r) | |
const _Map & | map () const |
MapEntry_const_iterator | begin () const |
MapEntry_const_iterator | end () const |
Private Attributes | |
const _Map *const | _map |
Related Functions | |
(Note that these are not member functions.) | |
template<class _Map > | |
std::ostream & | operator<< (std::ostream &str, const DumpMap< _Map > &obj) |
template<class _Map > | |
DumpMap< _Map > | dumpMap (const _Map &map_r) |
std::map wrapper for stream output.
Uses a transform_iterator to wrap the std::pair into MapEntry.
Definition at line 188 of file LogTools.h.
typedef _Map zypp::_logtoolsdetail::DumpMap< _Map >::MapType |
Definition at line 191 of file LogTools.h.
typedef _Map::value_type zypp::_logtoolsdetail::DumpMap< _Map >::PairType |
Definition at line 192 of file LogTools.h.
typedef MapEntry<PairType> zypp::_logtoolsdetail::DumpMap< _Map >::MapEntryType |
Definition at line 193 of file LogTools.h.
typedef transform_iterator<Transformer, typename MapType::const_iterator> zypp::_logtoolsdetail::DumpMap< _Map >::MapEntry_const_iterator |
Definition at line 202 of file LogTools.h.
|
inline |
Definition at line 205 of file LogTools.h.
|
inline |
Definition at line 209 of file LogTools.h.
|
inline |
Definition at line 212 of file LogTools.h.
|
inline |
Definition at line 215 of file LogTools.h.
|
related |
Stream output.
Definition at line 224 of file LogTools.h.
|
related |
Convenience function to create DumpMap from std::map.
Definition at line 229 of file LogTools.h.
|
private |
Definition at line 219 of file LogTools.h.