zypp::source::yum::YUMPatchImpl Class Reference

Class representing a patch. More...

#include <YUMPatchImpl.h>

Inheritance diagram for zypp::source::yum::YUMPatchImpl:

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

Public Member Functions

 YUMPatchImpl (Source_Ref source_r, const zypp::parser::yum::YUMPatchData &parsed, YUMSourceImpl &srcimpl_r)
 Default ctor.
virtual std::string id () const
 Patch ID.
virtual Date timestamp () const
 Patch time stamp.
virtual std::string category () const
 Patch category (recommended, security,.
virtual bool reboot_needed () const
 Does the system need to reboot to finish the update process?
virtual bool affects_pkg_manager () const
 Does the patch affect the package manager itself?
virtual AtomList all_atoms () const
 The list of all atoms building the patch.
virtual TranslatedText summary () const
 Patch summary.
virtual TranslatedText description () const
 Patch description.
virtual TranslatedText licenseToConfirm () const
Source_Ref source () const
 Backlink to the source providing this.

Protected Attributes

std::string _patch_id
Date _timestamp
TranslatedText _summary
TranslatedText _description
std::string _category
bool _reboot_needed
bool _affects_pkg_manager
AtomList _atoms
TranslatedText _license_to_confirm

Private Attributes

Source_Ref _source

Friends

class YUMSourceImpl

Detailed Description

Class representing a patch.

Definition at line 35 of file YUMPatchImpl.h.


Constructor & Destructor Documentation

zypp::source::yum::YUMPatchImpl::YUMPatchImpl ( Source_Ref  source_r,
const zypp::parser::yum::YUMPatchData parsed,
YUMSourceImpl srcimpl_r 
)

Default ctor.

Bug:
CANT BE CONSTUCTED THAT WAY ANYMORE

Definition at line 45 of file YUMPatchImpl.cc.

References _affects_pkg_manager, _atoms, _category, _description, _license_to_confirm, _patch_id, _reboot_needed, _source, _summary, _timestamp, zypp::parser::yum::YUMPatchData::atoms, zypp::source::yum::YUMSourceImpl::augmentPackage(), zypp::parser::yum::YUMPatchData::category, zypp::source::yum::YUMSourceImpl::createMessage(), zypp::source::yum::YUMSourceImpl::createScript(), zypp::parser::yum::YUMPatchData::description, zypp::parser::yum::YUMObjectData::epoch, zypp::Rel::EQ, ERR, zypp::ResTraits< _Res >::kind, zypp::parser::yum::YUMPatchData::license_to_confirm, zypp::parser::yum::YUMObjectData::name, zypp::parser::yum::YUMPatchData::packageManager, zypp::CapFactory::parse(), zypp::parser::yum::YUMPatchData::patchId, zypp::parser::yum::YUMPatchData::rebootNeeded, zypp::parser::yum::YUMObjectData::rel, zypp::parser::yum::YUMPatchData::summary, zypp::parser::yum::YUMPatchData::timestamp, and zypp::parser::yum::YUMObjectData::ver.


Member Function Documentation

std::string zypp::source::yum::YUMPatchImpl::id (  )  const [virtual]

Patch ID.

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 115 of file YUMPatchImpl.cc.

References _patch_id.

Date zypp::source::yum::YUMPatchImpl::timestamp (  )  const [virtual]

Patch time stamp.

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 119 of file YUMPatchImpl.cc.

References _timestamp.

std::string zypp::source::yum::YUMPatchImpl::category (  )  const [virtual]

Patch category (recommended, security,.

..)

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 139 of file YUMPatchImpl.cc.

References _category.

bool zypp::source::yum::YUMPatchImpl::reboot_needed (  )  const [virtual]

Does the system need to reboot to finish the update process?

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 144 of file YUMPatchImpl.cc.

References _reboot_needed.

bool zypp::source::yum::YUMPatchImpl::affects_pkg_manager (  )  const [virtual]

Does the patch affect the package manager itself?

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 149 of file YUMPatchImpl.cc.

References _affects_pkg_manager.

YUMPatchImpl::AtomList zypp::source::yum::YUMPatchImpl::all_atoms (  )  const [virtual]

The list of all atoms building the patch.

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 154 of file YUMPatchImpl.cc.

References _atoms.

TranslatedText zypp::source::yum::YUMPatchImpl::summary (  )  const [virtual]

Patch summary.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 124 of file YUMPatchImpl.cc.

References _summary.

TranslatedText zypp::source::yum::YUMPatchImpl::description (  )  const [virtual]

Patch description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 129 of file YUMPatchImpl.cc.

References _description.

TranslatedText zypp::source::yum::YUMPatchImpl::licenseToConfirm (  )  const [virtual]

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 134 of file YUMPatchImpl.cc.

References _license_to_confirm.

Source_Ref zypp::source::yum::YUMPatchImpl::source (  )  const [virtual]

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 159 of file YUMPatchImpl.cc.

References _source.


Friends And Related Function Documentation

friend class YUMSourceImpl [friend]

Definition at line 78 of file YUMPatchImpl.h.


Member Data Documentation

std::string zypp::source::yum::YUMPatchImpl::_patch_id [protected]

Definition at line 65 of file YUMPatchImpl.h.

Referenced by id(), and YUMPatchImpl().

Date zypp::source::yum::YUMPatchImpl::_timestamp [protected]

Definition at line 66 of file YUMPatchImpl.h.

Referenced by timestamp(), and YUMPatchImpl().

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

Definition at line 67 of file YUMPatchImpl.h.

Referenced by summary(), and YUMPatchImpl().

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

Definition at line 68 of file YUMPatchImpl.h.

Referenced by description(), and YUMPatchImpl().

std::string zypp::source::yum::YUMPatchImpl::_category [protected]

Definition at line 69 of file YUMPatchImpl.h.

Referenced by category(), and YUMPatchImpl().

bool zypp::source::yum::YUMPatchImpl::_reboot_needed [protected]

Definition at line 70 of file YUMPatchImpl.h.

Referenced by reboot_needed(), and YUMPatchImpl().

bool zypp::source::yum::YUMPatchImpl::_affects_pkg_manager [protected]

Definition at line 71 of file YUMPatchImpl.h.

Referenced by affects_pkg_manager(), and YUMPatchImpl().

AtomList zypp::source::yum::YUMPatchImpl::_atoms [protected]

Definition at line 72 of file YUMPatchImpl.h.

Referenced by all_atoms(), and YUMPatchImpl().

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

Definition at line 73 of file YUMPatchImpl.h.

Referenced by licenseToConfirm(), and YUMPatchImpl().

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

Definition at line 75 of file YUMPatchImpl.h.

Referenced by source(), and YUMPatchImpl().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:40 2006 for zypp by  doxygen 1.5.0