libzypp
10.5.0
|
Select ResObject by Arch using _Compare functor. More...
#include <ResFilters.h>
Public Member Functions | |
ByArch (const Arch &arch_r, _Compare cmp_r) | |
bool | operator() (ResObject::constPtr p) const |
Public Attributes | |
Arch | _arch |
_Compare | _cmp |
Select ResObject by Arch using _Compare functor.
Selects ResObject if _Compare( ResObject->arch(), _arch )
is true
.
// use the convenience funktions to create ByArch: byArch( somearch ); // selects ResObjects with arch == somearch byArch( somearch, CompareByGT<Arch>() ) // arch > somearch
Definition at line 249 of file ResFilters.h.
zypp::resfilter::ByArch< _Compare >::ByArch | ( | const Arch & | arch_r, |
_Compare | cmp_r | ||
) | [inline] |
Definition at line 251 of file ResFilters.h.
bool zypp::resfilter::ByArch< _Compare >::operator() | ( | ResObject::constPtr | p | ) | const [inline] |
Definition at line 257 of file ResFilters.h.
Arch zypp::resfilter::ByArch< _Compare >::_arch |
Definition at line 262 of file ResFilters.h.
_Compare zypp::resfilter::ByArch< _Compare >::_cmp |
Definition at line 263 of file ResFilters.h.