zypp::Package Class Reference

Package interface. More...

#include <Package.h>

Inheritance diagram for zypp::Package:

zypp::ResObject zypp::Resolvable zypp::base::ReferenceCounted NonCopyable List of all members.

Public Types

typedef detail::PackageImplIf Impl
typedef Package Self
typedef ResTraits< SelfTraitsType
typedef TraitsType::PtrType Ptr
typedef TraitsType::constPtrType constPtr

Public Member Functions

CheckSum checksum () const
 Checksum the source says this package should have.
Date installtime () const
 Time of package installation.
Changelog changelog () const
 Get the package change log.
Date buildtime () const
std::string buildhost () const
std::string distribution () const
Vendor vendor () const
Label license () const
std::string packager () const
PackageGroup group () const
std::string url () const
 Don't ship it as class Url, because it might be in fact anything but a legal Url.
std::string os () const
Text prein () const
Text postin () const
Text preun () const
Text postun () const
ByteCount sourcesize () const
ByteCount archivesize () const
std::list< std::string > authors () const
std::list< std::string > filenames () const
DiskUsage diskusage () const
 Disk usage per directory.
License licenseToConfirm () const
bool installOnly () const
unsigned mediaId () const
 ID of the media.
Pathname location () const
 location in source

Protected Member Functions

 Package (const NVRAD &nvrad_r)
virtual ~Package ()
 Dtor.

Private Member Functions

virtual Implpimpl ()=0
 Access implementation.
virtual const Implpimpl () const =0
 Access implementation.

Detailed Description

Package interface.

Definition at line 30 of file Package.h.


Member Typedef Documentation

typedef detail::PackageImplIf zypp::Package::Impl
 

Reimplemented from zypp::ResObject.

Definition at line 34 of file Package.h.

typedef Package zypp::Package::Self
 

Reimplemented from zypp::ResObject.

Definition at line 35 of file Package.h.

typedef ResTraits<Self> zypp::Package::TraitsType
 

Reimplemented from zypp::ResObject.

Definition at line 36 of file Package.h.

typedef TraitsType::PtrType zypp::Package::Ptr
 

Reimplemented from zypp::ResObject.

Definition at line 37 of file Package.h.

typedef TraitsType::constPtrType zypp::Package::constPtr
 

Reimplemented from zypp::ResObject.

Definition at line 38 of file Package.h.


Constructor & Destructor Documentation

zypp::Package::Package const NVRAD nvrad_r  )  [protected]
 

Definition at line 29 of file Package.cc.

zypp::Package::~Package  )  [protected, virtual]
 

Dtor.

Definition at line 38 of file Package.cc.


Member Function Documentation

CheckSum zypp::Package::checksum  )  const
 

Checksum the source says this package should have.

Definition at line 62 of file Package.cc.

References zypp::detail::PackageImplIf::checksum(), and pimpl().

Date zypp::Package::installtime  )  const
 

Time of package installation.

Definition at line 51 of file Package.cc.

References zypp::detail::PackageImplIf::installtime(), and pimpl().

Changelog zypp::Package::changelog  )  const
 

Get the package change log.

Definition at line 47 of file Package.cc.

References zypp::detail::PackageImplIf::changelog(), and pimpl().

Date zypp::Package::buildtime  )  const
 

Definition at line 55 of file Package.cc.

References zypp::detail::PackageImplIf::buildtime(), and pimpl().

std::string zypp::Package::buildhost  )  const
 

Definition at line 59 of file Package.cc.

References zypp::detail::PackageImplIf::buildhost(), and pimpl().

std::string zypp::Package::distribution  )  const
 

Definition at line 66 of file Package.cc.

References zypp::detail::PackageImplIf::distribution(), and pimpl().

Vendor zypp::Package::vendor  )  const
 

Definition at line 70 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::vendor().

Label zypp::Package::license  )  const
 

Definition at line 74 of file Package.cc.

References zypp::detail::PackageImplIf::license(), and pimpl().

std::string zypp::Package::packager  )  const
 

Definition at line 78 of file Package.cc.

References zypp::detail::PackageImplIf::packager(), and pimpl().

PackageGroup zypp::Package::group  )  const
 

Definition at line 82 of file Package.cc.

References zypp::detail::PackageImplIf::group(), and pimpl().

std::string zypp::Package::url  )  const
 

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

Definition at line 88 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::url().

std::string zypp::Package::os  )  const
 

Definition at line 92 of file Package.cc.

References zypp::detail::PackageImplIf::os(), and pimpl().

Text zypp::Package::prein  )  const
 

Definition at line 96 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::prein().

Text zypp::Package::postin  )  const
 

Definition at line 100 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::postin().

Text zypp::Package::preun  )  const
 

Definition at line 104 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::preun().

Text zypp::Package::postun  )  const
 

Definition at line 108 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::postun().

ByteCount zypp::Package::sourcesize  )  const
 

Definition at line 112 of file Package.cc.

References pimpl(), and zypp::detail::PackageImplIf::sourcesize().

ByteCount zypp::Package::archivesize  )  const
 

Definition at line 116 of file Package.cc.

References zypp::detail::PackageImplIf::archivesize(), and pimpl().

std::list< std::string > zypp::Package::authors  )  const
 

Definition at line 123 of file Package.cc.

References zypp::detail::PackageImplIf::authors(), and pimpl().

std::list< std::string > zypp::Package::filenames  )  const
 

Definition at line 127 of file Package.cc.

References zypp::detail::PackageImplIf::filenames(), and pimpl().

DiskUsage zypp::Package::diskusage  )  const
 

Disk usage per directory.

Definition at line 119 of file Package.cc.

References zypp::detail::PackageImplIf::diskusage(), and pimpl().

License zypp::Package::licenseToConfirm  )  const
 

Definition at line 131 of file Package.cc.

References zypp::detail::PackageImplIf::licenseToConfirm(), and pimpl().

bool zypp::Package::installOnly  )  const
 

Definition at line 134 of file Package.cc.

References zypp::detail::PackageImplIf::installOnly(), and pimpl().

unsigned zypp::Package::mediaId  )  const
 

ID of the media.

Definition at line 137 of file Package.cc.

References zypp::detail::PackageImplIf::mediaId(), and pimpl().

Pathname zypp::Package::location  )  const
 

location in source

Definition at line 140 of file Package.cc.

References zypp::detail::PackageImplIf::location(), and pimpl().

virtual Impl& zypp::Package::pimpl  )  [private, pure virtual]
 

Access implementation.

Implements zypp::ResObject.

Referenced by archivesize(), authors(), buildhost(), buildtime(), changelog(), checksum(), diskusage(), distribution(), filenames(), group(), installOnly(), installtime(), license(), licenseToConfirm(), location(), mediaId(), os(), packager(), postin(), postun(), prein(), preun(), sourcesize(), url(), and vendor().

virtual const Impl& zypp::Package::pimpl  )  const [private, pure virtual]
 

Access implementation.

Implements zypp::ResObject.


The documentation for this class was generated from the following files:
Generated on Thu May 4 16:03:35 2006 for zypp by  doxygen 1.4.6