libzypp 17.37.17
|
Functor counting ResObjects per Kind. More...
#include <zypp/pool/PoolStats.h>
Public Types | |
using | KindMap = std::map<ResKind, Counter<unsigned int>> |
Public Member Functions | |
void | operator() (const ResObject::constPtr &ptr) |
Public Attributes | |
Counter< unsigned > | _total |
KindMap | _perKind |
Related Symbols | |
(Note that these are not member symbols.) | |
std::ostream & | operator<< (std::ostream &str, const PoolStats &obj) ZYPP_API |
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.
using zypp::pool::PoolStats::KindMap = std::map<ResKind, Counter<unsigned int>> |
Definition at line 52 of file PoolStats.h.
|
inline |
Definition at line 46 of file PoolStats.h.
|
Stream output.
Definition at line 31 of file PoolStats.cc.
|
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.