zypp::detail::PatchImplIf Class Reference

Abstract Patch implementation interface. More...

#include <PatchImplIf.h>

Inheritance diagram for zypp::detail::PatchImplIf:

zypp::detail::ResObjectImplIf zypp::base::ReferenceCounted NonCopyable zypp::detail::PatchImpl zypp::source::yum::YUMPatchImpl zypp::storage::XMLPatchImpl List of all members.

Public Types

typedef Patch ResType
typedef std::list< ResObject::PtrAtomList

Public Member Functions

virtual std::string id () const PURE_VIRTUAL
 Patch ID.
virtual Date timestamp () const PURE_VIRTUAL
 Patch time stamp.
virtual std::string category () const PURE_VIRTUAL
 Patch category (recommended, security,.
virtual bool reboot_needed () const PURE_VIRTUAL
 Does the system need to reboot to finish the update process?
virtual bool affects_pkg_manager () const PURE_VIRTUAL
 Does the patch affect the package manager itself?
virtual ByteCount size () const
 Size.
virtual bool interactive () const PURE_VIRTUAL
 Is the patch installation interactive? (does it need user input?).
virtual AtomList all_atoms () const PURE_VIRTUAL
 The list of all atoms building the patch.

Detailed Description

Abstract Patch implementation interface.

Definition at line 35 of file PatchImplIf.h.


Member Typedef Documentation

typedef Patch zypp::detail::PatchImplIf::ResType
 

Definition at line 38 of file PatchImplIf.h.

typedef std::list<ResObject::Ptr> zypp::detail::PatchImplIf::AtomList
 

Definition at line 41 of file PatchImplIf.h.


Member Function Documentation

std::string zypp::detail::PatchImplIf::id  )  const [virtual]
 

Patch ID.

Reimplemented in zypp::detail::PatchImpl, zypp::source::yum::YUMPatchImpl, and zypp::storage::XMLPatchImpl.

Definition at line 26 of file PatchImplIf.cc.

Referenced by zypp::Patch::id().

Date zypp::detail::PatchImplIf::timestamp  )  const [virtual]
 

Patch time stamp.

Reimplemented in zypp::detail::PatchImpl, zypp::source::yum::YUMPatchImpl, and zypp::storage::XMLPatchImpl.

Definition at line 29 of file PatchImplIf.cc.

Referenced by zypp::Patch::timestamp().

std::string zypp::detail::PatchImplIf::category  )  const [virtual]
 

Patch category (recommended, security,.

..)

Reimplemented in zypp::detail::PatchImpl, zypp::source::yum::YUMPatchImpl, and zypp::storage::XMLPatchImpl.

Definition at line 32 of file PatchImplIf.cc.

Referenced by zypp::Patch::category().

bool zypp::detail::PatchImplIf::reboot_needed  )  const [virtual]
 

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

Reimplemented in zypp::detail::PatchImpl, zypp::source::yum::YUMPatchImpl, and zypp::storage::XMLPatchImpl.

Definition at line 35 of file PatchImplIf.cc.

Referenced by interactive(), and zypp::Patch::reboot_needed().

bool zypp::detail::PatchImplIf::affects_pkg_manager  )  const [virtual]
 

Does the patch affect the package manager itself?

Reimplemented in zypp::detail::PatchImpl, zypp::source::yum::YUMPatchImpl, and zypp::storage::XMLPatchImpl.

Definition at line 38 of file PatchImplIf.cc.

Referenced by zypp::Patch::affects_pkg_manager().

ByteCount zypp::detail::PatchImplIf::size  )  const [virtual]
 

Size.

Todo:
well define which size.

Reimplemented from zypp::detail::ResObjectImplIf.

Reimplemented in zypp::storage::XMLPatchImpl.

Definition at line 41 of file PatchImplIf.cc.

bool zypp::detail::PatchImplIf::interactive  )  const [virtual]
 

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

Definition at line 44 of file PatchImplIf.cc.

References all_atoms(), zypp::detail::ResObjectImplIf::licenseToConfirm(), and reboot_needed().

Referenced by zypp::Patch::interactive().

PatchImplIf::AtomList zypp::detail::PatchImplIf::all_atoms  )  const [virtual]
 

The list of all atoms building the patch.

Reimplemented in zypp::detail::PatchImpl, zypp::source::yum::YUMPatchImpl, and zypp::storage::XMLPatchImpl.

Definition at line 64 of file PatchImplIf.cc.

Referenced by zypp::Patch::atoms(), and interactive().


The documentation for this class was generated from the following files:
Generated on Thu Apr 24 02:25:09 2008 for zypp by  doxygen 1.4.6