zypp::Package Class Reference

Package interface. More...

#include <Package.h>

Inheritance diagram for zypp::Package:
[legend]

List of all members.

Public Types

typedef
detail::PackageImplIf 
Impl
typedef Package Self
typedef ResTraits< SelfTraitsType
typedef
TraitsType::PtrType 
Ptr
typedef
TraitsType::constPtrType 
constPtr
typedef std::set
< PackageKeyword
Keywords

Public Member Functions

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
Keywords keywords () 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
std::string sourcePkgName () const
 Name of the source rpm this package was built from.
Edition sourcePkgEdition () const
 Edition of the source rpm this package was built from.
ZYPP_DEPRECATED CheckSum checksum () const
 Checksum the source says this package should have.
OnMediaLocation location () const

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 33 of file Package.h.

typedef Package zypp::Package::Self

Reimplemented from zypp::ResObject.

Definition at line 34 of file Package.h.

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

Reimplemented from zypp::ResObject.

Definition at line 35 of file Package.h.

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

Reimplemented from zypp::ResObject.

Definition at line 36 of file Package.h.

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

Reimplemented from zypp::ResObject.

Definition at line 37 of file Package.h.

typedef std::set<PackageKeyword> zypp::Package::Keywords

Definition at line 40 of file Package.h.


Constructor & Destructor Documentation

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

Definition at line 28 of file Package.cc.

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

Dtor.

Definition at line 37 of file Package.cc.


Member Function Documentation

Changelog zypp::Package::changelog (  )  const

Get the package change log.

Definition at line 46 of file Package.cc.

References pimpl().

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

Definition at line 50 of file Package.cc.

References pimpl().

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

Definition at line 54 of file Package.cc.

References pimpl().

Label zypp::Package::license (  )  const

Definition at line 58 of file Package.cc.

References pimpl().

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

Definition at line 62 of file Package.cc.

References pimpl().

PackageGroup zypp::Package::group (  )  const

Definition at line 66 of file Package.cc.

References pimpl().

Package::Keywords zypp::Package::keywords (  )  const

Definition at line 69 of file Package.cc.

References 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 74 of file Package.cc.

References pimpl().

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

Definition at line 78 of file Package.cc.

References pimpl().

Text zypp::Package::prein (  )  const

Definition at line 82 of file Package.cc.

References pimpl().

Text zypp::Package::postin (  )  const

Definition at line 86 of file Package.cc.

References pimpl().

Text zypp::Package::preun (  )  const

Definition at line 90 of file Package.cc.

References pimpl().

Text zypp::Package::postun (  )  const

Definition at line 94 of file Package.cc.

References pimpl().

ByteCount zypp::Package::sourcesize (  )  const

Definition at line 98 of file Package.cc.

References pimpl().

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

Definition at line 102 of file Package.cc.

References pimpl().

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

Definition at line 106 of file Package.cc.

References pimpl().

std::string zypp::Package::sourcePkgName (  )  const

Name of the source rpm this package was built from.

Empty if unknown.

Definition at line 112 of file Package.cc.

References pimpl().

Edition zypp::Package::sourcePkgEdition (  )  const

Edition of the source rpm this package was built from.

Empty if unknown.

Definition at line 115 of file Package.cc.

References pimpl().

ZYPP_DEPRECATED CheckSum zypp::Package::checksum (  )  const [inline]

Checksum the source says this package should have.

Deprecated:
Use location().checksum()

Definition at line 92 of file Package.h.

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

OnMediaLocation zypp::Package::location (  )  const

Location of the resolvable in the repository

Definition at line 109 of file Package.cc.

References pimpl().

Referenced by checksum().

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

Access implementation.

Implements zypp::ResObject.

Referenced by authors(), buildhost(), changelog(), distribution(), filenames(), group(), keywords(), license(), location(), os(), packager(), postin(), postun(), prein(), preun(), sourcePkgEdition(), sourcePkgName(), 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 Tue Sep 25 19:23:15 2007 for libzypp by  doxygen 1.5.3