zypp::source Namespace Reference


Classes

class  MediaSet
class  OnMediaLocation
class  PackageProviderPolicy
class  PackageProvider
 Provide a package from a Source. More...
class  DownloadProgressPackageReceiver
class  DownloadProgressFileReceiver
class  SourceImpl
 Base class for concrete Source implementations. More...
class  ProvideFilePolicy
 Policy for provideFile. More...
class  SkipRequestedException
 A specialized exception to inform the caller that user specifically asked the file/directory providing to be skipped. More...
struct  DownloadResolvableReport
struct  DownloadFileReport
struct  RefreshSourceReport
struct  CreateSourceReport

Namespaces

namespace  plaindir
namespace  susetags
namespace  yum

Typedefs

typedef AutoDispose< const
Pathname
ManagedFile

Functions

 IMPL_PTR_TYPE (MediaSet)
 DEFINE_PTR_TYPE (MediaSet)
std::ostream & operator<< (std::ostream &str, const OnMediaLocation &obj)
std::string defRpmFileName (const Package::constPtr &package)
 IMPL_PTR_TYPE (SourceImpl)
 DEFINE_PTR_TYPE (SourceImpl)
bool yes ()
bool no ()
ManagedFile provideFile (Source_Ref source_r, const source::OnMediaLocation &loc_r, const ProvideFilePolicy &policy_r=ProvideFilePolicy())
 Provide a file from a Source.


Typedef Documentation

typedef AutoDispose<const Pathname> zypp::source::ManagedFile
 

Definition at line 27 of file ManagedFile.h.


Function Documentation

zypp::source::IMPL_PTR_TYPE MediaSet   ) 
 

zypp::source::DEFINE_PTR_TYPE MediaSet   ) 
 

std::ostream& zypp::source::operator<< std::ostream &  str,
const OnMediaLocation &  obj
 

Definition at line 31 of file OnMediaLocation.cc.

References zypp::source::OnMediaLocation::checksum(), zypp::source::OnMediaLocation::downloadsize(), zypp::source::OnMediaLocation::filename(), and zypp::source::OnMediaLocation::medianr().

std::string zypp::source::@0::defRpmFileName const Package::constPtr &  package  )  [inline, static]
 

Definition at line 54 of file PackageProvider.cc.

Referenced by zypp::source::PackageProvider::tryDelta().

zypp::source::IMPL_PTR_TYPE SourceImpl   ) 
 

zypp::source::DEFINE_PTR_TYPE SourceImpl   ) 
 

bool zypp::source::@0::yes  )  [static]
 

Definition at line 39 of file SourceProvideFile.cc.

Referenced by zypp::source::ProvideFilePolicy::failOnChecksumErrorCB().

bool zypp::source::@0::no  )  [static]
 

Definition at line 40 of file SourceProvideFile.cc.

Referenced by zypp::source::ProvideFilePolicy::failOnChecksumErrorCB().

ManagedFile zypp::source::provideFile Source_Ref  source_r,
const source::OnMediaLocation &  loc_r,
const ProvideFilePolicy &  policy_r = ProvideFilePolicy()
 

Provide a file from a Source.

Let source_r provide the file described by loc_r. In case loc_r contains a checksum, the file is verified. policy_r provides callback hooks for download progress reporting and behaviour on failed checksum verification.

Exceptions:
Exception 

Definition at line 95 of file SourceProvideFile.cc.

References zypp::source::OnMediaLocation::checksum(), zypp::CheckSum::empty(), zypp::source::OnMediaLocation::filename(), zypp::source::OnMediaLocation::medianr(), MIL, zypp::source::ProvideFilePolicy::progress(), zypp::Source_Ref::provideFile(), zypp::Source_Ref::releaseFile(), and WAR.

Referenced by zypp::source::PackageProvider::tryDelta(), and zypp::source::PackageProvider::tryPatch().


Generated on Wed Sep 27 01:17:15 2006 for zypp by  doxygen 1.4.6