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.
Changelog changelog () const
 Get the package change log.
std::string buildhost () const
std::string distribution () 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
std::list< std::string > authors () const
std::list< std::string > filenames () const
DiskUsage diskusage () const
 Disk usage per directory.
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 54 of file Package.cc.

References zypp::detail::PackageImplIf::checksum(), 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().

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

Definition at line 51 of file Package.cc.

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

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

Definition at line 58 of file Package.cc.

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

Label zypp::Package::license  )  const
 

Definition at line 62 of file Package.cc.

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

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

Definition at line 66 of file Package.cc.

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

PackageGroup zypp::Package::group  )  const
 

Definition at line 70 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 76 of file Package.cc.

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

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

Definition at line 80 of file Package.cc.

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

Text zypp::Package::prein  )  const
 

Definition at line 84 of file Package.cc.

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

Text zypp::Package::postin  )  const
 

Definition at line 88 of file Package.cc.

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

Text zypp::Package::preun  )  const
 

Definition at line 92 of file Package.cc.

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

Text zypp::Package::postun  )  const
 

Definition at line 96 of file Package.cc.

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

ByteCount zypp::Package::sourcesize  )  const
 

Definition at line 100 of file Package.cc.

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

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

Definition at line 107 of file Package.cc.

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

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

Definition at line 111 of file Package.cc.

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

DiskUsage zypp::Package::diskusage  )  const
 

Disk usage per directory.

Definition at line 103 of file Package.cc.

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

Pathname zypp::Package::location  )  const
 

location in source

Definition at line 114 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 authors(), buildhost(), changelog(), checksum(), diskusage(), distribution(), filenames(), group(), license(), location(), os(), packager(), postin(), postun(), prein(), preun(), sourcesize(), and url().

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 Jul 6 00:07:30 2006 for zypp by  doxygen 1.4.6