zypp::_logtoolsdetail::MapEntry< _Pair > Class Template Reference

std::pair wrapper for std::map output. More...

#include <LogTools.h>

List of all members.

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)


Detailed Description

template<class _Pair>
class zypp::_logtoolsdetail::MapEntry< _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 149 of file LogTools.h.


Constructor & Destructor Documentation

template<class _Pair >
zypp::_logtoolsdetail::MapEntry< _Pair >::MapEntry ( const _Pair &  pair_r  )  [inline]

Definition at line 152 of file LogTools.h.


Member Function Documentation

template<class _Pair >
const _Pair& zypp::_logtoolsdetail::MapEntry< _Pair >::pair (  )  const [inline]

Definition at line 156 of file LogTools.h.

References zypp::_logtoolsdetail::MapEntry< _Pair >::_pair.


Friends And Related Function Documentation

template<class _Pair >
std::ostream & operator<< ( std::ostream &  str,
const MapEntry< _Pair > &  obj 
) [related]

Stream output.

Definition at line 165 of file LogTools.h.

template<class _Pair >
MapEntry< _Pair > mapEntry ( const _Pair &  pair_r  )  [related]

Convenience function to create MapEntry from std::pair.

Definition at line 172 of file LogTools.h.


Member Data Documentation

template<class _Pair >
const _Pair* const zypp::_logtoolsdetail::MapEntry< _Pair >::_pair [private]

Definition at line 160 of file LogTools.h.

Referenced by zypp::_logtoolsdetail::MapEntry< _Pair >::pair().


The documentation for this class was generated from the following file:

doxygen