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.
std::string id () const
 Patch ID.
Date timestamp () const
 Patch time stamp.
std::string category () const
 Patch category (recommended, security,.
bool reboot_needed () const
 Does the system need to reboot to finish the update process?
bool affects_pkg_manager () const
 Does the patch affect the package manager itself?
bool interactive () const
 Is the patch installation interactive? (does it need user input?).
AtomList all_atoms () const
 The list of all atoms building the patch.
AtomList not_installed_atoms () const
 The list of those atoms which have not been installed.
virtual TranslatedText summary () const
 Patch summary.
virtual TranslatedText description () const
 Patch description.
virtual TranslatedText licenseToConfirm () const
bool any_atom_selected () const
void mark_atoms_to_freshen (bool freshen)
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::parser::yum::YUMPatchData::description, zypp::parser::yum::YUMObjectData::epoch, zypp::Rel::EQ, 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.

Implements zypp::detail::PatchImplIf.

Definition at line 112 of file YUMPatchImpl.cc.

References _patch_id.

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

Patch time stamp.

Implements zypp::detail::PatchImplIf.

Definition at line 116 of file YUMPatchImpl.cc.

References _timestamp.

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

Patch category (recommended, security,.

..)

Implements zypp::detail::PatchImplIf.

Definition at line 130 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?

Implements zypp::detail::PatchImplIf.

Definition at line 135 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?

Implements zypp::detail::PatchImplIf.

Definition at line 140 of file YUMPatchImpl.cc.

References _affects_pkg_manager.

bool zypp::source::yum::YUMPatchImpl::interactive  )  const [virtual]
 

Is the patch installation interactive? (does it need user input?).

Implements zypp::detail::PatchImplIf.

Definition at line 145 of file YUMPatchImpl.cc.

References _reboot_needed, DBG, and not_installed_atoms().

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

The list of all atoms building the patch.

Implements zypp::detail::PatchImplIf.

Definition at line 188 of file YUMPatchImpl.cc.

References _atoms.

YUMPatchImpl::AtomList zypp::source::yum::YUMPatchImpl::not_installed_atoms  )  const [virtual]
 

The list of those atoms which have not been installed.

Implements zypp::detail::PatchImplIf.

Definition at line 192 of file YUMPatchImpl.cc.

References _atoms.

Referenced by interactive().

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

Patch summary.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 121 of file YUMPatchImpl.cc.

References _summary.

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

Patch description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 124 of file YUMPatchImpl.cc.

References _description.

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

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 127 of file YUMPatchImpl.cc.

References _license_to_confirm.

bool zypp::source::yum::YUMPatchImpl::any_atom_selected  )  const [virtual]
 

Implements zypp::detail::PatchImplIf.

Definition at line 208 of file YUMPatchImpl.cc.

References _atoms.

void zypp::source::yum::YUMPatchImpl::mark_atoms_to_freshen bool  freshen  )  [virtual]
 

Implements zypp::detail::PatchImplIf.

Definition at line 221 of file YUMPatchImpl.cc.

References _atoms.

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

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 230 of file YUMPatchImpl.cc.

References _source.


Friends And Related Function Documentation

friend class YUMSourceImpl [friend]
 

Definition at line 85 of file YUMPatchImpl.h.


Member Data Documentation

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

Definition at line 72 of file YUMPatchImpl.h.

Referenced by id(), and YUMPatchImpl().

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

Definition at line 73 of file YUMPatchImpl.h.

Referenced by timestamp(), and YUMPatchImpl().

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

Definition at line 74 of file YUMPatchImpl.h.

Referenced by summary(), and YUMPatchImpl().

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

Definition at line 75 of file YUMPatchImpl.h.

Referenced by description(), and YUMPatchImpl().

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

Definition at line 76 of file YUMPatchImpl.h.

Referenced by category(), and YUMPatchImpl().

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

Definition at line 77 of file YUMPatchImpl.h.

Referenced by interactive(), reboot_needed(), and YUMPatchImpl().

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

Definition at line 78 of file YUMPatchImpl.h.

Referenced by affects_pkg_manager(), and YUMPatchImpl().

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

Definition at line 79 of file YUMPatchImpl.h.

Referenced by all_atoms(), any_atom_selected(), mark_atoms_to_freshen(), not_installed_atoms(), and YUMPatchImpl().

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

Definition at line 80 of file YUMPatchImpl.h.

Referenced by licenseToConfirm(), and YUMPatchImpl().

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

Definition at line 82 of file YUMPatchImpl.h.

Referenced by source(), and YUMPatchImpl().


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