GetResolvablesToInsDel.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_POOL_GETRESOLVABLESTOINSDEL_H
00013 #define ZYPP_POOL_GETRESOLVABLESTOINSDEL_H
00014 
00015 #include <iosfwd>
00016 #include <list>
00017 
00018 #include "zypp/ResPool.h"
00019 
00021 namespace zypp
00022 { 
00023 
00024   namespace pool
00025   { 
00026 
00028     //
00029     //  CLASS NAME : GetResolvablesToInsDel
00030     //
00037     struct GetResolvablesToInsDel
00038     {
00039       typedef std::list<PoolItem> PoolItemList;
00040 
00048       enum Order { ORDER_BY_SOURCE, ORDER_BY_MEDIANR };
00049 
00051       GetResolvablesToInsDel( ResPool pool_r,
00052                               Order order_r = ORDER_BY_SOURCE );
00053 
00054       PoolItemList _toDelete;
00055       PoolItemList _toInstall;
00056       PoolItemList _toSrcinstall;
00057     };
00059 
00061     std::ostream & operator<<( std::ostream & str, const GetResolvablesToInsDel & obj );
00062 
00064   } // namespace pool
00067 } // namespace zypp
00069 #endif // ZYPP_POOL_GETRESOLVABLESTOINSDEL_H
00070 

doxygen