libzypp
10.5.0
|
std::map wrapper for stream output of values. More...
#include <LogTools.h>
Public Types | |
typedef MapKVIteratorTraits < _Map >::Value_const_iterator | MapValue_const_iterator |
Public Member Functions | |
DumpValues (const _Map &map_r) | |
const _Map & | map () const |
MapValue_const_iterator | begin () const |
MapValue_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 DumpValues< _Map > &obj) |
template<class _Map > | |
DumpValues< _Map > | dumpValues (const _Map &map_r) |
std::map wrapper for stream output of values.
Uses MapKVIterator iterate and write the values.
std::map<...> mymap; std::cout << dumpValues(mymap) << std::endl;
Definition at line 289 of file LogTools.h.
typedef MapKVIteratorTraits<_Map>::Value_const_iterator zypp::_logtoolsdetail::DumpValues< _Map >::MapValue_const_iterator |
Definition at line 292 of file LogTools.h.
zypp::_logtoolsdetail::DumpValues< _Map >::DumpValues | ( | const _Map & | map_r | ) | [inline] |
Definition at line 295 of file LogTools.h.
const _Map& zypp::_logtoolsdetail::DumpValues< _Map >::map | ( | ) | const [inline] |
Definition at line 299 of file LogTools.h.
MapValue_const_iterator zypp::_logtoolsdetail::DumpValues< _Map >::begin | ( | ) | const [inline] |
Definition at line 302 of file LogTools.h.
MapValue_const_iterator zypp::_logtoolsdetail::DumpValues< _Map >::end | ( | ) | const [inline] |
Definition at line 305 of file LogTools.h.
std::ostream & operator<< | ( | std::ostream & | str, |
const DumpValues< _Map > & | obj | ||
) | [related] |
Stream output.
Definition at line 314 of file LogTools.h.
DumpValues< _Map > dumpValues | ( | const _Map & | map_r | ) | [related] |
Convenience function to create DumpValues from std::map.
Definition at line 319 of file LogTools.h.
const _Map* const zypp::_logtoolsdetail::DumpValues< _Map >::_map [private] |
Definition at line 309 of file LogTools.h.