12 #ifndef ZYPP_REPO_REPOFILEREADER_H 13 #define ZYPP_REPO_REPOFILEREADER_H 17 #include <zypp/base/PtrTypes.h> 18 #include <zypp-core/base/InputStream> 20 #include <zypp-core/ui/ProgressData> 118 #endif // ZYPP_REPO_REPOFILEREADER_H function< bool(const RepoInfo &)> ProcessRepo
Callback definition.
String related utilities and Regular expression matching.
RepoFileReader(const Pathname &repo_file, const ProcessRepo &callback, const ProgressData::ReceiverFnc &progress=ProgressData::ReceiverFnc())
Constructor.
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
std::ostream & operator<<(std::ostream &str, const ProductFileData &obj)
Read repository data from a .repo file.
friend std::ostream & operator<<(std::ostream &str, const RepoFileReader &obj)
Easy-to use interface to the ZYPP dependency resolver.