18#include <zypp/base/Function.h>
71 :
_sel(
std::mem_fn(&sat::Solvable::supportsLocales) )
76 :
_sel(
std::bind(
std::mem_fn((
LS1)&sat::Solvable::supportsLocale), _1, locale_r ) )
81 :
_sel(
std::bind(
std::mem_fn((
LS2)&sat::Solvable::supportsLocale), _1, locales_r ) )
121 template<
class TSolv>
123 {
return operator()( solv_r.satSolvable() ); }
157 template<
class TSolv>
183 template<
class TSolv>
185 :
_item( solv_r.satSolvable() )
199 template<
class TSolv>
201 {
return operator()( solv_r.satSolvable() ); }
'Language[_Country]' codes.
Combining sat::Solvable and ResStatus.
ResStatus & status() const
Returns the current status.
Filter solvables according to their kind.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
bool operator()(const TSolv &solv_r) const
Filter fitting PoolItem/ResObject.
ByKind(const ResKind &kind_r)
ByKind byKind()
templated convenience ctor.
Filter solvables according to their locale support.
ByLocaleSupport(const Locale &locale_r)
Solvables supporting locale_r.
ByLocaleSupport()
Solvables with locale support.
ByLocaleSupport(const LocaleSet &locales_r)
Solvables supporting at least one locale in locales_r.
bool operator()(const TSolv &solv_r) const
Filter fitting PoolItem/ResObject.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
bool(sat::Solvable::* LS1)(const Locale &) const
function< bool(const sat::Solvable &)> _sel
bool(sat::Solvable::* LS2)(const LocaleSet &) const
Filter solvables according to their status.
bool operator()(const TSolv &solv_r) const
Filter fitting sat::Solvable/ResObject.
bool operator()(const PoolItem &pi_r) const
Filter on PoolItem.
bool(ResStatus::* Predicate)() const
ByStatus(Predicate pred_r=0)
Filter items with at least same NVRA, vendor.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
SameItemAs(const sat::Solvable &solv_r)
bool operator()(const TSolv &solv_r) const
Filter fitting PoolItem/ResObject.
SameItemAs(const TSolv &solv_r)
Fitting PoolItem/ResObject.
A Solvable object within the sat Pool.
IdString vendor() const
The vendor.
Edition edition() const
The edition (version-release).
Arch arch() const
The architecture.
std::string name() const
The name (without any ResKind prefix).
bool isKind(const ResKind &kind_r) const
Test whether a Solvable is of a certain ResKind.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Locale > LocaleSet