libzypp  10.5.0
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 188 of file LogTools.h.


Member Typedef Documentation

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

Definition at line 191 of file LogTools.h.

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

Definition at line 192 of file LogTools.h.

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

Definition at line 193 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 202 of file LogTools.h.


Constructor & Destructor Documentation

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

Definition at line 205 of file LogTools.h.


Member Function Documentation

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

Definition at line 209 of file LogTools.h.

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

Definition at line 212 of file LogTools.h.

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

Definition at line 215 of file LogTools.h.


Friends And Related Function Documentation

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

Stream output.

Definition at line 224 of file LogTools.h.

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

Convenience function to create DumpMap from std::map.

Definition at line 229 of file LogTools.h.


Member Data Documentation

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

Definition at line 219 of file LogTools.h.


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