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.
bool any_atom_selected () const
void mark_atoms_to_freshen (bool freshen)
Source_Ref source () const
 Installation source which provides the package.

Protected Attributes

std::string _patch_id
 Patch ID.
Date _timestamp
 Patch time stamp.
TranslatedText _summary
 Patch summary.
TranslatedText _description
 Patch description.
std::string _category
 Patch category (recommended, security,.
bool _reboot_needed
 Does the system need to reboot to finish the update process?
bool _affects_pkg_manager
 Does the patch affect the package manager itself?
AtomList _atoms
 The list of all atoms building the patch.

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, _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::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 111 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 115 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 127 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 132 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 137 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 142 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 185 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 189 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 120 of file YUMPatchImpl.cc.

References _summary.

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

Patch description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 123 of file YUMPatchImpl.cc.

References _description.

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

Implements zypp::detail::PatchImplIf.

Definition at line 205 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 218 of file YUMPatchImpl.cc.

References _atoms.

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

Installation source which provides the package.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 227 of file YUMPatchImpl.cc.

References _source.


Friends And Related Function Documentation

friend class YUMSourceImpl [friend]
 

Definition at line 90 of file YUMPatchImpl.h.


Member Data Documentation

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

Patch ID.

Definition at line 71 of file YUMPatchImpl.h.

Referenced by id(), and YUMPatchImpl().

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

Patch time stamp.

Definition at line 73 of file YUMPatchImpl.h.

Referenced by timestamp(), and YUMPatchImpl().

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

Patch summary.

Definition at line 75 of file YUMPatchImpl.h.

Referenced by summary(), and YUMPatchImpl().

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

Patch description.

Definition at line 77 of file YUMPatchImpl.h.

Referenced by description(), and YUMPatchImpl().

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

Patch category (recommended, security,.

..)

Definition at line 79 of file YUMPatchImpl.h.

Referenced by category(), and YUMPatchImpl().

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

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

Definition at line 81 of file YUMPatchImpl.h.

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

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

Does the patch affect the package manager itself?

Definition at line 83 of file YUMPatchImpl.h.

Referenced by affects_pkg_manager(), and YUMPatchImpl().

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

The list of all atoms building the patch.

Definition at line 85 of file YUMPatchImpl.h.

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

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

Definition at line 87 of file YUMPatchImpl.h.

Referenced by source(), and YUMPatchImpl().


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