|
libzypp
9.1.2
|
Target::commit helper optimizing package provision. More...
#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) |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const CommitPackageCache &obj) |
Target::commit helper optimizing package provision.
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().
Dtor.
Definition at line 74 of file CommitPackageCache.cc.
| zypp::target::CommitPackageCache::CommitPackageCache | ( | Impl * | pimpl_r | ) | [explicit] |
Ctor taking an implementation.
Definition at line 40 of file CommitPackageCache.cc.
References _pimpl.
Provide a package.
Definition at line 82 of file CommitPackageCache.cc.
References _pimpl, and zypp::target::CommitPackageCache::Impl::get().
Referenced by zypp::target::TargetImpl::commit().
| std::ostream& operator<< | ( | std::ostream & | str, |
| const CommitPackageCache & | obj | ||
| ) | [friend] |
Definition at line 90 of file CommitPackageCache.cc.
| std::ostream & operator<< | ( | std::ostream & | str, |
| const CommitPackageCache & | obj | ||
| ) | [related] |
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<<().
1.7.6.1