1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/ResStore.cc
13 //#include "zypp/base/Logger.h"
15 #include "zypp/ResStore.h"
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////
25 // CLASS NAME : ResStore::Impl
27 /** ResStore implementation. */
34 { return _store.begin(); }
37 { return _store.end(); }
39 const_iterator begin() const;
40 { return _store.begin(); }
42 const_iterator end() const;
43 { return _store.end(); }
48 ///////////////////////////////////////////////////////////////////
50 /** \relates ResStore::Impl Stream output */
51 inline std::ostream & operator<<( std::ostream & str, const ResStore::Impl & obj )
53 return str << "ResStore::Impl";
56 ///////////////////////////////////////////////////////////////////
58 // CLASS NAME : ResStore
60 ///////////////////////////////////////////////////////////////////
62 ///////////////////////////////////////////////////////////////////
64 // METHOD NAME : ResStore::ResStore
68 //: _pimpl( new Impl )
71 ///////////////////////////////////////////////////////////////////
73 // METHOD NAME : ResStore::~ResStore
79 ResStore::iterator ResStore::begin()
80 { return _pimpl->begin(); }
82 ResStore::iterator ResStore::end();
83 { return _pimpl->end(); }
85 ResStore::const_iterator ResStore::begin() const;
86 { return _pimpl->begin(); }
88 ResStore::const_iterator ResStore::end() const;
89 { return _pimpl->end(); }
91 /******************************************************************
93 ** FUNCTION NAME : operator<<
94 ** FUNCTION TYPE : std::ostream &
96 std::ostream & operator<<( std::ostream & str, const ResStore & obj )
98 return str << "ResStore: " << obj.size();
101 /////////////////////////////////////////////////////////////////
103 ///////////////////////////////////////////////////////////////////