ResPoolManager.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include <iostream>
00013 #include "zypp/base/Logger.h"
00014 
00015 #include "zypp/ResPoolManager.h"
00016 #include "zypp/pool/PoolImpl.h"
00017 
00018 using std::endl;
00019 
00021 namespace zypp
00022 { 
00023 
00025   //
00026   //    METHOD NAME : ResPoolManager::ResPoolManager
00027   //    METHOD TYPE : Ctor
00028   //
00029   ResPoolManager::ResPoolManager()
00030   : _pimpl( new pool::PoolImpl )
00031   {}
00032 
00034   //
00035   //    METHOD NAME : ResPoolManager::~ResPoolManager
00036   //    METHOD TYPE : Dtor
00037   //
00038   ResPoolManager::~ResPoolManager()
00039   {}
00040 
00042   //
00043   // Forward to impementation:
00044   //
00046 
00047   void ResPoolManager::clear()
00048   { _pimpl->clear(); }
00049 
00051   ResPoolProxy ResPoolManager::proxy() const
00052   { return _pimpl->proxy( accessor() ); }
00053 
00054   /******************************************************************
00055   **
00056   **    FUNCTION NAME : operator<<
00057   **    FUNCTION TYPE : std::ostream &
00058   */
00059   std::ostream & operator<<( std::ostream & str, const ResPoolManager & obj )
00060   {
00061     return str << *obj._pimpl;
00062   }
00063 
00065 } // namespace zypp

Generated on Thu Jul 6 00:07:22 2006 for zypp by  doxygen 1.4.6