1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/ResPool.cc
13 //#include "zypp/base/Logger.h"
15 #include "zypp/ResPool.h"
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////
25 // CLASS NAME : ResPool::Impl
27 /** ResPool implementation. */
32 /** Offer default Impl. */
33 static shared_ptr<Impl> nullimpl()
35 static shared_ptr<Impl> _nullimpl( new Impl );
40 friend Impl * rwcowClone<Impl>( const Impl * rhs );
41 /** clone for RWCOW_pointer */
43 { return new Impl( *this ); }
45 ///////////////////////////////////////////////////////////////////
47 /** \relates ResPool::Impl Stream output */
48 inline std::ostream & operator<<( std::ostream & str, const ResPool::Impl & obj )
50 return str << "ResPool::Impl";
53 ///////////////////////////////////////////////////////////////////
55 // CLASS NAME : ResPool
57 ///////////////////////////////////////////////////////////////////
59 ///////////////////////////////////////////////////////////////////
61 // METHOD NAME : ResPool::ResPool
69 ///////////////////////////////////////////////////////////////////
71 // METHOD NAME : ResPool::~ResPool
77 /******************************************************************
79 ** FUNCTION NAME : operator<<
80 ** FUNCTION TYPE : std::ostream &
82 std::ostream & operator<<( std::ostream & str, const ResPool & obj )
84 return str << "ResPool";
87 /////////////////////////////////////////////////////////////////
89 ///////////////////////////////////////////////////////////////////