zypp::detail::PatchImpl Class Reference

Class representing a patch. More...

#include <PatchImpl.h>

Inheritance diagram for zypp::detail::PatchImpl:
[legend]

List of all members.

Public Member Functions

 PatchImpl ()
 Default ctor.
 ~PatchImpl ()
 Dtor.
virtual std::string id () const
 Patch ID.
virtual Date timestamp () const
 Patch time stamp.
virtual TranslatedText summary () const
 Patch summary.
virtual TranslatedText description () const
 Patch description.
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?

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?


Detailed Description

Class representing a patch.

Todo:
Get rid of string based ResKind detection in e.g. PatchImpl::interactive.

Definition at line 32 of file PatchImpl.h.


Constructor & Destructor Documentation

zypp::detail::PatchImpl::PatchImpl (  ) 

Default ctor.

Definition at line 34 of file PatchImpl.cc.

zypp::detail::PatchImpl::~PatchImpl (  ) 

Dtor.

Definition at line 38 of file PatchImpl.cc.


Member Function Documentation

std::string zypp::detail::PatchImpl::id (  )  const [virtual]

Patch ID.

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 41 of file PatchImpl.cc.

References _patch_id.

Date zypp::detail::PatchImpl::timestamp (  )  const [virtual]

Patch time stamp.

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 45 of file PatchImpl.cc.

References _timestamp.

TranslatedText zypp::detail::PatchImpl::summary (  )  const [virtual]

Patch summary.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 50 of file PatchImpl.cc.

References _summary.

TranslatedText zypp::detail::PatchImpl::description (  )  const [virtual]

Patch description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 55 of file PatchImpl.cc.

References _description.

std::string zypp::detail::PatchImpl::category (  )  const [virtual]

Patch category (recommended, security,.

..)

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 60 of file PatchImpl.cc.

References _category.

bool zypp::detail::PatchImpl::reboot_needed (  )  const [virtual]

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

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 65 of file PatchImpl.cc.

References _reboot_needed.

bool zypp::detail::PatchImpl::affects_pkg_manager (  )  const [virtual]

Does the patch affect the package manager itself?

Reimplemented from zypp::detail::PatchImplIf.

Definition at line 70 of file PatchImpl.cc.

References _affects_pkg_manager.


Member Data Documentation

std::string zypp::detail::PatchImpl::_patch_id [protected]

Patch ID.

Definition at line 58 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::id(), and id().

Date zypp::detail::PatchImpl::_timestamp [protected]

Patch time stamp.

Definition at line 60 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::timestamp(), and timestamp().

TranslatedText zypp::detail::PatchImpl::_summary [protected]

Patch summary.

Definition at line 62 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::summary(), and summary().

TranslatedText zypp::detail::PatchImpl::_description [protected]

Patch description.

Definition at line 64 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::description(), and description().

std::string zypp::detail::PatchImpl::_category [protected]

Patch category (recommended, security,.

..)

Definition at line 66 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::category(), and category().

bool zypp::detail::PatchImpl::_reboot_needed [protected]

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

Definition at line 68 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::reboot_needed(), and reboot_needed().

bool zypp::detail::PatchImpl::_affects_pkg_manager [protected]

Does the patch affect the package manager itself?

Definition at line 70 of file PatchImpl.h.

Referenced by zypp::repo::memory::PatchImpl::affects_pkg_manager(), and affects_pkg_manager().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:19 2007 for libzypp by  doxygen 1.5.3