zypp::_logtoolsdetail::DumpMap< _Map > Class Template Reference

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

#include <LogTools.h>

List of all members.

Classes

struct  Transformer

Public Types

typedef _Map MapType
typedef _Map::value_type PairType
typedef MapEntry< PairTypeMapEntryType
typedef transform_iterator
< Transformer, typename
MapType::const_iterator > 
MapEntry_const_iterator

Public Member Functions

 DumpMap (const _Map &map_r)
const _Map & map () const
MapEntry_const_iterator begin () const
MapEntry_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 DumpMap< _Map > &obj)
template<class _Map >
DumpMap< _Map > dumpMap (const _Map &map_r)


Detailed Description

template<class _Map>
class zypp::_logtoolsdetail::DumpMap< _Map >

std::map wrapper for stream output.

Uses a transform_iterator to wrap the std::pair into MapEntry.

Definition at line 184 of file LogTools.h.


Member Typedef Documentation

template<class _Map >
typedef _Map zypp::_logtoolsdetail::DumpMap< _Map >::MapType

Definition at line 187 of file LogTools.h.

template<class _Map >
typedef _Map::value_type zypp::_logtoolsdetail::DumpMap< _Map >::PairType

Definition at line 188 of file LogTools.h.

template<class _Map >
typedef MapEntry<PairType> zypp::_logtoolsdetail::DumpMap< _Map >::MapEntryType

Definition at line 189 of file LogTools.h.

template<class _Map >
typedef transform_iterator<Transformer, typename MapType::const_iterator> zypp::_logtoolsdetail::DumpMap< _Map >::MapEntry_const_iterator

Definition at line 198 of file LogTools.h.


Constructor & Destructor Documentation

template<class _Map >
zypp::_logtoolsdetail::DumpMap< _Map >::DumpMap ( const _Map &  map_r  )  [inline]

Definition at line 201 of file LogTools.h.


Member Function Documentation

template<class _Map >
const _Map& zypp::_logtoolsdetail::DumpMap< _Map >::map (  )  const [inline]

template<class _Map >
MapEntry_const_iterator zypp::_logtoolsdetail::DumpMap< _Map >::begin (  )  const [inline]

template<class _Map >
MapEntry_const_iterator zypp::_logtoolsdetail::DumpMap< _Map >::end (  )  const [inline]


Friends And Related Function Documentation

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

Stream output.

Definition at line 220 of file LogTools.h.

References zypp::dumpRange().

template<class _Map >
DumpMap< _Map > dumpMap ( const _Map &  map_r  )  [related]

Convenience function to create DumpMap from std::map.

Definition at line 225 of file LogTools.h.


Member Data Documentation

template<class _Map >
const _Map* const zypp::_logtoolsdetail::DumpMap< _Map >::_map [private]

Definition at line 215 of file LogTools.h.

Referenced by zypp::_logtoolsdetail::DumpMap< _Map >::map().


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

doxygen