libzypp 17.31.23
zypp::filter::ByStatus Class Reference

Filter solvables according to their status. More...

#include <Filter.h>

Public Types

typedef bool(ResStatus::* Predicate) () const
 

Public Member Functions

 ByStatus (Predicate pred_r=0)
 
bool operator() (const PoolItem &pi_r) const
 Filter on PoolItem.
 
template<class TSolv >
bool operator() (const TSolv &solv_r) const
 Filter fitting sat::Solvable/ResObject.
 

Private Attributes

Predicate _pred
 

Detailed Description

Filter solvables according to their status.

Definition at line 141 of file Filter.h.

Member Typedef Documentation

◆ Predicate

typedef bool(ResStatus::* zypp::filter::ByStatus::Predicate) () const

Definition at line 144 of file Filter.h.

Constructor & Destructor Documentation

◆ ByStatus()

zypp::filter::ByStatus::ByStatus ( Predicate  pred_r = 0)
inline

Definition at line 147 of file Filter.h.

Member Function Documentation

◆ operator()() [1/2]

bool zypp::filter::ByStatus::operator() ( const PoolItem pi_r) const
inline

Filter on PoolItem.

Definition at line 153 of file Filter.h.

◆ operator()() [2/2]

template<class TSolv >
bool zypp::filter::ByStatus::operator() ( const TSolv &  solv_r) const
inline

Filter fitting sat::Solvable/ResObject.

Definition at line 158 of file Filter.h.

Member Data Documentation

◆ _pred

Predicate zypp::filter::ByStatus::_pred
private

Definition at line 162 of file Filter.h.


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