libzypp  11.13.5
zypp::target Namespace Reference

Namespaces

namespace  rpm
namespace  hal

Classes

class  CommitPackageCache
 Target::commit helper optimizing package provision. More...
struct  IMediaKey
 Helper storing a source id and media number. More...
class  CommitPackageCacheReadAhead
class  HardLocksFile
 Save and restore hardlocks. More...
struct  modalias_list
class  Modalias
 Hardware abstaction layer singleton. More...
class  RequestedLocalesFile
 Save and restore locale set from file. More...
class  SoftLocksFile
 Save and restore soft locks. More...
class  RpmInstallPackageReceiver
class  RpmRemovePackageReceiver
class  TargetException
 Just inherits Exception to separate target exceptions. More...
class  TargetAbortedException
class  CommitPlugins
 Helper for commit plugin execution. More...
struct  QueryInstalledEditionHelper
 Helper for PackageProvider queries during commit. More...
struct  RepoProvidePackage
 Let the Source provide the package. More...
class  TargetImpl
 Base class for concrete Target implementations. More...
struct  PatchMessageReport
 Request to display the pre commit message of a patch. More...
struct  PatchScriptReport
 Indicate execution of a patch script. More...

Functions

std::ostream & operator<< (std::ostream &str, const CommitPackageCache &obj)
std::ostream & operator<< (std::ostream &str, const IMediaKey &obj)
std::ostream & operator<< (std::ostream &str, const HardLocksFile &obj)
std::ostream & operator<< (std::ostream &str, const Modalias &obj)
std::ostream & operator<< (std::ostream &str, const RequestedLocalesFile &obj)
std::ostream & operator<< (std::ostream &str, const SoftLocksFile &obj)
void testCommitPlugins (const Pathname &path_r)
void writeUpgradeTestcase ()
void XRunUpdateMessages (const Pathname &root_r, const Pathname &messagesPath_r, const std::vector< sat::Solvable > &checkPackages_r, ZYppCommitResult &result_r)
 IMPL_PTR_TYPE (TargetImpl)
static std::string generateRandomId ()
 generates a random id using uuidgen
void updateFileContent (const Pathname &filename, boost::function< bool()> condition, boost::function< string()> value)
 updates the content of filename if condition is true, setting the content the the value returned by value
static bool fileMissing (const Pathname &pathname)
 helper functor
 DEFINE_PTR_TYPE (TargetImpl)

Function Documentation

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

Definition at line 72 of file CommitPackageCache.cc.

std::ostream & zypp::target::operator<< ( std::ostream &  str,
const IMediaKey &  obj 
)

Definition at line 35 of file CommitPackageCacheReadAhead.cc.

std::ostream& zypp::target::operator<< ( std::ostream &  str,
const HardLocksFile &  obj 
)
related

Definition at line 72 of file HardLocksFile.cc.

std::ostream& zypp::target::operator<< ( std::ostream &  str,
const Modalias &  obj 
)
related

Definition at line 277 of file Modalias.cc.

std::ostream& zypp::target::operator<< ( std::ostream &  str,
const RequestedLocalesFile &  obj 
)
related

Definition at line 80 of file RequestedLocalesFile.cc.

std::ostream& zypp::target::operator<< ( std::ostream &  str,
const SoftLocksFile &  obj 
)
related

Definition at line 80 of file SoftLocksFile.cc.

void zypp::target::testCommitPlugins ( const Pathname &  path_r)

Definition at line 171 of file TargetImpl.cc.

void zypp::target::writeUpgradeTestcase ( )

Definition at line 185 of file TargetImpl.cc.

void zypp::target::XRunUpdateMessages ( const Pathname &  root_r,
const Pathname &  messagesPath_r,
const std::vector< sat::Solvable > &  checkPackages_r,
ZYppCommitResult &  result_r 
)

Definition at line 576 of file TargetImpl.cc.

zypp::target::IMPL_PTR_TYPE ( TargetImpl  )
static std::string zypp::target::generateRandomId ( )
static

generates a random id using uuidgen

Definition at line 672 of file TargetImpl.cc.

void zypp::target::updateFileContent ( const Pathname &  filename,
boost::function< bool()>  condition,
boost::function< string()>  value 
)

updates the content of filename if condition is true, setting the content the the value returned by value

Definition at line 683 of file TargetImpl.cc.

static bool zypp::target::fileMissing ( const Pathname &  pathname)
static

helper functor

Definition at line 718 of file TargetImpl.cc.

zypp::target::DEFINE_PTR_TYPE ( TargetImpl  )