12 #ifndef zypp_source_yum_RepoindexFileReader_H 13 #define zypp_source_yum_RepoindexFileReader_H 15 #include <zypp/base/PtrTypes.h> 16 #include <zypp/base/NonCopyable.h> 17 #include <zypp/base/Function.h> 19 #include <zypp/Pathname.h> 20 #include <zypp/Date.h> function< bool(const RepoInfo &)> ProcessResource
Callback definition.
Reads through a repoindex.xml file and collects repositories.
RepoindexFileReader(const zypp::Pathname &repoindexFile, const ProcessResource &callback)
CTOR.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
~RepoindexFileReader()
DTOR.
Wrapper for const correct access via Smart pointer types.
Date::Duration ttl() const
Metadata TTL (repoindex.xml:xpath:/repoindex or 0).
Easy-to use interface to the ZYPP dependency resolver.
RW_pointer< Impl, rw_pointer::Scoped< Impl > > _pimpl