libzypp  13.10.6
zypp::functor::GetAll< _OutputIterator > Struct Template Reference

Store all results found to some output_iterator. More...

#include <Functional.h>

Public Member Functions

 GetAll (_OutputIterator result_r)
 
template<class _Tp >
bool operator() (const _Tp &val_r) const
 

Private Attributes

_OutputIterator _result
 

Detailed Description

template<class _OutputIterator>
struct zypp::functor::GetAll< _OutputIterator >

Store all results found to some output_iterator.

* std::vector<parser::ProductFileData> result;
* parser::ProductFileReader::scanDir( functor::getAll( std::back_inserter( result ) ),
sysRoot / "etc/products.d" );
*

Definition at line 417 of file Functional.h.

Constructor & Destructor Documentation

template<class _OutputIterator >
zypp::functor::GetAll< _OutputIterator >::GetAll ( _OutputIterator  result_r)
inline

Definition at line 419 of file Functional.h.

Member Function Documentation

template<class _OutputIterator >
template<class _Tp >
bool zypp::functor::GetAll< _OutputIterator >::operator() ( const _Tp &  val_r) const
inline

Definition at line 424 of file Functional.h.

Member Data Documentation

template<class _OutputIterator >
_OutputIterator zypp::functor::GetAll< _OutputIterator >::_result
mutableprivate

Definition at line 428 of file Functional.h.


The documentation for this struct was generated from the following file: