zypp::target::rpm::RPMPackageImpl Class Reference

Class representing a package. More...

#include <RpmPackageImpl.h>

Inheritance diagram for zypp::target::rpm::RPMPackageImpl:

zypp::detail::PackageImplIf zypp::detail::ResObjectImplIf zypp::base::ReferenceCounted NonCopyable List of all members.

Public Member Functions

 RPMPackageImpl (const RpmHeader::constPtr data)
 Default ctor.
virtual TranslatedText summary () const
 Package summary.
virtual TranslatedText description () const
 Package description.
virtual ByteCount size () const
 Size.
virtual Date buildtime () const
virtual std::string buildhost () const
virtual Date installtime () const
 Time of installation, or 0.
virtual std::string distribution () const
virtual Vendor vendor () const
virtual Label license () const
virtual std::string packager () const
virtual PackageGroup group () const
virtual Changelog changelog () const
virtual Pathname location () const
virtual std::string url () const
 Don't ship it as class Url, because it might be in fact anything but a legal Url.
virtual std::string os () const
virtual Text prein () const
virtual Text postin () const
virtual Text preun () const
virtual Text postun () const
virtual ByteCount sourcesize () const
virtual ByteCount archivesize () const
virtual std::list< std::string > authors () const
virtual std::list< std::string > filenames () const
virtual std::string type () const
virtual std::list< std::string > keywords () const
virtual DiskUsage diskUsage () const
virtual Source_Ref source () const
 Backlink to the source providing this.
void setLocation (const Pathname &pathname)
 for 'local' RPMs
void setSource (Source_Ref source)

Protected Attributes

TranslatedText _summary
TranslatedText _description
Date _buildtime
Date _installtime
std::string _buildhost
std::string _url
Vendor _vendor
Label _license
std::string _packager
PackageGroup _group
Changelog _changelog
Pathname _location
std::string _type
std::list< std::string > _authors
std::list< std::string > _keywords
std::list< std::string > _filenames
DiskUsage _disk_usage
ByteCount _size
ByteCount _archivesize
Source_Ref _source

Detailed Description

Class representing a package.

Definition at line 35 of file RpmPackageImpl.h.


Constructor & Destructor Documentation

zypp::target::rpm::RPMPackageImpl::RPMPackageImpl const RpmHeader::constPtr  data  ) 
 

Default ctor.

Definition at line 38 of file RpmPackageImpl.cc.

References _description, _disk_usage, and zypp::TranslatedText::setText().


Member Function Documentation

TranslatedText zypp::target::rpm::RPMPackageImpl::summary  )  const [virtual]
 

Package summary.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 71 of file RpmPackageImpl.cc.

References _summary.

TranslatedText zypp::target::rpm::RPMPackageImpl::description  )  const [virtual]
 

Package description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 75 of file RpmPackageImpl.cc.

References _description.

ByteCount zypp::target::rpm::RPMPackageImpl::size  )  const [virtual]
 

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 78 of file RpmPackageImpl.cc.

References _size.

Date zypp::target::rpm::RPMPackageImpl::buildtime  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 82 of file RpmPackageImpl.cc.

References _buildtime.

std::string zypp::target::rpm::RPMPackageImpl::buildhost  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 86 of file RpmPackageImpl.cc.

References _buildhost.

Date zypp::target::rpm::RPMPackageImpl::installtime  )  const [virtual]
 

Time of installation, or 0.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 90 of file RpmPackageImpl.cc.

References _installtime.

std::string zypp::target::rpm::RPMPackageImpl::distribution  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 94 of file RpmPackageImpl.cc.

Vendor zypp::target::rpm::RPMPackageImpl::vendor  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 99 of file RpmPackageImpl.cc.

References _vendor.

Label zypp::target::rpm::RPMPackageImpl::license  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 103 of file RpmPackageImpl.cc.

References _license.

std::string zypp::target::rpm::RPMPackageImpl::packager  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 107 of file RpmPackageImpl.cc.

References _packager.

PackageGroup zypp::target::rpm::RPMPackageImpl::group  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 111 of file RpmPackageImpl.cc.

References _group.

Changelog zypp::target::rpm::RPMPackageImpl::changelog  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 115 of file RpmPackageImpl.cc.

References _changelog.

Pathname zypp::target::rpm::RPMPackageImpl::location  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 119 of file RpmPackageImpl.cc.

References _location.

std::string zypp::target::rpm::RPMPackageImpl::url  )  const [virtual]
 

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 124 of file RpmPackageImpl.cc.

References _url.

std::string zypp::target::rpm::RPMPackageImpl::os  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 128 of file RpmPackageImpl.cc.

Text zypp::target::rpm::RPMPackageImpl::prein  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 133 of file RpmPackageImpl.cc.

Text zypp::target::rpm::RPMPackageImpl::postin  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 138 of file RpmPackageImpl.cc.

Text zypp::target::rpm::RPMPackageImpl::preun  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 143 of file RpmPackageImpl.cc.

Text zypp::target::rpm::RPMPackageImpl::postun  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 148 of file RpmPackageImpl.cc.

ByteCount zypp::target::rpm::RPMPackageImpl::sourcesize  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 153 of file RpmPackageImpl.cc.

ByteCount zypp::target::rpm::RPMPackageImpl::archivesize  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 158 of file RpmPackageImpl.cc.

References _archivesize.

std::list< std::string > zypp::target::rpm::RPMPackageImpl::authors  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 162 of file RpmPackageImpl.cc.

References _authors.

std::list< std::string > zypp::target::rpm::RPMPackageImpl::filenames  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 166 of file RpmPackageImpl.cc.

References _filenames.

std::string zypp::target::rpm::RPMPackageImpl::type  )  const [virtual]
 

Definition at line 170 of file RpmPackageImpl.cc.

References _type.

std::list< std::string > zypp::target::rpm::RPMPackageImpl::keywords  )  const [virtual]
 

Definition at line 174 of file RpmPackageImpl.cc.

References _keywords.

DiskUsage zypp::target::rpm::RPMPackageImpl::diskUsage  )  const [virtual]
 

Definition at line 178 of file RpmPackageImpl.cc.

References _disk_usage.

Source_Ref zypp::target::rpm::RPMPackageImpl::source  )  const [virtual]
 

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 182 of file RpmPackageImpl.cc.

References _source.

Referenced by setSource().

void zypp::target::rpm::RPMPackageImpl::setLocation const Pathname pathname  )  [inline]
 

for 'local' RPMs

Definition at line 101 of file RpmPackageImpl.h.

References _location.

void zypp::target::rpm::RPMPackageImpl::setSource Source_Ref  source  )  [inline]
 

Definition at line 102 of file RpmPackageImpl.h.

References _source, and source().


Member Data Documentation

TranslatedText zypp::target::rpm::RPMPackageImpl::_summary [protected]
 

Definition at line 105 of file RpmPackageImpl.h.

Referenced by summary().

TranslatedText zypp::target::rpm::RPMPackageImpl::_description [protected]
 

Definition at line 106 of file RpmPackageImpl.h.

Referenced by description(), and RPMPackageImpl().

Date zypp::target::rpm::RPMPackageImpl::_buildtime [protected]
 

Definition at line 107 of file RpmPackageImpl.h.

Referenced by buildtime().

Date zypp::target::rpm::RPMPackageImpl::_installtime [protected]
 

Definition at line 108 of file RpmPackageImpl.h.

Referenced by installtime().

std::string zypp::target::rpm::RPMPackageImpl::_buildhost [protected]
 

Definition at line 109 of file RpmPackageImpl.h.

Referenced by buildhost().

std::string zypp::target::rpm::RPMPackageImpl::_url [protected]
 

Definition at line 110 of file RpmPackageImpl.h.

Referenced by url().

Vendor zypp::target::rpm::RPMPackageImpl::_vendor [protected]
 

Definition at line 111 of file RpmPackageImpl.h.

Referenced by vendor().

Label zypp::target::rpm::RPMPackageImpl::_license [protected]
 

Definition at line 112 of file RpmPackageImpl.h.

Referenced by license().

std::string zypp::target::rpm::RPMPackageImpl::_packager [protected]
 

Definition at line 113 of file RpmPackageImpl.h.

Referenced by packager().

PackageGroup zypp::target::rpm::RPMPackageImpl::_group [protected]
 

Definition at line 114 of file RpmPackageImpl.h.

Referenced by group().

Changelog zypp::target::rpm::RPMPackageImpl::_changelog [protected]
 

Definition at line 115 of file RpmPackageImpl.h.

Referenced by changelog().

Pathname zypp::target::rpm::RPMPackageImpl::_location [protected]
 

Definition at line 116 of file RpmPackageImpl.h.

Referenced by location(), and setLocation().

std::string zypp::target::rpm::RPMPackageImpl::_type [protected]
 

Definition at line 117 of file RpmPackageImpl.h.

Referenced by type().

std::list<std::string> zypp::target::rpm::RPMPackageImpl::_authors [protected]
 

Definition at line 118 of file RpmPackageImpl.h.

Referenced by authors().

std::list<std::string> zypp::target::rpm::RPMPackageImpl::_keywords [protected]
 

Definition at line 119 of file RpmPackageImpl.h.

Referenced by keywords().

std::list<std::string> zypp::target::rpm::RPMPackageImpl::_filenames [protected]
 

Definition at line 120 of file RpmPackageImpl.h.

Referenced by filenames().

DiskUsage zypp::target::rpm::RPMPackageImpl::_disk_usage [protected]
 

Definition at line 121 of file RpmPackageImpl.h.

Referenced by diskUsage(), and RPMPackageImpl().

ByteCount zypp::target::rpm::RPMPackageImpl::_size [protected]
 

Definition at line 122 of file RpmPackageImpl.h.

Referenced by size().

ByteCount zypp::target::rpm::RPMPackageImpl::_archivesize [protected]
 

Definition at line 123 of file RpmPackageImpl.h.

Referenced by archivesize().

Source_Ref zypp::target::rpm::RPMPackageImpl::_source [protected]
 

Definition at line 124 of file RpmPackageImpl.h.

Referenced by setSource(), and source().


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:35 2006 for zypp by  doxygen 1.4.6