libzypp  17.7.0
zypp::filter::ByLocaleSupport Class Reference

Filter solvables according to their locale support. More...

#include <Filter.h>

Public Member Functions

 ByLocaleSupport ()
 Solvables with locale support. More...
 
 ByLocaleSupport (const Locale &locale_r)
 Solvables supporting locale_r. More...
 
 ByLocaleSupport (const LocaleSet &locales_r)
 Solvables supporting at least one locale in locales_r. More...
 
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 Types

typedef bool(sat::Solvable::* LS1) (const Locale &) const
 
typedef bool(sat::Solvable::* LS2) (const LocaleSet &) const
 

Private Attributes

function< bool(const sat::Solvable &)> _sel
 

Detailed Description

Filter solvables according to their locale support.

Definition at line 62 of file Filter.h.

Member Typedef Documentation

◆ LS1

typedef bool(sat::Solvable::* zypp::filter::ByLocaleSupport::LS1) (const Locale &) const
private

Definition at line 65 of file Filter.h.

◆ LS2

typedef bool(sat::Solvable::* zypp::filter::ByLocaleSupport::LS2) (const LocaleSet &) const
private

Definition at line 66 of file Filter.h.

Constructor & Destructor Documentation

◆ ByLocaleSupport() [1/3]

zypp::filter::ByLocaleSupport::ByLocaleSupport ( )
inline

Solvables with locale support.

Definition at line 70 of file Filter.h.

◆ ByLocaleSupport() [2/3]

zypp::filter::ByLocaleSupport::ByLocaleSupport ( const Locale locale_r)
inlineexplicit

Solvables supporting locale_r.

Definition at line 75 of file Filter.h.

◆ ByLocaleSupport() [3/3]

zypp::filter::ByLocaleSupport::ByLocaleSupport ( const LocaleSet locales_r)
inlineexplicit

Solvables supporting at least one locale in locales_r.

Definition at line 80 of file Filter.h.

Member Function Documentation

◆ operator()() [1/2]

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

Filter on Solvable.

Definition at line 86 of file Filter.h.

◆ operator()() [2/2]

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

Filter fitting PoolItem/ResObject.

Definition at line 91 of file Filter.h.

Member Data Documentation

◆ _sel

function<bool(const sat::Solvable &)> zypp::filter::ByLocaleSupport::_sel
private

Definition at line 95 of file Filter.h.


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