libzypp 17.31.23
|
std::pair wrapper for std::map output. More...
#include <base/LogTools.h>
Public Member Functions | |
MapEntry (const TPair &pair_r) | |
const TPair & | pair () const |
Private Attributes | |
const TPair *const | _pair |
Related Functions | |
(Note that these are not member functions.) | |
template<class TPair > | |
std::ostream & | operator<< (std::ostream &str, const MapEntry< TPair > &obj) |
Stream output. | |
template<class TPair > | |
MapEntry< TPair > | mapEntry (const TPair &pair_r) |
Convenience function to create MapEntry from std::pair. | |
for one attribute | pair |
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 203 of file LogTools.h.
|
inline |
Definition at line 206 of file LogTools.h.
|
inline |
Definition at line 210 of file LogTools.h.
|
related |
Stream output.
Definition at line 219 of file LogTools.h.
|
related |
Convenience function to create MapEntry from std::pair.
Definition at line 226 of file LogTools.h.
|
related |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
private |
Definition at line 214 of file LogTools.h.