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 ByteCount size () const
 Size.
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 bool installOnly () const
virtual unsigned mediaId () const
virtual CheckSum checksum () const
virtual std::list< DeltaRpmdeltaRpms () const
virtual std::list< PatchRpmpatchRpms () const
Source_Ref source () const
 Installation source which provides the package.

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
std::string _type
License _license_to_confirm
std::list< std::string > _authors
std::list< std::string > _keywords
unsigned _mediaid
CheckSum _checksum
std::list< std::string > _filenames
Pathname _location
std::list< DeltaRpm_delta_rpms
std::list< PatchRpm_patch_rpms
bool _install_only

Private Attributes

Source_Ref _source

Friends

class YUMSourceImpl

Detailed Description

Class representing a package.

Definition at line 38 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 _description, _filenames, _license_to_confirm, zypp::TranslatedText::asString(), zypp::parser::yum::YUMPrimaryData::description, zypp::parser::yum::YUMFileListData::files, zypp::parser::yum::YUMPrimaryData::license_to_confirm, and zypp::TranslatedText::setText().

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

Definition at line 94 of file YUMPackageImpl.cc.

References _description, _filenames, _license_to_confirm, zypp::TranslatedText::asString(), zypp::parser::yum::YUMPatchPackage::description, zypp::parser::yum::YUMPatchPackage::files, zypp::parser::yum::YUMPatchPackage::license_to_confirm, and zypp::TranslatedText::setText().


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.

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

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 206 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 211 of file YUMPackageImpl.cc.

References _buildtime.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 215 of file YUMPackageImpl.cc.

References _buildhost.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 219 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 223 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 228 of file YUMPackageImpl.cc.

References _vendor.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 232 of file YUMPackageImpl.cc.

References _license.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 236 of file YUMPackageImpl.cc.

References _packager.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 240 of file YUMPackageImpl.cc.

References _group.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 244 of file YUMPackageImpl.cc.

References _changelog.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 248 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 253 of file YUMPackageImpl.cc.

References _url.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 257 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 262 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 267 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 272 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 277 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 282 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 287 of file YUMPackageImpl.cc.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 292 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 296 of file YUMPackageImpl.cc.

References _filenames.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 299 of file YUMPackageImpl.cc.

References _license_to_confirm.

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::PackageImplIf.

Definition at line 310 of file YUMPackageImpl.cc.

References _install_only.

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

Reimplemented from zypp::detail::PackageImplIf.

Definition at line 313 of file YUMPackageImpl.cc.

References _mediaid.

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< 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< 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]
 

Installation source which provides the package.

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 225 of file YUMPackageImpl.h.


Member Data Documentation

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

Definition at line 186 of file YUMPackageImpl.h.

Referenced by summary().

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

Definition at line 187 of file YUMPackageImpl.h.

Referenced by description(), and YUMPackageImpl().

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

Definition at line 188 of file YUMPackageImpl.h.

Referenced by buildtime().

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

Definition at line 189 of file YUMPackageImpl.h.

Referenced by buildhost().

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

Definition at line 190 of file YUMPackageImpl.h.

Referenced by url().

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

Definition at line 191 of file YUMPackageImpl.h.

Referenced by vendor().

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

Definition at line 192 of file YUMPackageImpl.h.

Referenced by license().

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

Definition at line 193 of file YUMPackageImpl.h.

Referenced by packager().

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

Definition at line 194 of file YUMPackageImpl.h.

Referenced by group().

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

Definition at line 195 of file YUMPackageImpl.h.

Referenced by changelog().

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

Definition at line 196 of file YUMPackageImpl.h.

Referenced by type().

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

Definition at line 197 of file YUMPackageImpl.h.

Referenced by licenseToConfirm(), and YUMPackageImpl().

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

Definition at line 198 of file YUMPackageImpl.h.

Referenced by authors().

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

Definition at line 199 of file YUMPackageImpl.h.

Referenced by keywords().

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

Definition at line 200 of file YUMPackageImpl.h.

Referenced by mediaId().

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

Definition at line 201 of file YUMPackageImpl.h.

Referenced by checksum().

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

Definition at line 202 of file YUMPackageImpl.h.

Referenced by filenames(), and YUMPackageImpl().

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

Definition at line 203 of file YUMPackageImpl.h.

Referenced by location().

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

Definition at line 206 of file YUMPackageImpl.h.

Referenced by deltaRpms().

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

Definition at line 207 of file YUMPackageImpl.h.

Referenced by patchRpms().

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

Definition at line 209 of file YUMPackageImpl.h.

Referenced by installOnly().

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

Definition at line 221 of file YUMPackageImpl.h.

Referenced by source().


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