12 #ifndef ZYPP_POOL_POOLSTATS_H
13 #define ZYPP_POOL_POOLSTATS_H
44 struct PoolStats :
public std::unary_function<ResObject::constPtr, void>
52 typedef std::map<ResKind,Counter<unsigned> >
KindMap;
69 template <
class _Iterator>
70 std::ostream & dumpPoolStats( std::ostream & str,
71 _Iterator begin_r, _Iterator end_r )
74 std::for_each( begin_r, end_r,
75 functor::functorRef<void,ResObject::constPtr>(stats) );
82 #endif // ZYPP_POOL_POOLSTATS_H