libzypp  11.13.5
zypp::target::CommitPackageCache Class Reference

Target::commit helper optimizing package provision. More...

#include <CommitPackageCache.h>

List of all members.

Classes

class  Impl
 Base for CommitPackageCache implementations (implements no chache). More...

Public Types

typedef function< ManagedFile(const
PoolItem &pi)> 
PackageProvider

Public Member Functions

 CommitPackageCache (const Pathname &rootDir_r, const PackageProvider &packageProvider_r)
 Ctor.
 ~CommitPackageCache ()
 Dtor.
void setCommitList (std::vector< sat::Solvable > commitList_r)
 Download(commit) sequence of solvables to compute read ahead.
template<class _Iterator >
void setCommitList (_Iterator begin_r, _Iterator end_r)
ManagedFile get (const PoolItem &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)

Detailed Description

Target::commit helper optimizing package provision.

Definition at line 37 of file CommitPackageCache.h.


Member Typedef Documentation

Definition at line 42 of file CommitPackageCache.h.


Constructor & Destructor Documentation

zypp::target::CommitPackageCache::CommitPackageCache ( const Pathname &  rootDir_r,
const PackageProvider packageProvider_r 
)

Ctor.

Definition at line 41 of file CommitPackageCache.cc.

zypp::target::CommitPackageCache::~CommitPackageCache ( )

Dtor.

Definition at line 56 of file CommitPackageCache.cc.

zypp::target::CommitPackageCache::CommitPackageCache ( Impl pimpl_r)
explicit

Ctor taking an implementation.

Definition at line 35 of file CommitPackageCache.cc.


Member Function Documentation

void zypp::target::CommitPackageCache::setCommitList ( std::vector< sat::Solvable commitList_r)

Download(commit) sequence of solvables to compute read ahead.

Definition at line 59 of file CommitPackageCache.cc.

template<class _Iterator >
void zypp::target::CommitPackageCache::setCommitList ( _Iterator  begin_r,
_Iterator  end_r 
)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 57 of file CommitPackageCache.h.

ManagedFile zypp::target::CommitPackageCache::get ( const PoolItem citem_r)

Provide a package.

Definition at line 64 of file CommitPackageCache.cc.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const CommitPackageCache obj 
)
friend

Definition at line 72 of file CommitPackageCache.cc.

std::ostream & operator<< ( std::ostream &  str,
const CommitPackageCache obj 
)
related

Stream output

Definition at line 72 of file CommitPackageCache.cc.


Member Data Documentation

RW_pointer<Impl> zypp::target::CommitPackageCache::_pimpl
private

Pointer to implementation.

Definition at line 70 of file CommitPackageCache.h.


The documentation for this class was generated from the following files: