| libzypp 17.37.14
    | 
Simple callback to collect the results. More...
#include <zypp/ng/repomanager.h>
 
 | Public Member Functions | |
| RepoCollector () | |
| RepoCollector (std::string targetDistro_) | |
| bool | collect (const RepoInfo &repo) | 
| Public Attributes | |
| RepoInfoList | repos | 
| std::string | targetDistro | 
Simple callback to collect the results.
Classes like RepoFileReader call the callback once per each repo in a file.
Passing this functor as callback, you can collect all results at the end, without dealing with async code.
If targetDistro is set, all repos with non-empty RepoInfo::targetDistribution() will be skipped.
Definition at line 134 of file repomanager.h.
| 
 | inline | 
Definition at line 136 of file repomanager.h.
| 
 | inline | 
Definition at line 139 of file repomanager.h.
Definition at line 148 of file repomanager.cc.
| RepoInfoList zyppng::RepoCollector::repos | 
Definition at line 145 of file repomanager.h.
| std::string zyppng::RepoCollector::targetDistro | 
Definition at line 146 of file repomanager.h.