zypp::Patch Class Reference

Class representing a patch. More...

#include <Patch.h>

Inheritance diagram for zypp::Patch:

zypp::ResObject zypp::Resolvable zypp::base::ReferenceCounted NonCopyable List of all members.

Public Types

typedef detail::PatchImplIf Impl
typedef Patch Self
typedef ResTraits< SelfTraitsType
typedef TraitsType::PtrType Ptr
typedef TraitsType::constPtrType constPtr
typedef Impl::AtomList AtomList

Public Member Functions

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?
AtomList atoms () const
 The list of all atoms building the patch.
bool interactive () const
 Is the patch installation interactive? (does it need user input?).
void mark_atoms_to_freshen (bool freshen)
bool any_atom_selected ()
void select ()

Protected Member Functions

 Patch (const NVRAD &nvrad_r)
 Ctor.
virtual ~Patch ()
 Dtor.

Private Member Functions

virtual Implpimpl ()=0
 Access implementation.
virtual const Implpimpl () const =0
 Access implementation.

Detailed Description

Class representing a patch.

Todo:
Patch::atoms can't be const, if Impl does not provide a const method. Check it.

Definition at line 32 of file Patch.h.


Member Typedef Documentation

typedef detail::PatchImplIf zypp::Patch::Impl
 

Reimplemented from zypp::ResObject.

Definition at line 35 of file Patch.h.

typedef Patch zypp::Patch::Self
 

Reimplemented from zypp::ResObject.

Definition at line 36 of file Patch.h.

typedef ResTraits<Self> zypp::Patch::TraitsType
 

Reimplemented from zypp::ResObject.

Definition at line 37 of file Patch.h.

typedef TraitsType::PtrType zypp::Patch::Ptr
 

Reimplemented from zypp::ResObject.

Definition at line 38 of file Patch.h.

typedef TraitsType::constPtrType zypp::Patch::constPtr
 

Reimplemented from zypp::ResObject.

Definition at line 39 of file Patch.h.

typedef Impl::AtomList zypp::Patch::AtomList
 

Definition at line 42 of file Patch.h.


Constructor & Destructor Documentation

zypp::Patch::Patch const NVRAD nvrad_r  )  [protected]
 

Ctor.

Definition at line 27 of file Patch.cc.

zypp::Patch::~Patch  )  [protected, virtual]
 

Dtor.

Definition at line 36 of file Patch.cc.


Member Function Documentation

std::string zypp::Patch::id  )  const
 

Patch ID.

Definition at line 45 of file Patch.cc.

References zypp::detail::PatchImplIf::id(), and pimpl().

Date zypp::Patch::timestamp  )  const
 

Patch time stamp.

Definition at line 48 of file Patch.cc.

References pimpl(), and zypp::detail::PatchImplIf::timestamp().

std::string zypp::Patch::category  )  const
 

Patch category (recommended, security,.

..)

Definition at line 51 of file Patch.cc.

References zypp::detail::PatchImplIf::category(), and pimpl().

bool zypp::Patch::reboot_needed  )  const
 

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

Definition at line 54 of file Patch.cc.

References pimpl(), and zypp::detail::PatchImplIf::reboot_needed().

bool zypp::Patch::affects_pkg_manager  )  const
 

Does the patch affect the package manager itself?

Definition at line 57 of file Patch.cc.

References zypp::detail::PatchImplIf::affects_pkg_manager(), and pimpl().

Patch::AtomList zypp::Patch::atoms  )  const
 

The list of all atoms building the patch.

Definition at line 60 of file Patch.cc.

References zypp::detail::PatchImplIf::all_atoms(), and pimpl().

bool zypp::Patch::interactive  )  const
 

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

Definition at line 63 of file Patch.cc.

References zypp::detail::PatchImplIf::interactive(), and pimpl().

void zypp::Patch::mark_atoms_to_freshen bool  freshen  ) 
 

Definition at line 66 of file Patch.cc.

References zypp::detail::PatchImplIf::mark_atoms_to_freshen(), and pimpl().

bool zypp::Patch::any_atom_selected  ) 
 

Definition at line 69 of file Patch.cc.

References zypp::detail::PatchImplIf::any_atom_selected(), and pimpl().

void zypp::Patch::select  ) 
 

Definition at line 72 of file Patch.cc.

References zypp::detail::PatchImplIf::mark_atoms_to_freshen(), and pimpl().

virtual Impl& zypp::Patch::pimpl  )  [private, pure virtual]
 

Access implementation.

Implements zypp::ResObject.

Referenced by affects_pkg_manager(), any_atom_selected(), atoms(), category(), id(), interactive(), mark_atoms_to_freshen(), reboot_needed(), select(), and timestamp().

virtual const Impl& zypp::Patch::pimpl  )  const [private, pure virtual]
 

Access implementation.

Implements zypp::ResObject.


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