libzypp
10.5.0
|
std::pair wrapper for std::map output. More...
#include <LogTools.h>
Public Member Functions | |
MapEntry (const _Pair &pair_r) | |
const _Pair & | pair () const |
Private Attributes | |
const _Pair *const | _pair |
Related Functions | |
(Note that these are not member functions.) | |
template<class _Pair > | |
std::ostream & | operator<< (std::ostream &str, const MapEntry< _Pair > &obj) |
template<class _Pair > | |
MapEntry< _Pair > | mapEntry (const _Pair &pair_r) |
std::pair wrapper for std::map output.
Just because we want a special output format for std::pair used in a std::map. The mapped std::pair is printed as [key] = value
.
Definition at line 153 of file LogTools.h.
zypp::_logtoolsdetail::MapEntry< _Pair >::MapEntry | ( | const _Pair & | pair_r | ) | [inline] |
Definition at line 156 of file LogTools.h.
const _Pair& zypp::_logtoolsdetail::MapEntry< _Pair >::pair | ( | ) | const [inline] |
Definition at line 160 of file LogTools.h.
std::ostream & operator<< | ( | std::ostream & | str, |
const MapEntry< _Pair > & | obj | ||
) | [related] |
Stream output.
Definition at line 169 of file LogTools.h.
MapEntry< _Pair > mapEntry | ( | const _Pair & | pair_r | ) | [related] |
Convenience function to create MapEntry from std::pair.
Definition at line 176 of file LogTools.h.
const _Pair* const zypp::_logtoolsdetail::MapEntry< _Pair >::_pair [private] |
Definition at line 164 of file LogTools.h.