libzypp  10.5.0
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 #include "zypp/base/Deprecated.h"
00020 
00022 namespace zypp
00023 { 
00024 
00025   namespace pool
00026   { 
00027 
00029     //
00030     //  CLASS NAME : GetResolvablesToInsDel
00031     //
00038     struct ZYPP_DEPRECATED GetResolvablesToInsDel
00039     {
00040       typedef std::list<PoolItem> PoolItemList;
00041 
00049       enum Order { ORDER_BY_SOURCE, ORDER_BY_MEDIANR };
00050 
00052       GetResolvablesToInsDel( ResPool pool_r,
00053                               Order order_r = ORDER_BY_SOURCE );
00054 
00056       void debugDiffTransaction() const;
00057 
00058       PoolItemList _toDelete;
00059       PoolItemList _toInstall;
00060       PoolItemList _toSrcinstall;
00061     };
00063 
00065     std::ostream & operator<<( std::ostream & str, const GetResolvablesToInsDel & obj );
00066 
00068   } // namespace pool
00071 } // namespace zypp
00073 #endif // ZYPP_POOL_GETRESOLVABLESTOINSDEL_H
00074