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

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

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 371 of file

Constructor & Destructor Documentation

◆ SATCollectTransact()

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 

Definition at line 373 of file

Member Function Documentation

◆ operator()()

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

Definition at line 390 of file

Member Data Documentation

◆ _items_to_install

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

Definition at line 421 of file

◆ _items_to_remove

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

Definition at line 422 of file

◆ _items_to_lock

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

Definition at line 423 of file

◆ _items_to_keep

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

Definition at line 424 of file

◆ _solveSrcPackages

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

Definition at line 425 of file

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