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 ) )
95 function<bool(const sat::Solvable &)>
_sel;
118 template<
class _Solv>
120 {
return operator()( solv_r.satSolvable() ); }
154 template<
class _Solv>
180 template<
class _Solv>
182 :
_item( solv_r.satSolvable() )
196 template<
class _Solv>
198 {
return operator()( solv_r.satSolvable() ); }
215 #endif // ZYPP_FILTER_H
bool operator()(const _Solv &solv_r) const
Filter fitting PoolItem/ResObject.
ByLocaleSupport(const LocaleSet &locales_r)
Solvables supporting at least one locale in locales_r.
A Solvable object within the sat Pool.
bool(ResStatus::* Predicate)() const
Filter solvables according to their status.
bool(sat::Solvable::* LS2)(const LocaleSet &) const
bool operator()(const _Solv &solv_r) const
Filter fitting PoolItem/ResObject.
ByStatus(Predicate pred_r=0)
bool operator()(const PoolItem &pi_r) const
Filter on PoolItem.
function< bool(const sat::Solvable &)> _sel
SameItemAs(const sat::Solvable &solv_r)
bool operator()(const _Solv &solv_r) const
Filter fitting sat::Solvable/ResObject.
Filter solvables according to their locale support.
ResStatus & status() const
Returns the current status.
std::tr1::unordered_set< Locale > LocaleSet
Filter items with at least same NVRA, vendor.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
bool operator()(const _Solv &solv_r) const
Filter fitting PoolItem/ResObject.
bool(sat::Solvable::* LS1)(const Locale &) const
SameItemAs(const _Solv &solv_r)
Fitting PoolItem/ResObject.
Reference to a PoolItem connecting ResObject and ResStatus.
ByLocaleSupport()
Solvables with locale support.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
bool isKind(const ResKind &kind_r) const
Test whether a Solvable is of a certain ResKind.
ByLocaleSupport(const Locale &locale_r)
Solvables supporting locale_r.
bool operator()(const sat::Solvable &solv_r) const
Filter on Solvable.
ByKind(const ResKind &kind_r)
Filter solvables according to their kind.