12#ifndef ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
13#define ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
17#include <zypp/base/Logger.h>
18#include <zypp/base/Exception.h>
83 if ( ret.
value().empty() )
112 return str <<
"CommitPackageCache::Impl";
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
reference value() const
Reference to the Tp object.
Integral type with defined initial value when default constructed.
Base class for Exception.
Combining sat::Solvable and ResStatus.
Base for CommitPackageCache implementations (implements no chache).
const std::vector< sat::Solvable > & commitList() const
void preloaded(bool newval_r)
DefaultIntegral< bool, false > _preloaded
virtual ManagedFile sourceProvidePackage(const PoolItem &pi) const
Let the Source provide the package.
virtual ManagedFile get(const PoolItem &citem_r)
Provide the package.
Impl(const PackageProvider &packageProvider_r)
virtual ManagedFile sourceProvideCachedPackage(const PoolItem &pi) const
Let the Source provide an already cached package.
std::vector< sat::Solvable > _commitList
std::ostream & operator<<(std::ostream &str, const CommitPackageCache::Impl &obj)
Stream output.
void setCommitList(std::vector< sat::Solvable > commitList_r)
PackageProvider _packageProvider
CommitPackageCache::PackageProvider PackageProvider
function< ManagedFile(const PoolItem &pi, bool fromCache_r)> PackageProvider
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.