libzypp  17.3.0
zypp::filter::ByKind Class Reference

Filter solvables according to their kind. More...

#include <Filter.h>

Public Member Functions

 ByKind ()
 
 ByKind (const ResKind &kind_r)
 
bool operator() (const sat::Solvable &solv_r) const
 Filter on Solvable. More...
 
template<class TSolv >
bool operator() (const TSolv &solv_r) const
 Filter fitting PoolItem/ResObject. More...
 

Private Attributes

ResKind _kind
 

Related Functions

(Note that these are not member functions.)

template<class TRes >
ByKind byKind ()
 

Detailed Description

Filter solvables according to their kind.

Definition at line 105 of file Filter.h.

Constructor & Destructor Documentation

◆ ByKind() [1/2]

zypp::filter::ByKind::ByKind ( )
inline

Definition at line 108 of file Filter.h.

◆ ByKind() [2/2]

zypp::filter::ByKind::ByKind ( const ResKind kind_r)
inline

Definition at line 111 of file Filter.h.

Member Function Documentation

◆ operator()() [1/2]

bool zypp::filter::ByKind::operator() ( const sat::Solvable solv_r) const
inline

Filter on Solvable.

Definition at line 117 of file Filter.h.

◆ operator()() [2/2]

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

Filter fitting PoolItem/ResObject.

Definition at line 122 of file Filter.h.

Member Data Documentation

◆ _kind

ResKind zypp::filter::ByKind::_kind
private

Definition at line 126 of file Filter.h.


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