Go to the documentation of this file.
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
CommitPackageCache::PackageProvider PackageProvider
Impl(const PackageProvider &packageProvider_r)
Combining sat::Solvable and ResStatus.
Base for CommitPackageCache implementations (implements no chache).
PackageProvider _packageProvider
void setCommitList(std::vector< sat::Solvable > commitList_r)
Base class for Exception.
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
virtual ManagedFile get(const PoolItem &citem_r)
Provide the package.
void preloaded(bool newval_r)
std::ostream & operator<<(std::ostream &str, const CommitPackageCache::Impl &obj)
Stream output.
std::vector< sat::Solvable > _commitList
Easy-to use interface to the ZYPP dependency resolver.
DefaultIntegral< bool, false > _preloaded
const std::vector< sat::Solvable > & commitList() const
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
function< ManagedFile(const PoolItem &pi, bool fromCache_r)> PackageProvider
reference value() const
Reference to the Tp object.
virtual ManagedFile sourceProvideCachedPackage(const PoolItem &pi) const
Let the Source provide an already cached package.
String related utilities and Regular expression matching.
virtual ManagedFile sourceProvidePackage(const PoolItem &pi) const
Let the Source provide the package.