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 =0
 Patch ID.
virtual Date timestamp () const =0
 Patch time stamp.
virtual std::string category () const =0
 Patch category (recommended, security,.
virtual bool reboot_needed () const =0
 Does the system need to reboot to finish the update process?
virtual bool affects_pkg_manager () const =0
 Does the patch affect the package manager itself?
virtual ByteCount size () const
 Size.
virtual bool interactive () const =0
 Is the patch installation interactive? (does it need user input?).
virtual AtomList all_atoms () const =0
 The list of all atoms building the patch.
virtual AtomList not_installed_atoms () const =0
 The list of those atoms which have not been installed.
virtual void mark_atoms_to_freshen (bool freshen)=0
virtual bool any_atom_selected () const =0

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

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

Patch ID.

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

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

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

Patch time stamp.

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

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

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

Patch category (recommended, security,.

..)

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

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

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

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

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

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

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

Does the patch affect the package manager itself?

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

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 26 of file PatchImplIf.cc.

References zypp::detail::ResObjectImplIf::size().

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

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

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

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

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

The list of all atoms building the patch.

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

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

virtual AtomList zypp::detail::PatchImplIf::not_installed_atoms  )  const [pure virtual]
 

The list of those atoms which have not been installed.

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

virtual void zypp::detail::PatchImplIf::mark_atoms_to_freshen bool  freshen  )  [pure virtual]
 

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

Referenced by zypp::Patch::mark_atoms_to_freshen(), and zypp::Patch::select().

virtual bool zypp::detail::PatchImplIf::any_atom_selected  )  const [pure virtual]
 

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

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


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6