#include <CommitPackageCache.h>
Classes | |
class | Impl |
Base for CommitPackageCache implementations (implements no chache). More... | |
Public Types | |
typedef std::list< PoolItem > ::const_iterator | const_iterator |
typedef function< ManagedFile(const PoolItem &pi)> | PackageProvider |
Public Member Functions | |
CommitPackageCache (const_iterator begin_r, const_iterator end_r, const Pathname &rootDir_r, const PackageProvider &packageProvider_r) | |
Ctor. | |
~CommitPackageCache () | |
Dtor. | |
ManagedFile | get (const_iterator citem_r) |
Provide a package. | |
CommitPackageCache (Impl *pimpl_r) | |
Ctor taking an implementation. | |
Private Attributes | |
RW_pointer< Impl > | _pimpl |
Pointer to implementation. | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const CommitPackageCache &obj) |
Definition at line 38 of file CommitPackageCache.h.
typedef std::list<PoolItem>::const_iterator zypp::target::CommitPackageCache::const_iterator |
Definition at line 43 of file CommitPackageCache.h.
typedef function<ManagedFile( const PoolItem & pi )> zypp::target::CommitPackageCache::PackageProvider |
Definition at line 44 of file CommitPackageCache.h.
zypp::target::CommitPackageCache::CommitPackageCache | ( | const_iterator | begin_r, | |
const_iterator | end_r, | |||
const Pathname & | rootDir_r, | |||
const PackageProvider & | packageProvider_r | |||
) |
Ctor.
Definition at line 51 of file CommitPackageCache.cc.
References _pimpl, MIL, and zypp::RW_pointer< _D, _Traits >::reset().
zypp::target::CommitPackageCache::~CommitPackageCache | ( | ) |
zypp::target::CommitPackageCache::CommitPackageCache | ( | Impl * | pimpl_r | ) | [explicit] |
Ctor taking an implementation.
Definition at line 40 of file CommitPackageCache.cc.
References _pimpl.
ManagedFile zypp::target::CommitPackageCache::get | ( | const_iterator | citem_r | ) |
Provide a package.
Definition at line 82 of file CommitPackageCache.cc.
References _pimpl, and zypp::RW_pointer< _D, _Traits >::get().
Referenced by zypp::target::TargetImpl::commit().
std::ostream & operator<< | ( | std::ostream & | str, | |
const CommitPackageCache & | obj | |||
) | [friend] |
Stream output
Definition at line 90 of file CommitPackageCache.cc.
Pointer to implementation.
Definition at line 67 of file CommitPackageCache.h.
Referenced by CommitPackageCache(), get(), and zypp::target::operator<<().