PoolStats.cc
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00012 #include <iostream>
00013
00014
00015 #include "zypp/pool/PoolStats.h"
00016
00017 using std::endl;
00018
00020 namespace zypp
00021 {
00022
00023 namespace pool
00024 {
00025
00026
00027
00028
00029
00030
00031 std::ostream & operator<<( std::ostream & str, const PoolStats & obj )
00032 {
00033 str << "ResObjects: " << obj._total;
00034 for( PoolStats::KindMap::const_iterator it = obj._perKind.begin(); it != obj._perKind.end(); ++it )
00035 {
00036 str << endl << " " << it->first << ":\t" << it->second;
00037 }
00038 return str;
00039 }
00040
00042 }
00045 }