|
libzypp
9.1.2
|
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.
References zypp::resfilter::ByEdition< _Compare >::_cmp, and zypp::resfilter::ByEdition< _Compare >::_edition.
| Edition zypp::resfilter::ByEdition< _Compare >::_edition |
Definition at line 221 of file ResFilters.h.
Referenced by zypp::resfilter::ByEdition< _Compare >::operator()().
| _Compare zypp::resfilter::ByEdition< _Compare >::_cmp |
Definition at line 222 of file ResFilters.h.
Referenced by zypp::resfilter::ByEdition< _Compare >::operator()().
1.7.6.1