12 #ifndef zypp_source_yum_RepomdFileReader_H 13 #define zypp_source_yum_RepomdFileReader_H 17 #include <zypp/base/PtrTypes.h> 18 #include <zypp/base/NonCopyable.h> 19 #include <zypp/base/Function.h> 21 #include <zypp-core/OnMediaLocation> 42 typedef function< bool( OnMediaLocation &&, const std::string & )>
ProcessResource;
61 const std::set<std::string> &
keywords()
const;
64 std::vector<std::pair<std::string,std::string>>
keyhints()
const;
76 #endif // zypp_source_yum_RepomdFileReader_H RepomdFileReader(const Pathname &repomd_file, const ProcessResource &callback)
CTOR.
function< bool(OnMediaLocation &&, const std::string &)> ProcessResource
Callback taking OnMediaLocation and the resource type string.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
std::vector< std::pair< std::string, std::string > > keyhints() const
gpg key hits shipped in keywords (bsc#1184326)
RW_pointer< Impl, rw_pointer::Scoped< Impl > > _pimpl
const std::set< std::string > & keywords() const
repo keywords parsed on the fly
Reads through a repomd.xml file and collects type, location, checksum and other data about metadata f...
Wrapper for const correct access via Smart pointer types.
Easy-to use interface to the ZYPP dependency resolver.