zypp::source::yum::YUMPackageImpl Class Reference

Class representing a package. More...

#include <YUMPackageImpl.h>

Inheritance diagram for zypp::source::yum::YUMPackageImpl:

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

Public Member Functions

 YUMPackageImpl (Source_Ref source_r, const zypp::parser::yum::YUMPrimaryData &parsed, const zypp::parser::yum::YUMFileListData &filelist, const zypp::parser::yum::YUMOtherData &other)
 Default ctor.
 YUMPackageImpl (Source_Ref source_r, const zypp::parser::yum::YUMPatchPackage &parsed)
virtual TranslatedText summary () const
 Package summary.
virtual TranslatedText description () const
 Package description.
virtual TranslatedText licenseToConfirm () const
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 bool installOnly () const
virtual unsigned sourceMediaNr () const
 Number of the source media that provides the data required for installation.
virtual CheckSum checksum () const
virtual std::list< DeltaRpmdeltaRpms () const
virtual std::list< PatchRpmpatchRpms () const
Source_Ref source () const
 Backlink to the source providing this.

Protected Attributes

TranslatedText _summary
TranslatedText _description
TranslatedText _license_to_confirm
Date _buildtime
std::string _buildhost
std::string _url
Vendor _vendor
Label _license
std::string _packager
PackageGroup _group
Changelog _changelog
std::string _type
std::list< std::string > _authors
std::list< std::string > _keywords
unsigned _mediaNumber
CheckSum _checksum
std::list< std::string > _filenames
Pathname _location
std::list< DeltaRpm_delta_rpms
std::list< PatchRpm_patch_rpms
bool _install_only
unsigned int _package_size
unsigned int _size

Private Attributes

Source_Ref _source

Friends

class YUMSourceImpl

Detailed Description

Class representing a package.

Definition at line 36 of file YUMPackageImpl.h.


Constructor & Destructor Documentation

zypp::source::yum::YUMPackageImpl::YUMPackageImpl Source_Ref  source_r,
const zypp::parser::yum::YUMPrimaryData parsed,
const zypp::parser::yum::YUMFileListData filelist,
const zypp::parser::yum::YUMOtherData other
 

Default ctor.

Definition at line 37 of file YUMPackageImpl.cc.

References _filenames, and zypp::parser::yum::YUMFileListData::files.

zypp::source::yum::YUMPackageImpl::YUMPackageImpl Source_Ref  source_r,
const zypp::parser::yum::YUMPatchPackage parsed
 

Definition at line 93 of file YUMPackageImpl.cc.

References _filenames, and zypp::parser::yum::YUMPatchPackage::files.


Member Function Documentation

TranslatedText zypp::source::yum::YUMPackageImpl::summary  )  const [virtual]
 

Package summary.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 199 of file YUMPackageImpl.cc.

References _summary.

TranslatedText zypp::source::yum::YUMPackageImpl::description  )  const [virtual]
 

Package description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 203 of file YUMPackageImpl.cc.

References _description.

TranslatedText zypp::source::yum::YUMPackageImpl::licenseToConfirm  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 207 of file YUMPackageImpl.cc.

References _license_to_confirm.

ByteCount zypp::source::yum::YUMPackageImpl::size  )  const [virtual]
 

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 211 of file YUMPackageImpl.cc.

References _size.

Date zypp::source::yum::YUMPackageImpl::buildtime  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 215 of file YUMPackageImpl.cc.

References _buildtime.

std::string zypp::source::yum::YUMPackageImpl::buildhost  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 219 of file YUMPackageImpl.cc.

References _buildhost.

Date zypp::source::yum::YUMPackageImpl::installtime  )  const [virtual]
 

Time of installation, or 0.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 223 of file YUMPackageImpl.cc.

std::string zypp::source::yum::YUMPackageImpl::distribution  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 227 of file YUMPackageImpl.cc.

Vendor zypp::source::yum::YUMPackageImpl::vendor  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 232 of file YUMPackageImpl.cc.

References _vendor.

Label zypp::source::yum::YUMPackageImpl::license  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 236 of file YUMPackageImpl.cc.

References _license.

std::string zypp::source::yum::YUMPackageImpl::packager  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 240 of file YUMPackageImpl.cc.

References _packager.

PackageGroup zypp::source::yum::YUMPackageImpl::group  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 244 of file YUMPackageImpl.cc.

References _group.

Changelog zypp::source::yum::YUMPackageImpl::changelog  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 248 of file YUMPackageImpl.cc.

References _changelog.

Pathname zypp::source::yum::YUMPackageImpl::location  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 252 of file YUMPackageImpl.cc.

References _location.

std::string zypp::source::yum::YUMPackageImpl::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 257 of file YUMPackageImpl.cc.

References _url.

std::string zypp::source::yum::YUMPackageImpl::os  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 261 of file YUMPackageImpl.cc.

Text zypp::source::yum::YUMPackageImpl::prein  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 266 of file YUMPackageImpl.cc.

Text zypp::source::yum::YUMPackageImpl::postin  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 271 of file YUMPackageImpl.cc.

Text zypp::source::yum::YUMPackageImpl::preun  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 276 of file YUMPackageImpl.cc.

Text zypp::source::yum::YUMPackageImpl::postun  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 281 of file YUMPackageImpl.cc.

ByteCount zypp::source::yum::YUMPackageImpl::sourcesize  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 286 of file YUMPackageImpl.cc.

ByteCount zypp::source::yum::YUMPackageImpl::archivesize  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 291 of file YUMPackageImpl.cc.

References _package_size.

std::list< std::string > zypp::source::yum::YUMPackageImpl::authors  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 295 of file YUMPackageImpl.cc.

References _authors.

std::list< std::string > zypp::source::yum::YUMPackageImpl::filenames  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 299 of file YUMPackageImpl.cc.

References _filenames.

std::string zypp::source::yum::YUMPackageImpl::type  )  const [virtual]
 

Definition at line 303 of file YUMPackageImpl.cc.

References _type.

std::list< std::string > zypp::source::yum::YUMPackageImpl::keywords  )  const [virtual]
 

Definition at line 307 of file YUMPackageImpl.cc.

References _keywords.

bool zypp::source::yum::YUMPackageImpl::installOnly  )  const [virtual]
 

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 310 of file YUMPackageImpl.cc.

References _install_only.

unsigned zypp::source::yum::YUMPackageImpl::sourceMediaNr  )  const [virtual]
 

Number of the source media that provides the data required for installation.

Zero, if no media access is required.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 313 of file YUMPackageImpl.cc.

References _mediaNumber.

CheckSum zypp::source::yum::YUMPackageImpl::checksum  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 316 of file YUMPackageImpl.cc.

References _checksum.

std::list< detail::PackageImplIf::DeltaRpm > zypp::source::yum::YUMPackageImpl::deltaRpms  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 319 of file YUMPackageImpl.cc.

References _delta_rpms.

std::list< detail::PackageImplIf::PatchRpm > zypp::source::yum::YUMPackageImpl::patchRpms  )  const [virtual]
 

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 322 of file YUMPackageImpl.cc.

References _patch_rpms.

Source_Ref zypp::source::yum::YUMPackageImpl::source  )  const [virtual]
 

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 325 of file YUMPackageImpl.cc.

References _source.


Friends And Related Function Documentation

friend class YUMSourceImpl [friend]
 

Definition at line 156 of file YUMPackageImpl.h.


Member Data Documentation

TranslatedText zypp::source::yum::YUMPackageImpl::_summary [protected]
 

Definition at line 117 of file YUMPackageImpl.h.

Referenced by summary().

TranslatedText zypp::source::yum::YUMPackageImpl::_description [protected]
 

Definition at line 118 of file YUMPackageImpl.h.

Referenced by description().

TranslatedText zypp::source::yum::YUMPackageImpl::_license_to_confirm [protected]
 

Definition at line 119 of file YUMPackageImpl.h.

Referenced by licenseToConfirm().

Date zypp::source::yum::YUMPackageImpl::_buildtime [protected]
 

Definition at line 120 of file YUMPackageImpl.h.

Referenced by buildtime().

std::string zypp::source::yum::YUMPackageImpl::_buildhost [protected]
 

Definition at line 121 of file YUMPackageImpl.h.

Referenced by buildhost().

std::string zypp::source::yum::YUMPackageImpl::_url [protected]
 

Definition at line 122 of file YUMPackageImpl.h.

Referenced by url().

Vendor zypp::source::yum::YUMPackageImpl::_vendor [protected]
 

Definition at line 123 of file YUMPackageImpl.h.

Referenced by vendor().

Label zypp::source::yum::YUMPackageImpl::_license [protected]
 

Definition at line 124 of file YUMPackageImpl.h.

Referenced by license().

std::string zypp::source::yum::YUMPackageImpl::_packager [protected]
 

Definition at line 125 of file YUMPackageImpl.h.

Referenced by packager().

PackageGroup zypp::source::yum::YUMPackageImpl::_group [protected]
 

Definition at line 126 of file YUMPackageImpl.h.

Referenced by group().

Changelog zypp::source::yum::YUMPackageImpl::_changelog [protected]
 

Definition at line 127 of file YUMPackageImpl.h.

Referenced by changelog().

std::string zypp::source::yum::YUMPackageImpl::_type [protected]
 

Definition at line 128 of file YUMPackageImpl.h.

Referenced by type().

std::list<std::string> zypp::source::yum::YUMPackageImpl::_authors [protected]
 

Definition at line 129 of file YUMPackageImpl.h.

Referenced by authors().

std::list<std::string> zypp::source::yum::YUMPackageImpl::_keywords [protected]
 

Definition at line 130 of file YUMPackageImpl.h.

Referenced by keywords().

unsigned zypp::source::yum::YUMPackageImpl::_mediaNumber [protected]
 

Definition at line 131 of file YUMPackageImpl.h.

Referenced by sourceMediaNr().

CheckSum zypp::source::yum::YUMPackageImpl::_checksum [protected]
 

Definition at line 132 of file YUMPackageImpl.h.

Referenced by checksum().

std::list<std::string> zypp::source::yum::YUMPackageImpl::_filenames [protected]
 

Definition at line 133 of file YUMPackageImpl.h.

Referenced by filenames(), and YUMPackageImpl().

Pathname zypp::source::yum::YUMPackageImpl::_location [protected]
 

Definition at line 134 of file YUMPackageImpl.h.

Referenced by location().

std::list<DeltaRpm> zypp::source::yum::YUMPackageImpl::_delta_rpms [protected]
 

Definition at line 135 of file YUMPackageImpl.h.

Referenced by deltaRpms().

std::list<PatchRpm> zypp::source::yum::YUMPackageImpl::_patch_rpms [protected]
 

Definition at line 136 of file YUMPackageImpl.h.

Referenced by patchRpms().

bool zypp::source::yum::YUMPackageImpl::_install_only [protected]
 

Definition at line 138 of file YUMPackageImpl.h.

Referenced by installOnly().

unsigned int zypp::source::yum::YUMPackageImpl::_package_size [protected]
 

Definition at line 140 of file YUMPackageImpl.h.

Referenced by archivesize().

unsigned int zypp::source::yum::YUMPackageImpl::_size [protected]
 

Definition at line 141 of file YUMPackageImpl.h.

Referenced by size().

Source_Ref zypp::source::yum::YUMPackageImpl::_source [private]
 

Definition at line 152 of file YUMPackageImpl.h.

Referenced by source().


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