1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/ResPool.cc
13 //#include "zypp/base/Logger.h"
15 #include "zypp/ResPool.h"
16 #include "zypp/pool/PoolImpl.h"
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////
26 // METHOD NAME : ResPool::ResPool
29 ResPool::ResPool( pool::PoolTraits::Impl_constPtr impl_r )
33 ///////////////////////////////////////////////////////////////////
35 // METHOD NAME : ResPool::~ResPool
41 ///////////////////////////////////////////////////////////////////
43 // Forward to impementation:
45 ///////////////////////////////////////////////////////////////////
47 bool ResPool::empty() const
48 { return _pimpl->empty(); }
50 ResPool::size_type ResPool::size() const
51 { return _pimpl->size(); }
53 ResPool::const_iterator ResPool::begin() const
54 { return _pimpl->begin(); }
56 ResPool::const_iterator ResPool::end() const
57 { return _pimpl->end(); }
59 /******************************************************************
61 ** FUNCTION NAME : operator<<
62 ** FUNCTION TYPE : std::ostream &
64 std::ostream & operator<<( std::ostream & str, const ResPool & obj )
66 return str << *obj._pimpl;
69 /////////////////////////////////////////////////////////////////
71 ///////////////////////////////////////////////////////////////////