Go to the documentation of this file.
71 :
_sel(
boost::mem_fun_ref( &sat::Solvable::supportsLocales ) )
76 :
_sel(
boost::bind(
boost::mem_fun_ref( (
LS1)&sat::Solvable::supportsLocale ), _1, locale_r ) )
81 :
_sel(
boost::bind(
boost::mem_fun_ref( (
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() ); }
218 #endif // ZYPP_FILTER_H
Combining sat::Solvable and ResStatus.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
SameItemAs(const TSolv &solv_r)
Fitting PoolItem/ResObject.
bool operator()(const TSolv &solv_r) const
Filter fitting PoolItem/ResObject.
A Solvable object within the sat Pool.
Filter solvables according to their status.
ByStatus(Predicate pred_r=0)
ByLocaleSupport(const LocaleSet &locales_r)
Solvables supporting at least one locale in locales_r.
bool isKind(const ResKind &kind_r) const
Test whether a Solvable is of a certain ResKind.
bool(sat::Solvable::* LS2)(const LocaleSet &) const
ByKind(const ResKind &kind_r)
SameItemAs(const sat::Solvable &solv_r)
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
bool operator()(const PoolItem &pi_r) const
Filter on PoolItem.
ByLocaleSupport()
Solvables with locale support.
bool(ResStatus::* Predicate)() const
ByLocaleSupport(const Locale &locale_r)
Solvables supporting locale_r.
bool(sat::Solvable::* LS1)(const Locale &) const
Arch arch() const
The architecture.
Edition edition() const
The edition (version-release).
ByKind byKind()
templated convenience ctor.
Filter items with at least same NVRA, vendor.
Easy-to use interface to the ZYPP dependency resolver.
bool operator()(const TSolv &solv_r) const
Filter fitting PoolItem/ResObject.
bool operator()(const TSolv &solv_r) const
Filter fitting sat::Solvable/ResObject.
Filter solvables according to their locale support.
bool operator()(const TSolv &solv_r) const
Filter fitting PoolItem/ResObject.
ResStatus & status() const
Returns the current status.
std::unordered_set< Locale > LocaleSet
Filter solvables according to their kind.
'Language[_Country]' codes.
std::string name() const
The name (without any ResKind prefix).
IdString vendor() const
The vendor.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
function< bool(const sat::Solvable &)> _sel