libzypp 17.31.23
|
std::map wrapper for stream output. More...
#include <base/LogTools.h>
Classes | |
struct | Transformer |
Public Types | |
typedef TMap | MapType |
typedef TMap::value_type | PairType |
typedef MapEntry< PairType > | MapEntryType |
typedef transform_iterator< Transformer, typename MapType::const_iterator > | MapEntry_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) |
Stream output. | |
template<class TMap > | |
DumpMap< TMap > | dumpMap (const TMap &map_r) |
Convenience function to create DumpMap from std::map. | |
std::map wrapper for stream output.
Uses a transform_iterator to wrap the std::pair into MapEntry.
Definition at line 238 of file LogTools.h.
typedef TMap zypp::_logtoolsdetail::DumpMap< TMap >::MapType |
Definition at line 241 of file LogTools.h.
typedef TMap::value_type zypp::_logtoolsdetail::DumpMap< TMap >::PairType |
Definition at line 242 of file LogTools.h.
typedef MapEntry<PairType> zypp::_logtoolsdetail::DumpMap< TMap >::MapEntryType |
Definition at line 243 of file LogTools.h.
typedef transform_iterator<Transformer, typename MapType::const_iterator> zypp::_logtoolsdetail::DumpMap< TMap >::MapEntry_const_iterator |
Definition at line 252 of file LogTools.h.
|
inline |
Definition at line 255 of file LogTools.h.
|
inline |
Definition at line 259 of file LogTools.h.
|
inline |
Definition at line 262 of file LogTools.h.
|
inline |
Definition at line 265 of file LogTools.h.
|
related |
Stream output.
Definition at line 274 of file LogTools.h.
|
related |
Convenience function to create DumpMap from std::map.
Definition at line 279 of file LogTools.h.
|
private |
Definition at line 269 of file LogTools.h.