libzypp  15.28.6
zypp::solver::detail::SATCollectTransact Class Reference

Commit helper functor distributing PoolItem by status into lists. More...

Inheritance diagram for zypp::solver::detail::SATCollectTransact:

Public Member Functions

 SATCollectTransact (PoolItemList &items_to_install_r, PoolItemList &items_to_remove_r, PoolItemList &items_to_lock_r, PoolItemList &items_to_keep_r, bool solveSrcPackages_r)
 
bool operator() (const PoolItem &item_r)
 

Private Attributes

PoolItemList & _items_to_install
 
PoolItemList & _items_to_remove
 
PoolItemList & _items_to_lock
 
PoolItemList & _items_to_keep
 
bool _solveSrcPackages
 

Detailed Description

Commit helper functor distributing PoolItem by status into lists.

On the fly it clears all PoolItem bySolver/ByApplLow status. The lists are cleared in the Ctor, populated by operator().

Definition at line 262 of file SATResolver.cc.

Constructor & Destructor Documentation

zypp::solver::detail::SATCollectTransact::SATCollectTransact ( PoolItemList &  items_to_install_r,
PoolItemList &  items_to_remove_r,
PoolItemList &  items_to_lock_r,
PoolItemList &  items_to_keep_r,
bool  solveSrcPackages_r 
)
inline

Definition at line 264 of file SATResolver.cc.

Member Function Documentation

bool zypp::solver::detail::SATCollectTransact::operator() ( const PoolItem item_r)
inline

Definition at line 281 of file SATResolver.cc.

Member Data Documentation

PoolItemList& zypp::solver::detail::SATCollectTransact::_items_to_install
private

Definition at line 312 of file SATResolver.cc.

PoolItemList& zypp::solver::detail::SATCollectTransact::_items_to_remove
private

Definition at line 313 of file SATResolver.cc.

PoolItemList& zypp::solver::detail::SATCollectTransact::_items_to_lock
private

Definition at line 314 of file SATResolver.cc.

PoolItemList& zypp::solver::detail::SATCollectTransact::_items_to_keep
private

Definition at line 315 of file SATResolver.cc.

bool zypp::solver::detail::SATCollectTransact::_solveSrcPackages
private

Definition at line 316 of file SATResolver.cc.


The documentation for this class was generated from the following file: