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 bool providesSources () const
 Wheter there are src.rpm available too.
virtual Label instSrcLabel () const
virtual Vendor instSrcVendor () const
virtual Date buildtime () const
virtual std::string buildhost () const
virtual Date installtime () const
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 License licenseToConfirm () const
virtual std::string type () const
virtual std::list< std::string > keywords () const
virtual DiskUsage diskUsage () const
virtual Source_Ref source () const
 Installation source which provides the package.
void setLocation (const Pathname &pathname)
 for 'local' RPMs
void setSource (Source_Ref source)

Protected Attributes

TranslatedText _summary
TranslatedText _description
Date _buildtime
std::string _buildhost
std::string _url
Vendor _vendor
Label _license
std::string _packager
PackageGroup _group
Changelog _changelog
Pathname _location
std::string _type
License _license_to_confirm
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 70 of file RpmPackageImpl.cc.

References _summary.

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

Package description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 74 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 77 of file RpmPackageImpl.cc.

References _size.

bool zypp::target::rpm::RPMPackageImpl::providesSources  )  const [virtual]
 

Wheter there are src.rpm available too.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 80 of file RpmPackageImpl.cc.

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

Deprecated:

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 83 of file RpmPackageImpl.cc.

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

Deprecated:

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 86 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 90 of file RpmPackageImpl.cc.

References _buildtime.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 94 of file RpmPackageImpl.cc.

References _buildhost.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 98 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 102 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 107 of file RpmPackageImpl.cc.

References _vendor.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 111 of file RpmPackageImpl.cc.

References _license.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 115 of file RpmPackageImpl.cc.

References _packager.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 119 of file RpmPackageImpl.cc.

References _group.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 123 of file RpmPackageImpl.cc.

References _changelog.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 127 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 132 of file RpmPackageImpl.cc.

References _url.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 136 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 141 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 146 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 151 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 156 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 161 of file RpmPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 166 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 170 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 174 of file RpmPackageImpl.cc.

References _filenames.

License zypp::target::rpm::RPMPackageImpl::licenseToConfirm  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 177 of file RpmPackageImpl.cc.

References _license_to_confirm.

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

Definition at line 181 of file RpmPackageImpl.cc.

References _type.

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

Definition at line 185 of file RpmPackageImpl.cc.

References _keywords.

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

Definition at line 189 of file RpmPackageImpl.cc.

References _disk_usage.

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

Installation source which provides the package.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 193 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 105 of file RpmPackageImpl.h.

References _location.

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

Definition at line 106 of file RpmPackageImpl.h.

References _source, and source().


Member Data Documentation

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

Definition at line 109 of file RpmPackageImpl.h.

Referenced by summary().

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

Definition at line 110 of file RpmPackageImpl.h.

Referenced by description(), and RPMPackageImpl().

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

Definition at line 111 of file RpmPackageImpl.h.

Referenced by buildtime().

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

Definition at line 112 of file RpmPackageImpl.h.

Referenced by buildhost().

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

Definition at line 113 of file RpmPackageImpl.h.

Referenced by url().

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

Definition at line 114 of file RpmPackageImpl.h.

Referenced by vendor().

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

Definition at line 115 of file RpmPackageImpl.h.

Referenced by license().

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

Definition at line 116 of file RpmPackageImpl.h.

Referenced by packager().

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

Definition at line 117 of file RpmPackageImpl.h.

Referenced by group().

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

Definition at line 118 of file RpmPackageImpl.h.

Referenced by changelog().

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

Definition at line 119 of file RpmPackageImpl.h.

Referenced by location(), and setLocation().

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

Definition at line 120 of file RpmPackageImpl.h.

Referenced by type().

License zypp::target::rpm::RPMPackageImpl::_license_to_confirm [protected]
 

Definition at line 121 of file RpmPackageImpl.h.

Referenced by licenseToConfirm().

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

Definition at line 122 of file RpmPackageImpl.h.

Referenced by authors().

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

Definition at line 123 of file RpmPackageImpl.h.

Referenced by keywords().

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

Definition at line 124 of file RpmPackageImpl.h.

Referenced by filenames().

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

Definition at line 125 of file RpmPackageImpl.h.

Referenced by diskUsage(), and RPMPackageImpl().

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

Definition at line 126 of file RpmPackageImpl.h.

Referenced by size().

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

Definition at line 127 of file RpmPackageImpl.h.

Referenced by archivesize().

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

Definition at line 128 of file RpmPackageImpl.h.

Referenced by setSource(), and source().


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