libzypp  17.14.0
zypp::functor::GetAll< TOutputIterator > Struct Template Reference

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

#include <Functional.h>

Public Member Functions

 GetAll (TOutputIterator result_r)
 
template<class Tp >
bool operator() (const Tp &val_r) const
 

Private Attributes

TOutputIterator _result
 

Detailed Description

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

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 415 of file Functional.h.

Constructor & Destructor Documentation

◆ GetAll()

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

Definition at line 417 of file Functional.h.

Member Function Documentation

◆ operator()()

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

Definition at line 422 of file Functional.h.

Member Data Documentation

◆ _result

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

Definition at line 426 of file Functional.h.


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