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

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

#include <LogTools.h>

List of all members.

Public Types

typedef MapKVIteratorTraits<
_Map >::Value_const_iterator 
MapValue_const_iterator

Public Member Functions

 DumpValues (const _Map &map_r)
const _Map & map () const
MapValue_const_iterator begin () const
MapValue_const_iterator end () const

Private Attributes

const _Map *const _map

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const DumpValues< _Map > &obj)
DumpValues< _Map > dumpValues (const _Map &map_r)


Detailed Description

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

std::map wrapper for stream output of values.

Uses MapKVIterator iterate and write the values.

 std::map<...> mymap;
 std::cout << dumpValues(mymap) << std::endl;

Definition at line 285 of file LogTools.h.


Member Typedef Documentation

template<class _Map>
typedef MapKVIteratorTraits<_Map>::Value_const_iterator zypp::_logtoolsdetail::DumpValues< _Map >::MapValue_const_iterator
 

Definition at line 288 of file LogTools.h.


Constructor & Destructor Documentation

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

Definition at line 291 of file LogTools.h.


Member Function Documentation

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

Definition at line 295 of file LogTools.h.

template<class _Map>
MapValue_const_iterator zypp::_logtoolsdetail::DumpValues< _Map >::begin  )  const [inline]
 

Definition at line 298 of file LogTools.h.

References zypp::make_map_value_begin().

template<class _Map>
MapValue_const_iterator zypp::_logtoolsdetail::DumpValues< _Map >::end  )  const [inline]
 

Definition at line 301 of file LogTools.h.

References zypp::make_map_value_end().


Friends And Related Function Documentation

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

Stream output.

Definition at line 310 of file LogTools.h.

template<class _Map>
DumpValues< _Map > dumpValues const _Map &  map_r  )  [related]
 

Convenience function to create DumpValues from std::map.

Definition at line 315 of file LogTools.h.


Member Data Documentation

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

Definition at line 305 of file LogTools.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 24 02:25:09 2008 for zypp by  doxygen 1.4.6