12 #ifndef ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
13 #define ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
83 if ( ret.
value().empty() )
112 return str <<
"CommitPackageCache::Impl";
121 #endif // ZYPP_TARGET_COMMITPACKAGECACHEIMPL_H
Impl(const PackageProvider &packageProvider_r)
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
function< ManagedFile(const PoolItem &pi, bool fromCache_r)> PackageProvider
PackageProvider _packageProvider
void preloaded(bool newval_r)
std::vector< sat::Solvable > _commitList
virtual ManagedFile sourceProvidePackage(const PoolItem &pi) const
Let the Source provide the package.
CommitPackageCache::PackageProvider PackageProvider
void setCommitList(std::vector< sat::Solvable > commitList_r)
const std::vector< sat::Solvable > & commitList() const
reference value() const
Reference to the Tp object.
DefaultIntegral< bool, false > _preloaded
Base for CommitPackageCache implementations (implements no chache).
virtual ManagedFile sourceProvideCachedPackage(const PoolItem &pi) const
Let the Source provide an already cached package.
Base class for Exception.
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Combining sat::Solvable and ResStatus.
std::ostream & operator<<(std::ostream &str, const CommitPackageCache::Impl &obj)