zypp::packagedelta::PatchRpm Class Reference

#include <PackageDelta.h>

List of all members.

Public Types

typedef Edition BaseVersion
typedef std::list
< BaseVersion
BaseVersions

Public Member Functions

 PatchRpm ()
const OnMediaLocationlocation () const
const BaseVersionsbaseversions () const
const Datebuildtime () const
PatchRpmsetName (const std::string &val_r)
PatchRpmsetEdition (const Edition &val_r)
PatchRpmsetArch (const Arch &val_r)
PatchRpmsetLocation (const OnMediaLocation &val_r)
PatchRpmsetBaseversions (const BaseVersions &val_r)
PatchRpmaddBaseversion (const BaseVersion &val_r)
PatchRpmsetBuildtime (const Date &val_r)
Target package ident.
const std::string & name () const
const Editionedition () const
const Archarch () const

Private Attributes

std::string _name
Edition _edition
Arch _arch
OnMediaLocation _location
BaseVersions _baseversions
Date _buildtime

Related Functions

(Note that these are not member functions.)

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


Detailed Description

Todo:
cheap copy! (switch to RWCOW)

Definition at line 33 of file PackageDelta.h.


Member Typedef Documentation

typedef Edition zypp::packagedelta::PatchRpm::BaseVersion

Definition at line 36 of file PackageDelta.h.

typedef std::list<BaseVersion> zypp::packagedelta::PatchRpm::BaseVersions

Definition at line 37 of file PackageDelta.h.


Constructor & Destructor Documentation

zypp::packagedelta::PatchRpm::PatchRpm (  )  [inline]

Definition at line 40 of file PackageDelta.h.


Member Function Documentation

const std::string& zypp::packagedelta::PatchRpm::name (  )  const [inline]

Definition at line 46 of file PackageDelta.h.

References _name.

Referenced by zypp::packagedelta::operator<<().

const Edition& zypp::packagedelta::PatchRpm::edition (  )  const [inline]

Definition at line 47 of file PackageDelta.h.

References _edition.

Referenced by zypp::packagedelta::operator<<().

const Arch& zypp::packagedelta::PatchRpm::arch (  )  const [inline]

Definition at line 48 of file PackageDelta.h.

References _arch.

Referenced by zypp::packagedelta::operator<<().

const OnMediaLocation& zypp::packagedelta::PatchRpm::location (  )  const [inline]

Definition at line 50 of file PackageDelta.h.

References _location.

Referenced by zypp::packagedelta::operator<<(), and zypp::repo::PackageProvider::tryPatch().

const BaseVersions& zypp::packagedelta::PatchRpm::baseversions (  )  const [inline]

Definition at line 51 of file PackageDelta.h.

References _baseversions.

Referenced by zypp::packagedelta::operator<<(), and zypp::repo::PackageProvider::tryPatch().

const Date& zypp::packagedelta::PatchRpm::buildtime (  )  const [inline]

Definition at line 52 of file PackageDelta.h.

References _buildtime.

Referenced by zypp::packagedelta::operator<<().

PatchRpm& zypp::packagedelta::PatchRpm::setName ( const std::string &  val_r  )  [inline]

Definition at line 55 of file PackageDelta.h.

References _name.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas().

PatchRpm& zypp::packagedelta::PatchRpm::setEdition ( const Edition val_r  )  [inline]

Definition at line 56 of file PackageDelta.h.

References _edition.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas().

PatchRpm& zypp::packagedelta::PatchRpm::setArch ( const Arch val_r  )  [inline]

Definition at line 57 of file PackageDelta.h.

References _arch.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas().

PatchRpm& zypp::packagedelta::PatchRpm::setLocation ( const OnMediaLocation val_r  )  [inline]

Definition at line 58 of file PackageDelta.h.

References _location.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas().

PatchRpm& zypp::packagedelta::PatchRpm::setBaseversions ( const BaseVersions val_r  )  [inline]

Definition at line 59 of file PackageDelta.h.

References _baseversions.

PatchRpm& zypp::packagedelta::PatchRpm::addBaseversion ( const BaseVersion val_r  )  [inline]

Definition at line 60 of file PackageDelta.h.

References _baseversions.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas().

PatchRpm& zypp::packagedelta::PatchRpm::setBuildtime ( const Date val_r  )  [inline]

Definition at line 61 of file PackageDelta.h.

References _buildtime.

Referenced by zypp::repo::cached::RepoImpl::createPatchAndDeltas().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const PatchRpm obj 
) [related]

Stream output.

Definition at line 28 of file PackageDelta.cc.


Member Data Documentation

std::string zypp::packagedelta::PatchRpm::_name [private]

Definition at line 64 of file PackageDelta.h.

Referenced by name(), and setName().

Edition zypp::packagedelta::PatchRpm::_edition [private]

Definition at line 65 of file PackageDelta.h.

Referenced by edition(), and setEdition().

Arch zypp::packagedelta::PatchRpm::_arch [private]

Definition at line 66 of file PackageDelta.h.

Referenced by arch(), and setArch().

OnMediaLocation zypp::packagedelta::PatchRpm::_location [private]

Definition at line 67 of file PackageDelta.h.

Referenced by location(), and setLocation().

BaseVersions zypp::packagedelta::PatchRpm::_baseversions [private]

Definition at line 68 of file PackageDelta.h.

Referenced by addBaseversion(), baseversions(), and setBaseversions().

Date zypp::packagedelta::PatchRpm::_buildtime [private]

Definition at line 69 of file PackageDelta.h.

Referenced by buildtime(), and setBuildtime().


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