libzypp 17.31.23
|
Functor counting ResObjects per Kind. More...
#include <pool/PoolStats.h>
Public Types | |
typedef std::map< ResKind, Counter< unsigned > > | KindMap |
Public Member Functions | |
void | operator() (ResObject::constPtr ptr) |
Public Attributes | |
Counter< unsigned > | _total |
KindMap | _perKind |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const PoolStats &obj) |
Stream output. | |
template<class TIterator > | |
std::ostream & | dumpPoolStats (std::ostream &str, TIterator begin_r, TIterator end_r) |
Convenience to count and print out the number of ResObjects per Kind in a container. | |
Functor counting ResObjects per Kind.
Definition at line 44 of file PoolStats.h.
typedef std::map<ResKind,Counter<unsigned> > zypp::pool::PoolStats::KindMap |
Definition at line 52 of file PoolStats.h.
|
inline |
Definition at line 46 of file PoolStats.h.
|
related |
Stream output.
Definition at line 31 of file PoolStats.cc.
|
related |
Convenience to count and print out the number of ResObjects per Kind in a container.
Fits container of ResObject::Ptr or PoolItem.
Definition at line 70 of file PoolStats.h.
Counter<unsigned> zypp::pool::PoolStats::_total |
Definition at line 53 of file PoolStats.h.
KindMap zypp::pool::PoolStats::_perKind |
Definition at line 54 of file PoolStats.h.