12 #ifndef zypp_source_yum_RepomdFileReader_H
13 #define zypp_source_yum_RepomdFileReader_H
50 typedef function< bool( const OnMediaLocation &, const repo::yum::ResourceType & )>
ProcessResource;
53 typedef function< bool( const OnMediaLocation &, const repo::yum::ResourceType &, const std::string & )>
ProcessResource2;
80 #endif // zypp_source_yum_RepomdFileReader_H
RepomdFileReader(const Pathname &repomd_file, const ProcessResource &callback)
CTOR.
function< bool(const OnMediaLocation &, const repo::yum::ResourceType &, const std::string &)> ProcessResource2
Alternate callback also receiving the ResourceType as string.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
RW_pointer< Impl, rw_pointer::Scoped< Impl > > _pimpl
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.
function< bool(const OnMediaLocation &, const repo::yum::ResourceType &)> ProcessResource
Callbacl taking OnMediaLocation and repo::yum::ResourceType.