12#ifndef ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
13#define ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
84 if ( ret.
value().empty() )
113 return str <<
"CommitPackageCache::Impl";
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.
virtual ManagedFile sourceProvideCachedPackage(const PoolItem &pi) const
Let the Source provide an already cached package.
std::vector< sat::Solvable > _commitList
Impl(PackageProvider &&packageProvider_r)
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 &, bool)> PackageProvider
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.