zypp::detail::PackageImplIf Class Reference

Abstract Package implementation interface. More...

#include <PackageImplIf.h>

Inheritance diagram for zypp::detail::PackageImplIf:
[legend]

List of all members.

Public Types

typedef Package ResType
typedef
packagedelta::DeltaRpm 
DeltaRpm
typedef
packagedelta::PatchRpm 
PatchRpm
typedef std::set
< PackageKeyword
Keywords

Public Member Functions

virtual unsigned mediaNr () const
 Overloaded ResObjectImpl attribute.
virtual ByteCount downloadSize () const
 Overloaded ResObjectImpl attribute.
Rpm Package Attributes.
virtual std::string buildhost () const PURE_VIRTUAL
virtual std::string distribution () const PURE_VIRTUAL
virtual Label license () const PURE_VIRTUAL
virtual std::string packager () const PURE_VIRTUAL
virtual PackageGroup group () const PURE_VIRTUAL
virtual Keywords keywords () const PURE_VIRTUAL
virtual Changelog changelog () const PURE_VIRTUAL
virtual std::string url () const PURE_VIRTUAL
virtual std::string os () const PURE_VIRTUAL
virtual Text prein () const PURE_VIRTUAL
virtual Text postin () const PURE_VIRTUAL
virtual Text preun () const PURE_VIRTUAL
virtual Text postun () const PURE_VIRTUAL
virtual ByteCount sourcesize () const PURE_VIRTUAL
virtual std::list
< std::string > 
authors () const PURE_VIRTUAL
virtual std::list
< std::string > 
filenames () const PURE_VIRTUAL
virtual std::list
< DeltaRpm
deltaRpms () const PURE_VIRTUAL
virtual std::list
< PatchRpm
patchRpms () const PURE_VIRTUAL
virtual OnMediaLocation location () const PURE_VIRTUAL
virtual std::string sourcePkgName () const PURE_VIRTUAL
 Name of the source rpm this package was built from.
virtual Edition sourcePkgEdition () const PURE_VIRTUAL
 Edition of the source rpm this package was built from.


Detailed Description

Abstract Package implementation interface.

Definition at line 42 of file PackageImplIf.h.


Member Typedef Documentation

typedef Package zypp::detail::PackageImplIf::ResType

Definition at line 45 of file PackageImplIf.h.

typedef packagedelta::DeltaRpm zypp::detail::PackageImplIf::DeltaRpm

Definition at line 48 of file PackageImplIf.h.

typedef packagedelta::PatchRpm zypp::detail::PackageImplIf::PatchRpm

Definition at line 49 of file PackageImplIf.h.

typedef std::set<PackageKeyword> zypp::detail::PackageImplIf::Keywords

Definition at line 50 of file PackageImplIf.h.


Member Function Documentation

unsigned zypp::detail::PackageImplIf::mediaNr (  )  const [virtual]

Overloaded ResObjectImpl attribute.

Returns:
The location media number.

Reimplemented from zypp::detail::ResObjectImplIf.

Reimplemented in zypp::repo::cached::PackageImpl.

Definition at line 27 of file PackageImplIf.cc.

References location(), and zypp::OnMediaLocation::medianr().

ByteCount zypp::detail::PackageImplIf::downloadSize (  )  const [virtual]

Overloaded ResObjectImpl attribute.

Returns:
The location downloadSize.

Reimplemented from zypp::detail::ResObjectImplIf.

Reimplemented in zypp::repo::cached::PackageImpl.

Definition at line 24 of file PackageImplIf.cc.

References zypp::OnMediaLocation::downloadSize(), and location().

std::string zypp::detail::PackageImplIf::buildhost (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 35 of file PackageImplIf.cc.

std::string zypp::detail::PackageImplIf::distribution (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 38 of file PackageImplIf.cc.

Label zypp::detail::PackageImplIf::license (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 41 of file PackageImplIf.cc.

std::string zypp::detail::PackageImplIf::packager (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 44 of file PackageImplIf.cc.

PackageGroup zypp::detail::PackageImplIf::group (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 47 of file PackageImplIf.cc.

PackageImplIf::Keywords zypp::detail::PackageImplIf::keywords (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, and zypp::repo::memory::PackageImpl.

Definition at line 50 of file PackageImplIf.cc.

Referenced by zypp::repo::cached::PackageImpl::keywords().

Changelog zypp::detail::PackageImplIf::changelog (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 53 of file PackageImplIf.cc.

std::string zypp::detail::PackageImplIf::url (  )  const [virtual]

Don't ship it as class Url, because it might be in fact anything but a legal Url.

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 56 of file PackageImplIf.cc.

std::string zypp::detail::PackageImplIf::os (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 59 of file PackageImplIf.cc.

Text zypp::detail::PackageImplIf::prein (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 62 of file PackageImplIf.cc.

Text zypp::detail::PackageImplIf::postin (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 65 of file PackageImplIf.cc.

Text zypp::detail::PackageImplIf::preun (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 68 of file PackageImplIf.cc.

Text zypp::detail::PackageImplIf::postun (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 71 of file PackageImplIf.cc.

ByteCount zypp::detail::PackageImplIf::sourcesize (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 74 of file PackageImplIf.cc.

std::list< std::string > zypp::detail::PackageImplIf::authors (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, and zypp::repo::memory::PackageImpl.

Definition at line 80 of file PackageImplIf.cc.

Referenced by zypp::repo::cached::PackageImpl::authors().

std::list< std::string > zypp::detail::PackageImplIf::filenames (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 83 of file PackageImplIf.cc.

std::list< PackageImplIf::DeltaRpm > zypp::detail::PackageImplIf::deltaRpms (  )  const [virtual]

Definition at line 86 of file PackageImplIf.cc.

std::list< PackageImplIf::PatchRpm > zypp::detail::PackageImplIf::patchRpms (  )  const [virtual]

Definition at line 89 of file PackageImplIf.cc.

OnMediaLocation zypp::detail::PackageImplIf::location (  )  const [virtual]

Reimplemented in zypp::repo::cached::PackageImpl, zypp::repo::memory::PackageImpl, and zypp::target::rpm::RPMPackageImpl.

Definition at line 77 of file PackageImplIf.cc.

Referenced by downloadSize(), and mediaNr().

std::string zypp::detail::PackageImplIf::sourcePkgName (  )  const [virtual]

Name of the source rpm this package was built from.

Empty if unknown.

Reimplemented in zypp::repo::cached::PackageImpl.

Definition at line 92 of file PackageImplIf.cc.

Edition zypp::detail::PackageImplIf::sourcePkgEdition (  )  const [virtual]

Edition of the source rpm this package was built from.

Empty if unknown.

Reimplemented in zypp::repo::cached::PackageImpl.

Definition at line 95 of file PackageImplIf.cc.


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