zypp::ZConfig Class Reference

Interim helper class to collect global options and settings. More...

#include <ZConfig.h>

Inheritance diagram for zypp::ZConfig:

NonCopyable List of all members.

Public Member Functions

bool download_use_patchrpm () const
 Whether to consider using a patchrpm when downloading a package.
bool download_use_deltarpm () const
 Whether to consider using a deltarpm when downloading a package.
 ~ZConfig ()
 Dtor.

Static Public Member Functions

static ZConfiginstance ()
 Singleton ctor.

Private Member Functions

 ZConfig ()
 Default ctor.

Private Attributes

RW_pointer< Impl, rw_pointer::Scoped<
Impl > > 
_pimpl
 Pointer to implementation.

Classes

class  Impl
 ZConfig implementation. More...

Detailed Description

Interim helper class to collect global options and settings.

It reads /etc/zypp/zypp.conf, the filename can be overridden by setting the ZYPP_CONF environment variable to a different file.

Definition at line 38 of file ZConfig.h.


Constructor & Destructor Documentation

zypp::ZConfig::~ZConfig  ) 
 

Dtor.

Definition at line 124 of file ZConfig.cc.

zypp::ZConfig::ZConfig  )  [private]
 

Default ctor.

Definition at line 115 of file ZConfig.cc.


Member Function Documentation

ZConfig & zypp::ZConfig::instance  )  [static]
 

Singleton ctor.

Definition at line 104 of file ZConfig.cc.

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

bool zypp::ZConfig::download_use_patchrpm  )  const
 

Whether to consider using a patchrpm when downloading a package.

Config option download.use_patchrpm (true)

Definition at line 127 of file ZConfig.cc.

References _pimpl.

bool zypp::ZConfig::download_use_deltarpm  )  const
 

Whether to consider using a deltarpm when downloading a package.

Config option download.use_deltarpm (true)

Definition at line 130 of file ZConfig.cc.

References _pimpl.


Member Data Documentation

RW_pointer<Impl, rw_pointer::Scoped<Impl> > zypp::ZConfig::_pimpl [private]
 

Pointer to implementation.

Definition at line 63 of file ZConfig.h.

Referenced by download_use_deltarpm(), and download_use_patchrpm().


The documentation for this class was generated from the following files:
Generated on Thu Apr 24 02:25:08 2008 for zypp by  doxygen 1.4.6