libzypp
10.5.0
|
Functor feeding values to an output_iterator. More...
#include <Collector.h>
Public Member Functions | |
_Collector (_OutputIterator iter_r) | |
template<class _Tp > | |
bool | operator() (const _Tp &value_r) const |
Private Attributes | |
_OutputIterator | _iter |
Related Functions | |
(Note that these are not member functions.) | |
template<class _OutputIterator > | |
_Collector< _OutputIterator > | Collector (_OutputIterator iter_r) |
Functor feeding values to an output_iterator.
LocaleSet locales; for_each( begin(), end(), Collector( std::inserter( locales_r, locales_r.begin() ) ) );
Definition at line 37 of file Collector.h.
zypp::functor::_Collector< _OutputIterator >::_Collector | ( | _OutputIterator | iter_r | ) | [inline] |
Definition at line 39 of file Collector.h.
bool zypp::functor::_Collector< _OutputIterator >::operator() | ( | const _Tp & | value_r | ) | const [inline] |
Definition at line 42 of file Collector.h.
_Collector< _OutputIterator > Collector | ( | _OutputIterator | iter_r | ) | [related] |
Convenience constructor.
Definition at line 55 of file Collector.h.
_OutputIterator zypp::functor::_Collector< _OutputIterator >::_iter [mutable, private] |
Definition at line 49 of file Collector.h.