zypp::repo::DeltaCandidates Class Reference

#include <DeltaCandidates.h>

List of all members.

Public Member Functions

 DeltaCandidates (const std::list< Repository > &repos)
 ~DeltaCandidates ()
 Dtor.
std::list
< packagedelta::PatchRpm
patchRpms (const Package::constPtr &package) const
std::list
< packagedelta::DeltaRpm
deltaRpms (const Package::constPtr &package) const

Private Attributes

RWCOW_pointer< Impl_pimpl
 Pointer to implementation.

Friends

std::ostream & operator<< (std::ostream &str, const DeltaCandidates &obj)
 Stream output.

Related Functions

(Note that these are not member functions.)

template<class RepositoryIter>
DeltaCandidates makeDeltaCandidates (RepositoryIter begin_r, RepositoryIter end_r)
 Convenient construction.
template<class RepositoryContainer>
DeltaCandidates makeDeltaCandidates (const RepositoryContainer &cont_r)
 Convenient construction.

Classes

struct  Impl
 DeltaCandidates implementation. More...


Detailed Description

Candidate delta and patches for a package Basically a container that given N repositories, gets all patches and deltas from them for a given package.

Definition at line 36 of file DeltaCandidates.h.


Constructor & Destructor Documentation

zypp::repo::DeltaCandidates::DeltaCandidates ( const std::list< Repository > &  repos  ) 

Creates a candidate calculator

Parameters:
repos Set of repositories providing patch and delta packages
installed_callback Will be used to ask if a package is installed or not

Definition at line 52 of file DeltaCandidates.cc.

zypp::repo::DeltaCandidates::~DeltaCandidates (  ) 

Dtor.

Definition at line 56 of file DeltaCandidates.cc.


Member Function Documentation

std::list< PatchRpm > zypp::repo::DeltaCandidates::patchRpms ( const Package::constPtr package  )  const

Definition at line 59 of file DeltaCandidates.cc.

References _pimpl.

Referenced by zypp::repo::PackageProvider::doProvidePackage().

std::list< DeltaRpm > zypp::repo::DeltaCandidates::deltaRpms ( const Package::constPtr package  )  const

Definition at line 86 of file DeltaCandidates.cc.

References _pimpl.

Referenced by zypp::repo::PackageProvider::doProvidePackage().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const DeltaCandidates obj 
) [friend]

Stream output.

Definition at line 113 of file DeltaCandidates.cc.

template<class RepositoryIter>
DeltaCandidates makeDeltaCandidates ( RepositoryIter  begin_r,
RepositoryIter  end_r 
) [related]

Convenient construction.

Definition at line 71 of file DeltaCandidates.h.

template<class RepositoryContainer>
DeltaCandidates makeDeltaCandidates ( const RepositoryContainer &  cont_r  )  [related]

Convenient construction.

Definition at line 76 of file DeltaCandidates.h.


Member Data Documentation

RWCOW_pointer<Impl> zypp::repo::DeltaCandidates::_pimpl [private]

Pointer to implementation.

Definition at line 60 of file DeltaCandidates.h.

Referenced by deltaRpms(), zypp::repo::operator<<(), and patchRpms().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:25 2007 for libzypp by  doxygen 1.5.3