libzypp 17.31.7
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 ()
 templated convenience ctor. More...

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 ( )

Definition at line 108 of file Filter.h.

◆ ByKind() [2/2]

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

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

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

Filter fitting PoolItem/ResObject.

Definition at line 122 of file Filter.h.

Friends And Related Function Documentation

◆ byKind()

template<class TRes >
ByKind byKind ( )

templated convenience ctor.

Definition at line 131 of file Filter.h.

Member Data Documentation

◆ _kind

ResKind zypp::filter::ByKind::_kind

Definition at line 126 of file Filter.h.

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