libzypp
10.5.0
|
Select ResObject by Edition using _Compare functor. More...
#include <ResFilters.h>
Public Member Functions | |
ByEdition (const Edition &edition_r, _Compare cmp_r) | |
bool | operator() (ResObject::constPtr p) const |
Public Attributes | |
Edition | _edition |
_Compare | _cmp |
Select ResObject by Edition using _Compare functor.
Selects ResObject if _Compare( ResObject->edition(), _edition )
is true
.
// use the convenience funktions to create ByEdition: byEdition( someedition ); // selects ResObjects with edition == someedition byEdition( someedition, CompareByGT<Edition>() ) // edition > someedition
Definition at line 208 of file ResFilters.h.
zypp::resfilter::ByEdition< _Compare >::ByEdition | ( | const Edition & | edition_r, |
_Compare | cmp_r | ||
) | [inline] |
Definition at line 210 of file ResFilters.h.
bool zypp::resfilter::ByEdition< _Compare >::operator() | ( | ResObject::constPtr | p | ) | const [inline] |
Definition at line 216 of file ResFilters.h.
Edition zypp::resfilter::ByEdition< _Compare >::_edition |
Definition at line 221 of file ResFilters.h.
_Compare zypp::resfilter::ByEdition< _Compare >::_cmp |
Definition at line 222 of file ResFilters.h.