zypp::pool::GetResolvablesToInsDel Struct Reference

Collect transacting items and sort according to prereqs and media access. More...

#include <GetResolvablesToInsDel.h>

List of all members.

Public Types

enum  Order { ORDER_BY_SOURCE, ORDER_BY_MEDIANR }
 Influences the sequence of sources and media proscessed. More...
typedef std::list< PoolItemPoolItemList

Public Member Functions

 GetResolvablesToInsDel (ResPool pool_r, Order order_r=ORDER_BY_SOURCE)
void debugDiffTransaction () const
 Diff with new style Transacrion and write result to log.

Public Attributes

PoolItemList _toDelete
PoolItemList _toInstall
PoolItemList _toSrcinstall

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const GetResolvablesToInsDel &obj)


Detailed Description

Collect transacting items and sort according to prereqs and media access.

Deprecated:
Use class sat::Transaction which does a better job esp. when packages are to be deleted.

Definition at line 38 of file GetResolvablesToInsDel.h.


Member Typedef Documentation

Definition at line 40 of file GetResolvablesToInsDel.h.


Member Enumeration Documentation

Influences the sequence of sources and media proscessed.

If true prefer a better source, otherwise a better media.

 ORDER_BY_SOURCE:  [S1:1], [S1:2], ... , [S2:1], [S2:2], ...
 ORDER_BY_MEDIANR: [S1:1], [S2:1], ... , [S1:2], [S2:2], ...
Enumerator:
ORDER_BY_SOURCE 
ORDER_BY_MEDIANR 

Definition at line 49 of file GetResolvablesToInsDel.h.


Constructor & Destructor Documentation

zypp::pool::GetResolvablesToInsDel::GetResolvablesToInsDel ( ResPool  pool_r,
Order  order_r = ORDER_BY_SOURCE 
)


Member Function Documentation

void zypp::pool::GetResolvablesToInsDel::debugDiffTransaction (  )  const

Diff with new style Transacrion and write result to log.

Definition at line 310 of file GetResolvablesToInsDel.cc.

References _toDelete, _toInstall, _toSrcinstall, zypp::sat::Transaction::end(), ERR, zypp::sat::Transaction::find(), for_, zypp::ResPool::instance(), and SEC.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const GetResolvablesToInsDel obj 
) [related]

Stream output

Definition at line 351 of file GetResolvablesToInsDel.cc.


Member Data Documentation

Definition at line 60 of file GetResolvablesToInsDel.h.

Referenced by debugDiffTransaction(), and GetResolvablesToInsDel().


The documentation for this struct was generated from the following files:

Generated on Tue May 5 14:49:44 2015 for libzypp by  doxygen 1.5.6